[Phaser 3] Flappy Tours 2

I have rewritten / improved one of my first games (a flappy clone) made with phaser 2, using phaser 3.
Play link: https://jjcapellan.github.io/flappytours2/
Source link: https://github.com/jjcapellan/flappytours2/

Captura de pantalla_2020-01-14_14-43-37
Captura de pantalla_2020-01-14_14-45-40
About the game:
The goal is to move forward without hitting the pipes. The duck flies by clicking or touching the screen.
The gap between the pipes narrows progressively to the pipe 40. From there the difficulty is constant.

About the development:
One of the things I missed in Phaser 3 was the autoscroll of the tilesprites available in Phaser 2. Although I could use tileposition, I opted for an “old school” solution using a blitter for performance reasons.
The movement of the pipes is determined by the physics engine, while the foreground and mountain positions are calculated in the update() using the deltaTime. From time to time a small lag is appreciated in the movement of the pipes, I suppose related to the physics engine (I have to check it).

I hope you like it.

4 Likes

Thank you @PBMCube.

I have synchronized physics to the render fps, and now the movement of the pipes is smoother.
Along the way I ran into some problem with the latest Phaser versions (issue).

Regards.