Lotus3: pseudo-3D Miata racer for T-Deck

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.
This commit is contained in:
Dejvino
2026-11-12 21:49:21 +01:00
parent 25ad8aa17c
commit 84b8753150
7 changed files with 10066 additions and 1 deletions
+4
View File
@@ -20,6 +20,10 @@ endif
ifeq ($(APP),CrtTerminal)
APP_TITLE := CRT Terminal
endif
ifeq ($(APP),Lotus3)
APP_TITLE := Lotus 3
DEFS += -DEMU_APP_LOTUS3
endif
APP_TITLE ?= $(APP)
CXX ?= g++