Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ah, that would be it! I used AudioStreamPlayer2D. I will be sure to use the proper AudioStreamPlayer in the future. Thanks so much! I think I got so used to picking 2D nodes that when I saw the 2D, I thought, "That must be specifically for 2D games." haha

The other audio problem I couldn't figure out was how to only have one copy of a sound play even when multiple instances were calling it. I may go back and clean up the code a bunch so I can practice knowing how to solve these issues in the future.

(+1)

Yeah Godot has so many nodes it takes a while to learn what all of them do. I haven't yet tried half of them.

About the other problem I don't know if there is some "proper" solution for it but I always use "if !node.playing()" to check if its already playing before calling it.

Oh thanks! That's a great idea. I was thinking of creating some kind of separate audio node on top of all the levels to handle all sound, which might also help me do seamless background music? Dunno. I'm still learning!