[SolvedHow do I restart the layout but not the song playing.

Get help using Construct 2

Post » Tue Jun 16, 2015 8:58 pm

Hello guy.
In this last game I'm working on I set the layout to restard every time the player dies. However the game is being developed to be really hard, so the player will die a lot, what is not a problem because dieing has no bad effects except that you'll return to the start of the layout.

That said, it's really bad for the game that the main song keep restarting with the layout. Is there any way I can keep it playing and restart only the layout?
Last edited by RayKi on Wed Jun 17, 2015 6:11 am, edited 1 time in total.
B
17
S
7
Posts: 277
Reputation: 2,514

Post » Tue Jun 16, 2015 9:15 pm

system : On start of layout
--- audio Tag "music" is played : (nothing to do)
------else : play "music"
Image Image
B
22
S
13
G
129
Posts: 868
Reputation: 67,314

Post » Wed Jun 17, 2015 6:11 am

Thank you my friend
B
17
S
7
Posts: 277
Reputation: 2,514

Post » Wed Jul 08, 2015 11:50 am

you could just set audio to loop
B
4
Posts: 16
Reputation: 236

Post » Wed Jul 08, 2015 11:56 am

Loop restart when the layout restart...
Image Image
B
22
S
13
G
129
Posts: 868
Reputation: 67,314


Return to How do I....?

Who is online

Users browsing this forum: marc254 and 7 guests