Commit Graph

5 Commits

Author SHA1 Message Date
f0e339822d feat(asset): add grass block break and place sound effects 2026-07-07 20:23:58 +08:00
c78fb85f25 feat(assets): add and update block break/place/walk sounds
Add sounds for dirt, grass_block, leaf, log, sand, snowy_grass_block, stone.
Update existing leaf/walk, sand/place, sand/walk, and stone/place sounds.
2026-07-07 18:02:07 +08:00
85dadc17c9 feat(gameplay): detect underwater state and play transition/bubble sounds
- Add is_underwater() and set_underwater() to ClientPlayer.
- Change get_world() to return non-const reference for audio access.
- Update Camera::update_move_camera() to detect water block changes and trigger transition sound.
- Add repeating timer in ClientWorld to play random bubble ambient sounds while underwater.
- Include new ambient sound assets for water transitions and bubbles.
- Also add sand walk sound asset (unused in this commit).
2026-07-07 17:19:47 +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