December 2013
Intermediate to advanced
480 pages
14h 11m
English
The goal of this chapter was to create a simple game by creating a Windows Store app. I showed you how to create image and sound files for the game and I showed you how to render the images using the HTML5 Canvas element.
You also learned how to create both an update loop and a render loop. The update loop is used to update the positions of the monsters and player on the game board. The render loop is used to render the game board by calling the requestAnimationFrame() method to draw the image tiles.
Good luck winning the game! If you win the game, you get to hear my children cheer.
Read now
Unlock full access