Is there a way to check if a sound / musictrack has finished playing?
The Audioobject doesn't seem to have any events at all :(
Develop games in your browser. Powerful, performant & highly capable.
Good point, it's a useful event that is missing. Added for next build.
Yay thanks! :D
Great! I wasn't able to add looping to my music! This will be good!
Looping works in some browsers but not others, I can't remember. Just make sure you test it so on browsers which do support looping you don't get the music playing twice.
— i solved it by using a workaround using events... check how long the music is in seconds and then use system every x seconds -> stop music -> play music
doesn't work 100% but it'll have to do till the guys fix it :)