-
Notifications
You must be signed in to change notification settings - Fork 10
Developer Notes
This section contains information relevant to developers contributing to Unhaunter. It includes documentation on the codebase, architecture decisions, and future plans.
For each Milestone, we define its main Focus, a motto of which will drive and prioritize the work. For each objective (main pillar) we will have many ideas split into Feature Tracks.
- Milestone v0.3: Bring the Fun Back
- Milestone v0.4: ??
- Milestone v0.5: ??
- Milestone v0.6: ??
- Milestone X: Endless Possibilities
TBD
The game is very heavy on the simulation side, and currently this is not multithreaded because all these systems all access BoardData for mutating, so they're effectively running serially.
However, because Bevy does not run multithreaded in WASM, there's little point to change this, as it would cause the desktop version to be several orders of magnitude faster and we would risk that the WASM version could be unplayable.
- Check WebAssembly multithreading tracking issue #4078: This seems the main issue to bring multi-thread to WASM. As of May 2025, it seems that this is still several years away.
- Check Bevy Async Task Crate: This seems to be adding some kind of concurrency for WASM too, but it doesn't add actual parallelism.
TBD
- Very Long Term Ideas ‐ Wishful thinking