Build your own 2D Game Engine, Second Edition

It is recommended that you run the following examples with a Google Chrome Web Browser.

Useful Links

Additional Functionality


Chapter 1: Introduction

Chapter 2: Working with HTML5 and WebGL

Chapter 3: Drawing objects in the World

Chapter 4: Implementing Common Components of Video Games

Chapter 5: Working with Textures, Sprites, and Fonts

Chapter 6: Defining Behaviors and Detecting Collisions

Chapter 7: Manipulating the Camera

Chapter 8: Implementing Illumination and Shadow

Chapter 9: Rigid Shapes and Physics

Chapter 10: Particles and Particle Systems

Chapter 11: Supporting Camera Background

Chapter 12: Building a Prototype Game From Design

Games Based On Previous Version of This Game Engine