Enemy: Play Mothsache attack sound effect on player detection - #2802
Conversation
manuq
left a comment
There was a problem hiding this comment.
There are a lot of unwanted changes in this pull request. Please start by cleaning up.
For the pull request description, please follow our contributing guidelines.
|
Test build no longer available. |
manuq
left a comment
There was a problem hiding this comment.
Sorry, I didn't realize that this was ready for review again. Next time click "Request" or leave us a comment to let us know.
This is not for this pull request, but testing it I realize that the WAV file (from a previous contributor) has a noise in this part, that I think is unwanted:
Please check the comment on using the AudioStreamPlayer2D node and the WAV folder location. The rest looks good, except there are trailing-whitespace errors. Check https://github.com/endlessm/threadbare/actions/runs/34403586388/job/102863419384 and if you want them automatically fixed, you can install pre-commit as explained here https://github.com/endlessm/threadbare/wiki/Contributing#coding-style
…matting for Mothsache endlessm#1020
Enemy: Play Mothsache attack sound effect on player detection
The Mothsache enemy now plays an attack sound effect when entering the attacking state upon detecting the player.
AudioStreamPlayernode and linked the attack sound stream to the Mothsache component.Resolves #1020