Commit Graph
2 Commits
Author SHA1 Message Date
Dejvino 3c56f834c2 Lotus3: hand-editable sprite pipeline (sheet image + converter)
- sprite_tool.py: export renders sprites.h into sprites_sheet.png
  (1120x560, 7x4 grid of 160x140 cells, 14px label strip, magenta bg);
  import cuts the sheet back into sprites.h with fixed cell order,
  magenta keying, halo cut (magenta excess > 35) and despill.
  Round-trip is exact via bit-replicating 565->888 expansion; crops
  re-trim tighter on each import.
- sprites_sheet.png: the editable asset sheet, tracked in git.
- sprites.h regenerated by the tool (canonical sprite names).
- Drop the original webp sprite sheets; the PNG sheet is the source now.
2026-11-12 22:25:06 +01:00
Dejvino 84b8753150 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.
2026-11-12 21:49:21 +01:00