Flappigtrail v0.1.2


Hi there :)

So I have patched the dimensions for both the desktop and mobile versions so that smaller resolution desktops and iPhones can run the game properly.

Otherwise, I have been spending a lot of energy on making the game run properly for 60 FPS (my desktop runs at 144 FPS, rate for which I made the game, and a recent and decent Android--not on power saving mode--should be able to run the game at 120 FPS, which works well for the game).

I have tried the (1 / deltaTime) route, where deltaTime is the timelength of a single frame (i.e. deltaTime60FPS > deltaTime144FPS):

player_dy = BASE_JUMP_HEIGHT * (BASE_FPS / (1 / deltaTime));  // applyJump; note that BASE_FPS == 144

player_dy += gravity * (BASE_FPS / (1 / deltaTime));  // applyGrav

Please comment if you have any idea lol

Files

Flappigtrail.zip Play in browser
56 days ago

Leave a comment

Log in with itch.io to leave a comment.