Summary

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.

Get Windows® 8.1 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.