Commit Graph
8 Commits
Author SHA1 Message Date
Richard ZinkandClaude Opus 5.5 d17668f3b2 Wait and both kinds of until loops; blocks run directly
Script runs are resumable threads saved with the game; Rhai is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 18:57:36 +01:00
Richard Zink cc50ed04be Disable Rhai time to keep WASM loadable 2026-11-05 13:14:52 +01:00
Richard Zink b06c48172b Add campaign editor script runtime and debug overlays 2026-11-05 12:22:59 +01:00
Richard ZinkandClaude Opus 5.5 889ca66dbf Add MIT license
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 08:30:49 +01:00
Richard ZinkandClaude Opus 5.5 925be17e82 Own XM/MOD replayer, audio mixer with crossfades, synthesised chip sound effects, music director
- src/xm.rs: FastTracker 2 XM and ProTracker MOD replayer (verified against libopenmpt)
- src/audio.rs: music players with crossfade + effect voices, rendered on demand
- src/sfx.rs: 29 synthesised chip sound effects
- www/dc_plugin.js: AudioContext started on first input, streams samples from WASM
- music follows the game: title, rotating build tracks, battle, gate assault, jingles
- macroquad audio removed; all tests run natively with cargo test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 06:10:28 +01:00
Richard ZinkandClaude Opus 5.5 fb7dab3683 Title screen, pause menu, settings dialog and savegames
- title screen (continue/new/load/settings/help) and Esc pause menu
- settings: language & sound, camera, graphics, game, rebindable keys;
  stored in localStorage and in every savegame (always applied on load)
- savegames as JSON (.dcsave): download, load via file picker or drag & drop
- autosave to localStorage every 2 minutes and when the tab is hidden/closed
- configurable wall detail, light count, interface size, game speed, hints
- audio behind a cargo feature so native tests run (cargo test --no-default-features)
- savegame round-trip test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 23:08:33 +01:00
Richard ZinkandClaude Opus 5.5 14e481cffb Umstellung auf macroquad: endlose Wellen, Heldentor mit Verteidigern, Angriffsflagge, Sound-Events, Grafikmodul mit DINOBYTE-Bitmap-Font (CC BY 4.0) und CP437-Rahmen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:09:38 +01:00
Richard ZinkandClaude Opus 5.5 a569aff7a8 Projektgerüst, Karte/Wegfindung und Spiellogik
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 21:49:10 +01:00