So in my game I have a stamina meter which needs to be filled to 100% before the player can dash. The way I have it set up is I have a gadget on the map that checks the player's stamina to see if it's under 100 and if it is it fills the meter by 10 every .1 seconds.
I was wondering if there was a different way to do this. The reason I'm concerned with my way is because I'm worried this way may cause lag. Thanks in advanced for any help.
I was wondering if there was a different way to do this. The reason I'm concerned with my way is because I'm worried this way may cause lag. Thanks in advanced for any help.