CHAPTER 14

image

Game Project: The Villager RPG

In this chapter, a turn-based RPG game will be built using the lessons learned in this book. The goal for this game is to use RPG-like battle patterns to create a level-based game that can be deployed and scaled across multiple devices. The skills you have already acquired from earlier in this book will be used throughout this chapter, and a few new techniques will be introduced including creating custom events and saving the player’s progress using local storage.

There is quite a bit of code in this project, so before getting into it, a quick review of the game you will be building is necessary.

The ...

Get Beginning HTML5 Games with CreateJS 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.