Book description
Want to start building great web games with HTML5 and JavaScript? Moving from Flash or other game platforms? Already building HTML5 games and want to get better and faster at it? This guide brings together everything you need: expert guidance, sample projects, and working code!
Evan Burchard walks you step-by-step through quickly building 10 popular types of games. Each chapter implements a game within a well-understood genre; introduces a different free, open source, and easy-to-use HTML5 game engine; and is accompanied with full JavaScript source code listings.
Each game recipe uses tested and well-proven patterns that address the development challenges unique to that genre, and shows how to use existing tools and engines to build complete substantial game projects in just hours. Need a quick JavaScript primer? Evan Burchard provides that, too!
Coverage includes
Mastering an essential HTML5/JavaScript game development toolset: browser, text editor, terminal,¿JavaScript console, game engine, and more
Accelerating development with external libraries and proven patterns
Managing browser differences between IE, Firefox, and Chrome
Getting up to speed on web development with a QUIZ game built with JavaScript, HTML, CSS, and JQuery
Creating INTERACTIVE FICTION “gamebooks” that leverage new CSS3 features and impress.js
Building PARTY games around the lightweight atom.js engine
Developing PUZZLE games with the easel.js graphics rendering engine
Writing PLATFORMERS with melon.js and its integrated tilemap editor
Coding intense 2-player FIGHTING games for web browsers with game.js
Building a SPACE SHOOTER with the jQuery-based gameQuery game engine
Implementing pseudo-3D techniques like ray casting for an FPS (First Person Shooter) style game
Producing a 16 bit RPG (Role Playing Game) complete with interfaces for dialog, inventories, and turn-based battles with enchant.js
Building an isometric RTS (Real Time Strategy) game that incorporates server components along with¿ node.js, socket.io, and crafty.js
Engaging players with content that encourages exploration
Turn to The Web Game Developer’s Cookbook for proven, expert answers–and the code you need to implement them. It’s all you need to jumpstart any web game project!
Table of contents
- Title Page
- Copyright Page
- Praise for The Web Game Developer’s Cookbook
- Dedication Page
- Contents
- Preface
- Acknowledgments
- About the Author
- Introduction
- Chapter 1. Quiz
- Chapter 2. Interactive Fiction
- Chapter 3. Party
- Chapter 4. Puzzle
-
Chapter 5. Platformer
- Getting Started with melon.js
- Recipe: Creating a Tiled Map
- Recipe: Starting the Game
- Recipe: Adding a Character
- Recipe: Building a Collision Map
- Recipe: Walking and Jumping
- Recipe: Title Screen
- Recipe: Adding Collectables
- Recipe: Enemies
- Recipe: Powerups
- Recipe: Losing, Winning, and Information
- Summary
- Chapter 6. Fighting
- Chapter 7. Shooter
- Chapter 8. FPS
-
Chapter 9. RPG
- Recipe: Getting Started with enchant.js
- Recipe: Creating a Map
- Recipe: Adding the Player
- Recipe: Adding a Collision Layer
- Recipe: Status Screen
- Recipe: Talking to NPCs
- Recipe: Creating an Inventory
- Recipe: Creating a Shop
- Recipe: Creating a Battle Interface
- Recipe: Saving Your Game with HTML5’s Local Storage API
- Summary
- Chapter 10. RTS
- Chapter 11. Leveling Up
- Appendix A. JavaScript Basics
- Appendix B. Quality Control
- Appendix C. Resources
- Index
Product information
- Title: The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games
- Author(s):
- Release date: March 2013
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780133358711
You might also like
book
The Advanced Game Developer's Toolkit: Create Amazing Web-based Games with JavaScript and HTML5
Master the most important skills and techniques you need to know for professional HTML5 and JavaScript …
book
Building a 2D Game Physics Engine: Using HTML5 and JavaScript
Build your very own 2D physics-based game engine simulation system for rigid body dynamics. Beginning from …
book
The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript
Gain a deep, practical knowledge of HTML and JavaScript that will provide an introduction to programming …
book
HTML5 and JavaScript Projects: Build on your Basic Knowledge of HTML5 and JavaScript to Create Substantial HTML5 Applications
Build on your basic knowledge of HTML5 and JavaScript to create substantial HTML5 applications. Through the …