Skip to main content

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

This bit of code works, but the sound only plays once per scene. Not exactly sure what is causing this, but it is most likely a problem with the node's properties.  Here they are.

P.s: It is a .wav file and none of the import options are on.

(1 edit)

The node options looks good. It might be some logic problem. Take a look in this code: https://github.com/Guizeronet/godot-platform-test/blob/master/obj/char/char.gd

You can download my example and see it running. It is different from my last comment, it can works better. (Download here: https://github.com/Guizeronet/godot-platform-test )

Sorry, but the way you used that logic doesn't fit with what I imagined. Fortunately, the basics of your logic helped me out with sort of what I wanted. So, thanks a bunch!