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.

Get HTML5 Game Development by Example : Beginner's Guide - Second Edition 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.