JordyMoos / elm-pixel-boulder-game

Pixel Boulder Game in Elm
https://jordymoos.github.io/elm-pixel-boulder-game/?startLevel=official%2F001&hideDebug=1
MIT License
41 stars 6 forks source link

Player often walks two tiles instead of one on mobile #156

Closed JordyMoos closed 5 years ago

JordyMoos commented 5 years ago

With the higher fps I also let the actors walk a bit faster in comparison then before. To give the game a faster and smoother look.

The downside is that on mobile the player sometimes walks two tiles instead of the intended 1. The problem is that it takes some time between touch Down and Up events and with the faster walking player that time is too long. I can not magically make the Up event come earlier. But I can slow down the Down event.

Possible solutions:

JordyMoos commented 5 years ago

Wont fix