Add spatial audio, rock-hiding, and UI adjustments#391
Merged
Conversation
Introduce spatialized SFX and distance-based attenuation (Audio.h/cpp): adds PlayFx overload and PlayFxSpatial, uses Vector2D and updates many enemy/boss/entity calls to PlayFxSpatial. Implement rock-hiding feature and rendering ordering: player gains hide-behind-rock state and animations, DrawBehindMap to render player/checkpoints behind map layers, HidingRock prompts moved to PostUpdate and simplified; Map now draws player and checkpoints behind map. UI/scene tweaks: replace menu fragment assets (4 fragments), adjust fragment placement/scales, add Scene::ShouldShowCursor and use it in UIManager for custom cursor visibility. Misc fixes: protagonist spritesheet turnaround frame durations reduced, TMX tiledversion bumped, Render dead-zone disabled (set to 0), PuzzleManager vignette intro radius tween, various camera/intro/ checkpoint flow adjustments and small layout fixes.
Tweaks puzzle fragment positions to a tighter cluster (updated offsets for fragments 1–3) and refactors fragment rendering. Base textures are drawn if present; variant/transition textures are only drawn when available and keep their alpha blending logic. When variant textures are missing, a semi-transparent rectangle is drawn on hover as a visual fallback. This makes hover visuals more robust and simplifies the conditional checks.
Contributor
|
Bon treball he revisat tot i funciona. |
TheUnrealZaka
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce spatialized SFX and distance-based attenuation (Audio.h/cpp): adds PlayFx overload and PlayFxSpatial, uses Vector2D and updates many enemy/boss/entity calls to PlayFxSpatial. Implement rock-hiding feature and rendering ordering: player gains hide-behind-rock state and animations, DrawBehindMap to render player/checkpoints behind map layers, HidingRock prompts moved to PostUpdate and simplified; Map now draws player and checkpoints behind map. UI/scene tweaks: replace menu fragment assets (4 fragments), adjust fragment placement/scales, add Scene::ShouldShowCursor and use it in UIManager for custom cursor visibility. Misc fixes: protagonist spritesheet turnaround frame durations reduced, TMX tiledversion bumped, Render dead-zone disabled (set to 0), PuzzleManager vignette intro radius tween, various camera/intro/ checkpoint flow adjustments and small layout fixes.
Canvis
Issues relacionades
Tipus de canvi
feat: Nova funcionalitatfix: Correcció de bugart: Asset gràficdocs: Documentaciórefactor: Refactorització de codibuild: Canvis al sistema de buildChecklist