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

ninjajump

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.

0 I like it
0 I don't like it

Leave a Reply

Your email address will not be published. Required fields are marked *

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.