Music not playing again

For questions about using Classic.

Post » Sun Apr 27, 2008 2:15 pm

I have music set for a main menu screen, and in-game music using the DirectSound: PlayMusic

But whenever I go back to the main menu for any reason at all, I cannot get the music to start up again, the same for ingame music.
B
1
G
4
Posts: 4
Reputation: 1,033

Post » Sun Apr 27, 2008 2:55 pm

Can you make an example of this happening and send it to ashley@scirra.com?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Apr 27, 2008 3:12 pm

I sent you the .cap file

Is there any way to temporarily get around this?
B
1
G
4
Posts: 4
Reputation: 1,033

Post » Mon Apr 28, 2008 4:41 am

Yeah, I had a similar issue. It was inexplicably fixed by delaying the directsound event by as little as 2ms from layout start.
B
3
S
2
G
4
Posts: 310
Reputation: 2,120

Post » Mon Apr 28, 2008 10:11 am

Why are you using 'Timer equal to 10ms' instead of 'Start of layout'? It seems to work for me if I replace the timer conditions with Start of Layout, and when you return to a layout it seems the timer doesn't start from zero again, in which case it's a timer bug and nothing to do with Directsound...
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 8 guests