Commit Graph
24 Commits
Author SHA1 Message Date
Dejvino 2ac8706606 Rename Lotus3 to MiataDrive; original-graphics title screen
- examples/Lotus3 -> examples/MiataDrive, sketch MiataDrive.ino,
  emulator target APP=MiataDrive, platformio src_dir updated
- drop the borrowed photo title background (title_bg.h): the title
  screen now renders the game's own start line under the arch with the
  selected car parked on the road; color picker labels sit over the
  horizon, showcase car doubles as the live preview
- add dedicated README (controls, features, sprite pipeline, gallery)
- commit in-progress work the game now depends on: sound engine events
  (engine hum, crash noise) plus the 4-line SDL audio shim in the
  emulator host
2026-11-12 22:29:37 +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
Dejvino 7dfdc06e6f Add NoiseSensor radar example and fix short sound playback
The sound task used to zero the I2S TX DMA ring as soon as the event
queue drained. i2s_write() only queues samples, so anything shorter than
the ~64 ms ring was erased before it reached the speaker. Enable
tx_desc_auto_clear instead, which clears each descriptor after the DMA
has actually transmitted it.

Also add the NoiseSensor radar example and point the default PlatformIO
environment at it.
2026-11-12 08:14:19 +01:00
Dejvino 951c56168c CRT Terminal app 2026-11-11 22:03:40 +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
lewisxhe 9d15775e79 Added keyboard backlight control function 2024-12-25 09:24:29 +08:00
lewisxhe ed76f64db5 Fixed the stuck boot screen caused by lack of LoRa 2024-12-20 11:09:44 +08:00
lewisxhe 5d21e58792 Fix typos and the backlight function key sends the character 'b' https://github.com/Xinyuan-LilyGO/T-Deck/issues/69 2024-12-18 09:11:31 +08:00
lewisxhe 7aa23db023 Added play mp3 examples https://github.com/Xinyuan-LilyGO/T-Deck/issues/63 2024-11-14 09:48:06 +08:00
Hpsaturn fae86efeec added alternative to set wifi params via env variables 2024-09-23 21:47:40 +02:00
lewisxhe b704850267 Update README 2024-09-19 14:36:42 +08:00
lewisxhe 993ee80cab Fix Arduino IDE compilation 2024-09-18 14:05:14 +08:00
lewisxhe c3e03efdd1 Update ini 2024-09-13 11:41:44 +08:00
lewisxhe 7d2ef3afdb Added custom board 2024-07-26 14:23:52 +08:00
lewisxhe 5429079fba Added GPSShield example 2024-03-29 12:05:36 +08:00
lewisxhe eb007487d2 Add audio loopback test 2024-02-29 14:09:20 +08:00
lewishe c73ad67b9a Change default partitions 2023-12-14 18:02:39 +08:00
lewishe 23a7b1b693 Update factory firmware 2023-12-14 17:47:22 +08:00
lewishe dad0417d8f Fixed version for esp_vad 2023-10-14 11:06:33 +08:00
lewishe f35b2c444a Added VNC@moononournation 2023-08-08 11:42:32 +08:00
lewishe b1eb0cc3a2 Update ini 2023-05-30 09:11:39 +08:00
lewishe 0aec97510a Added Touchpad example 2023-04-12 13:35:08 +08:00
lewishe 918d91ce68 Update pio ini 2023-04-12 09:24:54 +08:00
lewishe daa54b6448 first commit 2023-04-11 11:27:36 +08:00