Pages: 1
Topic closed
I want song to play as soon as the scratch file is opened (or in other terms once a certain costume appears). Note, that I do not want the music to stop and restart once that costume appears again. I want the music to continuously play and repeat itself forever. How can I do that???
Offline
To start song right away:
when green flag
forever
play song and wait
To start song later:
when green flag
set playing to 0
wait until playing > 0
forever
play song and wait
To start the music, set playing to 1.
With this code, there is no way to stop and restart the music, since that is what you requested.
Offline
kevin_karplus wrote:
To start song right away:
when green flag
forever
play song and wait
To start song later:
when green flag
set playing to 0
wait until playing > 0
forever
play song and wait
To start the music, set playing to 1.
With this code, there is no way to stop and restart the music, since that is what you requested.
Yes, though my program has not been set so that when the green flag is pressed start. I have set it using keys.
Offline
Topic closed
Pages: 1