Dont fire when click touch a button on the screen

decaoeudecaoeu PRO Posts: 61
edited June 2012 in Working with GS (Mac)
Guys, i creating a game where the player can shot based on the touch ( mouse click ), so when you click in any place of the screen a bullet spawn.

But i creating a system where the player can choose between different types of bullets, so i create icon's so player click on the icon and then the bullet type changes, the problem is that when the player clicks on the ICON, a new bullet spawn every time.

Is there a way to solve that, and make the player not fire when selecting a new type of bullet.

Answers

  • jmagnessjmagness Member Posts: 9
    Without seeing your code, I would assume that you should put a rule in your firing actor, that says only fire when touch is pressed in "this area" which could be anywhere other than the place you have your bullet choice actor. Again, really hard to say without seeing your code.
Sign In or Register to comment.