HTML5 Racer - Adding a Track and Colliding with it
I began building a very simple HTML5 racer game back in November. It was my first exploration in to doing simple games with HTML5 and canvas.
It has lay dormant for a while, I’m going to take it another step further and put the car on a track in this article and inflict some speed drag when the car is not on the track.
In this series:
A track
So open up your fave image package and draw a track. I searched for the Silverstone Circuit and simplified it a bit. I ended up with this:
Dave Taylor - Software Engineer