Summary

In this chapter, we finally jumped off the spring board we set up in the previous chapter, and dove headfirst into the very deep world of HTML5 game development. We started out by setting up the project structure used in constructing this game and discussed the main goals and objectives of the game. Next, we looked at each of the components used in the game and discussed how and why they were used. Finally, we look a deeper look at each of the HTML5 APIs, that make up each of these components, and looked at some code examples to make them work.

Since the complete source code for the game is fairly lengthy, we only took a brief peek at the main structure of the code, so that when you download the full source from Packt's website, the code looks somewhat familiar to you. Again, I want to remind you that because the focus of this book is not game development but rather HTML5, the methods and techniques used to make this game may or may not be the most optimal approach to game development. Although, the way this game was coded in pure HTML5, it works and performs great in any modern webkit-based browser. A discussion in game development as well as more sophisticated techniques is beyond the scope of the book.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.204.0