Jump to content

Prevent Click Event to fall through


 Share

Recommended Posts

I have a game where the user needs to touch to play, when the player loses it goes back to the main screen, where 

the player needs to touch again for the game starts. I delete the touch event when the player loses and create it new for the setup of

the main screen. Anyway, if you click fast in the game the event "falls through" to the main screen. How can i prevent this? I tried with timeout, but this gives me more crazy results.

Link to comment
Share on other sites

Can't you put a "Game Over" screen?

Show "Game Over", with a little animation (1 second) and then, activate the click event. So the player stops touching.

 

Or put a Start button of the main scrren in a different place so if the player is touching, it doesn't activate.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...