How to create a rotating crank for a Puppet Bird style game.

Posted on 18th Jun 2021. Follow @phaser_ and get the Phaser World newsletter.


Emanuele Feronato writes: "Some years ago I had a couple of hours of fun playing Puppet Bird, a game in the Flappy Bird family, which unfortunately seems to be no longer available on the stores, but if you do not know the game, here it is a video of the gameplay.

You control a little string-secured puppet with a wheel at the bottom of the screen and move it through a moving obstacle course.

In this first part, we’ll build a prototype to move the character in this original way.

The core of the concept is you must drag to rotate a wheel, or a crank, and since there is no need to reinvent the wheel, there is an interesting plugin by rexrainbow at this page.

This is what I was able to build in about 50 lines of code ..."

Read More

Learn to code and lead your intrepid crew on a mission to save The Cloud in TwilioQuest, a PC role-playing game inspired by classics of the 16-bit era. Free forever, and available now for Windows, Mac, and Linux.

The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
  • By Emanuele Feronato
  • 155 Pages
  • 28 Source Code Examples
  • Build a complete game from start to finish
  • Cross Platform
  • Scaling for devices
Buy Now