Skip to main content

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

Hell yeah! Music start playing and just didn't want to stop or did the player start stacking itself? 

I had a few music issues this go around. I learned that the way I was calling SFX and music in the animation player was wrong for a while.. I learned this because I said "screw this I'm going to hit the key frame button" ... and it worked. Verse me loading things into the animation player like I've done in projects past, which caused hell for volume control. RIP my ear drums.

Wave files tend to be pretty large and would it being a two minute loop I think is just too big. So the desktop version was loading it fine but with the limited memory usage in HTML it wasn’t loading. Button developer tools. It was confusing because everything was failing to load so it was hard to pinpoint it.

Oof. Well hopefully it got submitted in time. Convert things to OGG files in the future. Also you can set your import file to "Loop" you don't need to do it manually. This way it should not increase the file size.

Then you can call it in the editor using an "AudioStreamingPlayer" node. 

For something like a main menu, just select "Autoplay" in the inspector.  When the scene launches, the music automatically starts and will loop until that scene ends.