hi,
I have a on screen button (touch screen button, wm), when i press the button a actor appears (bullet).
The problem i am having is that it u press or hold the button unlimited bullets are created.
I need the code to either make a delay between the creation of bullets (after one is made, the button wont make another for 1 sec) or to allow only one bullet (bullet actor) to be created at on screen (so bullet would need to be destroyed before the button would make another).
if anyone can help i would appreciate it