Log In  

I'm trying to make a rhthm-based game, and although the timing looks OK both on pico-8 and in my computer after exported in HTML, when running it through my cellphone everything has ~300ms delay, which ruins the experience.

I've done a very simple cartridge to test the timing - Try to press X to follow the rhythm. Again, on my desktop computer it's fine, but when running it on a cellphone the timing is definetly off.

I've debugged a bit, trying to see if it's some lag added by the browser on cellphones to detect gestures, but the same function that sets the button as on is triggered as soon as it's pressed down. It looks like the delay happens in between the buttons JS variable and pico-8 runtime.

Is there an alternative way of getting input with close to no lag or it's just the browser export? Any way to fix it?

Cart #wozowopema-0 | 2022-02-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#106396 2022-02-05 20:56 ( Edited 2022-02-05 20:57)


[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-16 13:49:12 | 0.010s | Q:15