Car Park Game
About
Arrow keys or WASD to move. R to restart. Park your car in the green spot.
Note: concave buildings don't have the right collision yet. Some levels cannot be completed as a result.
Debug controls: numbers 1-9 to change level. Comma and dot to change goals within level.
An interactive SVG image. Uses the Snap library to organize SVG drawing.
- Implemented car lighting by following Red Blob Games 2D Visibility Tutorial
- Driving physics are made from the ground up, no physics library is used.
- Implemented collision detection using Separating Axis Theorem
- Levels are programmatically made with coordinates (no premade images are used)
- Bezier roads
History:
I started this small project in August of 2017. Back then I made bezier roads, the driving physics and the car lighting. After about a month of development I put it on hold, but with the thought of eventually going back to it. Now that I have completed my study it is time to finally finish it. Since then I've added 8 more levels, made trailers work, added different car types and added collision detection.