Develop games using the JavaScript web scripting language. This compact short book will help you learn how to use modern JavaScript to make games for web browsers. Theyre effortless to use and they work everywhere. If youve ever wanted to make a game, join author Christopher Pitt. Youll start with nothing and build fun games, in no time at all.
What You'll Learn
- Make a game using JavaScript
- Master the game loop
- Handle player input, collision detection, gravity, ladders, and stairs
- Work with camera locking, mobs, and health
- Manage game inventory
- Handle mapping and more
Who This Book Is For
Those who are new to game development with some experience with JavaScript and web development.
1. Introduction
2. The Game Loop
3. Player Input
4. Collision Detection
5. Gravity
6. Ladders
7. Stairs
8. Camera Locking
9. Projectiles
10. Mobs
11. Health
12. Checkpoints
13. Inventory
14. Maps
Christopher Pitt is a developer and writer, working at SilverStripe. He usually works on application architecture, though sometimes youll find him building compilers or robots.A unique compact short book on making games with the JavaScript programming language
Shows readers how to quickly build glC<