How can i set 3sec delay before song?

Get help using Construct 2

Post » Wed May 14, 2014 12:36 pm

My set:

On start of layout:
picture 1 position x,y
picture 2 position x,y
Play Song1

Okay but i want it with 3 sec delay before song.

So i set:
On start of layout:
picture 1 position x,y
picture 2 position x,y

(new event)
Compare time = 3 sec Action: Play Song1


It works fine at the first time i start the layout... but when i click a button with set(restart layout) then the picture position get right BUT the Song1 doesn't play again ... not only 3 sec but not at all.

Please help :?:
B
4
Posts: 29
Reputation: 262

Post » Wed May 14, 2014 1:15 pm

Make a global variable call it delay and set it to the system expression time
Then compare time = global delay+3 Action :Play Song1
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499

Post » Wed May 14, 2014 1:35 pm

hi,
try this:
add an sound object
Goto event page and add those:
---------------------

Add event:
System/On start of layout

Add action:
System/Wait 3 seconds/Audio/play....
2D Game GUI Designer
B
12
S
4
G
3
Posts: 130
Reputation: 3,778

Post » Wed May 14, 2014 1:48 pm

Thank you both!

Manarsoft, your way simple and works fine, Thanks! :D
B
4
Posts: 29
Reputation: 262


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, R0J0hound and 7 guests