Use CreateJS to build powerful and engaging HTML5 games for desktop and mobile.
Beginning HTML5 Games with CreateJS provides a hands-on approach to get you up and running with the most comprehensive tools available for HTML5 Canvas game development. Whether you are brand new to making games or an experienced game developer, you’ll learn to fully utilize the CreateJS suite to bring your new or existing game techniques to desktop and mobile devices.
It covers everything from creating graphics in HTML5 Canvas to capturing user input (whether from keyboard, mouse, or touch) to using a state machine for efficient game control. There are practical (and fun) examples throughout the book, with four full game projects, including a mobile RPG. The book also covers optimizing your games for mobile and publishing them to app stores.
HTML5 games are growing more and more popular, and the demand for HTML5 Canvas skills is on the rise. The CreateJS suite is a powerful toolset that will help you manage Canvas drawing and animations, asset loading, sound management, complex tweening, and much more. Using these robust libraries, you can build powerful and engaging games that reach a wide range of audiences and devices.
What you’ll learn
- HTML5 Canvas drawing and animations using EaselJS and TweenJS
- Loading and managing assets using PreloadJS
- Sound management using SoundJS
- Core game development techniques such as state machines and object pooling
- Wrapping HTML5 games and publishing them to app store
Table of Contents
Chapter 1. Getting to Know CreateJS
Chapter 2. Making and Animating Graphics
Chapter 3. Capturing User Input
Chapter 4. Game Project: Progressive Break-it
Chapter 5. Using and Managing Bitmap Images
Chapter 6. Sprites and Sprite Sheet Animations
Chapter 7. Game Project: Fakezee
Chapter 8. Extending EaselJS Display Objects
Chapter 9. Sounds and Asset Management
Chapter 10. The State Machine and Scenes
Chapter 11. Game Project: Space Hero
Chapter 12. Building for Mobile Browsers
Chapter 13. Packaging and Compiling with PhoneGap Build
Chapter 14. Game Project: The Villager RPG