Game Development with Google Web Designer: Ninja Jump (2)

In this follow up tutorial I’ll show how to add some GWD API to make our game more logic and fun. With our previous project there is no collision detection and that’s why the game never ends. Also the simulated „physics engine“ is still crap as when you click on ‚jump‘ while the ninja is jumping, it restarts the jump imediately, which doesn’t make any sense. So we’ll add a global variable, where we can save the current jump state and handle the jump mechanism more logically. Have fun!

Download: Google Web Designer project

You can download a cheat sheet with the most useful GWD API calls here.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.