Rapid fire based on finger position...
So, I'm trying to get my gun to respond to finger position so that when the finger is touching the iPhone glass, the gun will fire and follow the finger position. Currently, the gun only fires when you tap the gun which would probably start to hurt your finger after tapping it for a while.
I pretty much need a way to have the gun fire continuously when the finger is on the gun and follow the position of the finger as it moves.
I pretty much need a way to have the gun fire continuously when the finger is on the gun and follow the position of the finger as it moves.
Comments
if so you probably have when attribute = true or 1
-spawn bullet
Instead change it to:
When attribute =true
-timer EVERY 1 second
--then put your spawn behavior inside the timer thats inside the rule
cheers
This is a great example of a question to ask in Cookbook. Go check it out!