Build interactive games with HTML, DOM, and the CreateJS game library Whether you are familiar with the basics of object-oriented programming concepts, are new to HTML game development, or are familiar with just web design, this project-based book will get you up and running in no time. It will teach and inspire you to create great interactive content on the Web. This book will show you how to create stunning cross-browser games without the need for Flash or other plugins. Learn about Box2D, DOM elements, the EaselJS framework, and more, all providing a foundation of knowledge to expand your game-creating skills. With in-depth explanations and step-by-step instructions, you will finish this book feeling confident about building great games with HTML. Whether you are familiar with the basics of object-oriented programming concepts, are new to HTML game development, or are familiar with just web design, this project-based book will get you up and running in no time. It will teach and inspire you to create great interactive content on the Web.
At the beginning of August 2014 I have started to read the book HTML5 Games Development by Example, provided to me kindly by Packt Publishing.
You do not need to be a pro developer to make use of the book - it presents step by step the development of the games with HTML. Each chapter is divided into several sub-chapters and the code for each sub-chapter is given. Thus, you may be able to go with the author, checking the code and seeing what he actually meant.
To make the story fascinating, the games are really interesting (if you are a developer, not a gamer). Here is a list of the 8 games:
1. A CSS Quest Game 2. Card Battle 3. Space Runner 4. Multiply Defense 5. Building an Isometric City 6. Space Defenders 7. Ball-shooting with Physics Engine (Basketball) 8. Sushi Shop
Let's go back to the book - what level of HTML do you need in advance? My opinion is that at least a basic level of HTML is needed, otherwise you will get into trouble. The book even touches object oriented programming (OOP), and although it describes it quite into detail, this is probably not a subject for a beginner. Anyway, if you are definitely into games and you are not a quitter you may go through the book successfully.
A good plus is the structure - the author gives us a mission briefing, objectives and checklist for each of the games. Thus, separating the tasks into smaller details, you learn how to deal with a complex problem step-by-step. As mentioned earlier, the book provides the code for these steps separately - you do not obtain only the big project with 1000+ lines of code, where it is quite easy to lose yourself. This is an approach I like. At the end of each chapter, you can kindly give yourself a treat, by playing the game you have created. Trust me, there is nothing more challenging than playing a game, which you have built by yourself (copied code counts as well :) )
Last but not least - there are a lot of things in game development, which can be used in the so-called "Real Projects". Making a status bar and dealing with OOP and variables is just the start.