Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hey i've been trying to get music in a loop to work but somehow it won't :(
i've imported the music as a .wav and added an audio thingy to my project.
i then created these events:
on start of layout -> audio play neon theme (my track)
audio set "" looping
this should theoretically be enough but even when i use a tag for my music file it won't work...
here's my test .capx:
Which browser are you using? Not all browsers support looping. Does it work in any other browsers?
Well i only have the latest Firefox installed...
Pretty lame if a simple thing like a music loop doesn't work in every browser :(
The Audio-object doesn't even have events so i could manually check via events if the track has finished playing :/
Well "fixed" it myself through events but i still think the audio object should handle this like in CC
Here's my fixed capx:
I am trying to loop music as well and having trouble, the cap file you linked is no longer posted, so could you let me know how you got it to work?
Develop games in your browser. Powerful, performant & highly capable.
This method for looping sounds works, dont know about music though?
<img src="http://dl.dropbox.com/u/22173473/loopsound.png" border="0" />
(my sound is 4 second's long)
I have never used music, but it can't be that different?
Same problem here but only in Firefox, looping works perfectly in Chrome and IE 9
qster: Firefox 11 supports looping, out in a few weeks.
Cool topic. It Solves my problems ^^