Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foliage rustle sound effect sometimes get stuck on #38

Open
Jamsers opened this issue Dec 1, 2023 · 1 comment
Open

Foliage rustle sound effect sometimes get stuck on #38

Jamsers opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Jamsers
Copy link
Owner

Jamsers commented Dec 1, 2023

It's due to

if overlaps_body(body):
# this check sometimes fails because godot doesn't guarantee up to date results
# so sometimes you'll get the bug where the foliage noise keeps on playing after you get out of foliage
# i'm too tired to fix this, this script is bloated enough as it is
# interestingly enough i've run into this bug in other AAA games as well
collider_audio_pair.append({"collider": body, "audio": rustle_sounds})

@Jamsers Jamsers added the bug Something isn't working label Dec 1, 2023
@Jamsers Jamsers self-assigned this Dec 1, 2023
@Jamsers Jamsers pinned this issue Dec 1, 2023
@Jamsers Jamsers unpinned this issue Aug 7, 2024
@Jamsers Jamsers pinned this issue Aug 7, 2024
@Jamsers
Copy link
Owner Author

Jamsers commented Nov 12, 2024

look into get_overlapping_bodies()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant