Book Image

HTML5 Game Development by Example: Beginner's Guide

By : Seng Hin Mak
Book Image

HTML5 Game Development by Example: Beginner's Guide

By: Seng Hin Mak

Overview of this book

Table of Contents (18 chapters)
HTML5 Game Development by Example Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
9
Building a Physics Car Game with Box2D and Canvas
Index

Replacing the Box2D outline drawing with graphics


We have created a game that is at least playable with several levels. However, they are just some outline boxes. We cannot even distinguish between the destination body and other ground bodies in the game. Imagine now that the destination is a racing flag and there is a car graphic to represent it. This will make the game's purpose clearer.