Migrates existing GDD and engine design notes from HacknPlan into a new Obsidian vault. This establishes a centralized, version-controlled knowledge base covering engine architecture, game constraints, design decisions, and open questions.
655 B
655 B
tags
| tags | ||
|---|---|---|
|
Audio
Built on SDL_mixer 3.
- Buses: master, music, sfx, ui. Each has its own volume, saved with settings.
- Voice limiting: a per-sound maximum of concurrent voices plus a minimum retrigger interval, so twenty towers firing in the same tick don't produce twenty overlapping sounds.
- Pause behaviour: gameplay sounds follow
SimClock(paused during planning); UI sounds and music don't. - Spatialisation: simple pan and distance attenuation from the camera focus point is enough for a top-down tower defense. Full 3D audio isn't needed.
- Sounds and music are
Handle<T>assets (see Assets).