docs: Initialize comprehensive project documentation
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.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
tags:
|
||||
- engine
|
||||
- audio
|
||||
---
|
||||
|
||||
# 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]]).
|
||||
Reference in New Issue
Block a user