Fire Bullets Problem

harlin36harlin36 Member Posts: 101
edited January 2012 in Working with GS (Mac)
Hi all,
I'm sure this is pretty obvious to everyone else,but I have a fire button that I only want to fire one bullet per touch. At the moment I have a boolean
attribute called 'fire' which is set to false and is true when touch is pressed, but when I touch the button it fires bullets for as long as I have the button pressed until I release it.

How can I get it to fire one bullet at a time?

Cheers for any help!

Comments

Sign In or Register to comment.