Timers doesn't work when the game is upload as Android app

Hello everyone,

I made this for my game.

It works in the preview, it works as HTML5 game but it doesn’t work on Android.

It is not a problem with the touch screen because I tried without the “mouse button pressed or touch held” condition, only with timers but it doesn’t work.

Does someone have an explication ?

What exactly doesn’t work?
Expected result VS actual result, please.

Sorry if I wasn’t clear.

I want this to work like dialogues. First sentence is shown then the timer is starting. When the timer is greater than 1 sec, it stop and the player need to touch the screen to go to the next sentence and to resume the timer. The problem on Android is that it is blocked. You touch the screen but nothing happened.

Add a debug text object, and show the timer’s value in it, it will help you understand what’s going on.
Modify text action, set to ToString(TimerElapsedTime(TimerName)).
On a side note, Trigger once should always be at the bottom.

Thank you for your help. The debug text object helped me a lot. Everything is working fine now. (Sorry for this approximative english).

1 Like