Segment-based pseudo-3D road (curves + hills, Jake Gordon technique): perspective trapezoid rendering near->far with hill clipping, scrolling rumble strips and lane dashes, depth fog, low camera for planted feel. Sprites extracted from the provided spritesheet: red Miata player car, blue/dark/yellow traffic with collision, palms/pines/bushes/billboards, start-finish arch, tire stacks. Off-road excursions trigger a rollover crash animation cycling the extra car views with dust, slide and camera whiplash; rear-ending traffic jolts the camera. Manual driving by default (arrows/WASD, P toggles demo AI); 3 laps with checkpoint time, score, speed HUD. SDL emulator target added to the emulator Makefile and platformio.ini src_dir switched to Lotus3.
101 KiB
1024x559px
101 KiB
1024x559px