Game over Scene problems with the buttons

Hi I’ve been experiencing problems on the game and is that once the player dies and the game over scene appears on android the buttons won’t work. Here is how I put them on the events.


How I’m suppose to make them work??

So, the buttons work on computer but not on touch screen ?

Yes, it won’t work on the phone and I don’t know why

So the only thing I did was to change the action of the button 4 to the ID instead of the Main menu, but after the animation of the ID finishes it goes directly to the game and not to the main menu.
This is the ID


This is the main menu

Try this

  1. create a new event and check if the device is not mobile without action
  2. then move the cursor/touch is on button1 and touch or left mouse button is down as sub event of event you created on step 1.
  3. create new event and check if the device now is a mobile device, but this time add an action deactivate multitouch (set to no)
  4. then move the cursor/touch is on button1 as sub event of event you created on step 3.
    and delete touch or left mouse button is down

Can you send me a screenshot of how its suppose to be arranged? Because I’m new at this and can’t follow.

This one is for the conditions if only if the device is not a mobile then run this one.

This one is for the conditions if only if the device is a mobile then run this one.

This is what I did to my current game,
Basically what I did here is that I created an events separated for both mobile devices and not mobile devices.

THANKS A LOT!!! IT WORKED!!! So that means that means if I’m going to do another game I have to do 2 different events?

Yeah if the case is you want it to work on both mobile devices and laptop/computer devices.

1 Like