Hello, I have a strange problem with my game. It's a single layout that uses a global variable to determine the level. So if the level is level 1 it shows animation frame 1. If it's level 5 it shows animation frame 5. The game works fine on desktop browser but when played on mobile browser I get a level skipping issue.
When you complete a level, the global variable gets 1 added to it. But when playing on mobile, its skips a level so I play level 0 (tutorial), then it jumps to level 2, then 4 occasionally it skips 3 levels and sometimes none at all. Usually it's 2.
This only happens when I tap the next level button. If I click to another layout and come back I get the next level.
Has anyone come across this before? Is it a timing issue or even a touch object issue adding to the Global? I can't see any issues in the debug when testing on browser. Any help would be very much appreciated.