CHAPTER 11

image

Building a Sample Game: From Design to Completion

The projects included in the main sections of Chapters 1 to 10 began with simple shapes, slowly introducing characters and environments to illustrate the concepts in each chapter; those projects focused on individual behaviors and techniques (such as collision detection, object physics, lighting, and the like) but lacked the kind of structured challenges necessary for game mechanics. The projects in the “Design Considerations” sections demonstrate how to introduce the types of logical rules and challenges required to turn basic behaviors into well-formed mechanics. This chapter changes ...

Get Build Your Own 2D Game Engine and Create Great Web Games: Using HTML5, JavaScript, and WebGL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.