Or if I want to adjust a rate of fire so if I “shoot”, I have to wait a certain amount of time before I can “shoot” again…
Can anyone explain how to?
Or if I want to adjust a rate of fire so if I “shoot”, I have to wait a certain amount of time before I can “shoot” again…
Can anyone explain how to?
if you want just one shot active at a time, check it’s _y (supposing the “bullet”-clip goes upwards) and set a falg to false as long as the _y has not reached 0 (top of scene), then set it to true , and before you allow for shoot, check the flag variables value to see if true (= new shoot) or false (= not yet).
Does that answer your question?
I’m not sure you understood what I ment exactly…
Lets say it’s a FPS (First Person Shooter) game and my weapon is a shotgun… Now after every shot There’s this @#%$ animation. How can I prevent the user from shooting while the animation plays?
Dam** *n… EZboard censored that word…
I ment c *ock.
:: Copyright KIRUPA 2024 //--