Dejvino
45ffa87425
Trails: match erase width to draw width, bright flashing missile head
...
- Enemy missile trails now drawn 3px thick via drawThickLine() with a
bright head dot (white) that flashes against the trail color every
couple of frames, like the Atari 2600
- eraseBombTrail() uses a thicker erase band than the draw (5px, 7px for
wigging smart bombs) plus a 2px tip circle, so no trail residue is
left behind when a missile dies or impacts
2026-11-10 22:11:33 +01:00
Dejvino
d4e6b4e6be
Add Missile Command game for T-Deck + desktop emulator
...
Game (examples/MissileCommand):
- Classic Missile Command: 6 cities, 3 batteries x 10 missiles,
escalating waves, smart bombs, score multiplier, session high score
- Trackball aims, press/tap fires, keyboard A/S/D selects battery,
screen tap aims+fires
- Rendering: incremental TFT_eSPI drawing (persistent enemy trails that
vanish on death, no AA-rocket trails, explosion circles that repair
terrain, ghost-free crosshair)
- Sound (sound_engine.cpp): non-blocking I2S task on core 0; wave-start
alarm of four falling tones (like the original), sweeps/noise effects,
U/V/M keyboard volume control with OSD, master volume scaling
Emulator (emulator/):
- SDL2 host that compiles the unmodified sketch against shim headers
(Arduino, TFT_eSPI->framebuffer, GT911 touch, I2C keyboard, I2S->SDL
audio); arrow keys emulate the trackball, --autoplay/--frames/--dump
flags for headless smoke tests
2026-11-10 22:06:41 +01:00