Might be a bit weird question but I was wondering if there's a way to know when a sound file has been preloaded? For debug purposes.
I have different "sound packs" for different levels which are preloaded when player clicks to start a level. I'm calling the sound files using variables and FOR statement so I don't know how I would bug test to see if the sounds are preloaded or not.
This is how it goes:
1) Player starts the game. No level sounds are preloaded
2) Player selects a level 1-> Preload sound files
The sound files are named like this: "level1_1.ogg" "level1_2.ogg" etc. so I can dynamically load all the sound files using variables.
I couldn't find any indication of preloaded audio when launching the project with debugger so I'm guessing there isn't a way to check preload status. "On Preload Complete" is of course something that works but that only tells if all the preloads are done.