Book description
Making video games is hard work that requires technical skills, a lot of planning, and—most critically—a commitment to completing the project. With this hands-on guide, you’ll learn step-by-step how to create a real 2D game from start to finish. In the process, you’ll use Impact, the JavaScript game framework that works with HTML5’s Canvas element.
Table of contents
- Preface
- 1. Introduction To Impact
- 2. Working With Sprites
- 3. Introduction To Game Design
-
4. Building A Game
- Creating Our First Level
- Saving/Loading Maps in Weltmeister
- CollisionMaps
- The Main Class
- Customizing the Main Class
- Key Binding
- Creating the Player Class
- Creating a Monster Class
- Collision Detection
- type Property
- checkAgainst Property
- collides Property
- Health
- Weapons
- Firing the Weapon
- Add Multiple Weapons
- Killing Entities
- Respawning the Player
- Create Death Animations
- Adding Grenade Explosions
- Customizing the Camera
- Loading New Levels
- 5. Working With Text
- 6. Working With Sound
- 7. Creating Game Screens and HUDs
- 8. Debugging Your Game
- 9. Publishing to Windows 8
- 10. Wrapping Up
- About the Author
- Dedication
- A Note Regarding Supplemental Files
- Copyright
Product information
- Title: Building HTML5 Games with ImpactJS
- Author(s):
- Release date: February 2012
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449315177
You might also like
book
HTML5 Game Development Insights
HTML5 Game Development Insights is a from-the-trenches collection of tips, tricks, hacks, and advice straight from …
book
Pro Vue.js 2
Explore Vue.js to take advantage of the capabilities of modern browsers and devices using the fastest-growing …
book
Professional HTML5 Mobile Game Development
Create mobile game apps for the lucrative gaming market If you're an experienced developer seeking to …
video
Unity Android — Build Eight Mobile Games with Unity and C#
For game developers, the Android Play Store is no longer an evolving market but an established …