Commit Graph

4 Commits

Author SHA1 Message Date
6b3872dc97 refactor(game_time): introduce Timer for time-based updates and rename existing to TickTimer
Add a new `Timer` class that operates in seconds (using `TimeType`) alongside the existing `TickTimer` which uses `TickType`. Rename the original `Timer` to `TickTimer` throughout the codebase. Update `ClientWorld` to maintain separate maps for tick-based and time-based timers, and replace the hardcoded footstep timer in `ClientPlayer` with a time-based callback timer. Also add `play_2d` to `AudioEngine` and load an ambient bird sound to demonstrate the new timer functionality.
2026-07-07 15:32:07 +08:00
a5bc4e238d feat(sound): add block place and break sounds 2026-07-07 11:45:38 +08:00
68ddd78a6f feat(audio): add footstep sounds and fix audio listener orientation 2026-07-07 11:20:17 +08:00
747b152fdf feat: add bgm001 2026-07-06 15:57:03 +08:00