Pro HTML5 Games

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Build your next game on a bigger scale with Pro HTML5 Games. This book teaches you the essentials of advanced game programming in HTML5. You'll learn techniques that you can transfer to any area of HTML5 game development to make your own professional HTML5 games!

Led by an expert game programmer, you'll build two complete games in HTML5: a strategy puzzle game based on the Box2d physics engine and in the style of Angry Birds and a real-time strategy (RTS) game complete with units, buildings, path-finding, artificial intelligence, and multiplayer support. In the process, you'll learn how to do the following:

  • Create realistic physics in your game by incorporating the Box2d physics engine
  • Design large worlds with lots of characters and let users interact with them
  • Use sprite sheets, panning, parallax scrolling, and sound effects to build a more polished game
  • Incorporate pathfinding and steering to help characters navigate through your world
  • Create challenging levels with intelligent enemies by using decision trees, state machines, and scripted events
  • Add multiplayer in your games using Node.js and the WebSocket API

This book will help you take your HTML5/JavaScript programming experience to the next level. It gives you the knowledge and skills you need to develop more complex, bolder games and become an HTML5 games pro.

Author(s): Aditya Ravi Shankar (auth.)
Edition: 1
Publisher: Apress
Year: 2012

Language: English
Pages: 364
Tags: Computer Science, general

Front Matter....Pages i-xviii
HTML5 and JavaScript Essentials....Pages 1-18
Creating a Basic Game World....Pages 19-38
Physics Engine Basics....Pages 39-64
Integrating The Physics Engine....Pages 65-99
Creating the RTS Game World....Pages 101-124
Adding Entities to Our World....Pages 125-163
Intelligent Unit Movement....Pages 165-194
Adding More Game Elements....Pages 195-230
Adding Weapons and Combat....Pages 231-262
Wrapping Up the Single-Player Campaign....Pages 263-292
Multiplayer with WebSockets....Pages 293-317
Multiplayer Gameplay....Pages 319-339
Back Matter....Pages 341-345