Simple top-down 2D car simulator made in C++ using box2D for physics and SFML for rendering.
This was a weekend project to dust off my C++ knowledge and practice developing a Software 1.0 simulator to better understand the principles.
It is pretty barebones and could use a bit of cleaning up, so don't get that excited.
demo.mp4
For the initial car physics: http://www.iforce2d.net/b2dtut/top-down-car
For vision sensor, I use box2d's ray-tracing to create a 1D RGB image which drops off with depth. The idea is loosely based off: https://andyljones.com/megastep/
- road maker / scene generator tools
- other moving agents
- varying lighting?