Problem with touch release function.

GLGAMESGLGAMES SingaporeMember Posts: 988
edited January 2012 in Working with GS (Mac)
I'm working on my interface and the buttons using touch release seems to be activating on it's own.
I believe it's because i only use when touch release so every now n then a button will activate on its own.
Anyone can help to make it work so that it only activates when i release that particular button after touch?
Here's a video of what i have.



Comments

  • GLGAMESGLGAMES SingaporeMember Posts: 988
    No one with a solution ??
  • birdboybirdboy Member Posts: 284
    Hey GLGames

    That's because the system remembers your touch as being released. 'when touch is released' doesn't mean the point of time when you release the touch but the whole time after the release until you touch it again. I'd add a boolean that turns true when touch is pressed and otherwise turns false. Now change the touch released function to only activate when the boolean is true.
    That's how i do it in my games but i can't assure that it is the best solution. ^^
Sign In or Register to comment.