how to proceed and play audio file after completed

Get help using Construct 2

Post » Wed Aug 14, 2013 2:31 am

Hi guys this is my second app attempt but got a question so that i can proceed.

1.)if all the shapes are positioned to each shadow.
play an audio file, and proceed to next test which is layout 2?

2.)how can i shorten my code?

Cant find this in search and faq somehow, or if there's already, please point me to the post, as i am new to programming logic.

I am looking at this but need some help implementing.
http://www.scirra.com/forum/or-if-elseif-else-while-etc_topic45788.html

my capx
https://www.dropbox.com/s/7v613adpix6swox/animal%20drag%20drop%20file.capx

thanks.
B
9
S
1
Posts: 21
Reputation: 679

Post » Wed Aug 14, 2013 2:43 am

@fernanm

1) On the right side, right-click Object Types > Insert New Object > Audio. Then the Audio action becomes available in the Event Sheet. On the right side, right-click Sounds and import an audio sound. On the Event Sheet, add action Audio > Play on the Is Placed Event. To proceed to Layout 2, on Is Placed, add Action > GoToLayout

2) The code already looks quite efficient..
B
47
S
18
G
84
Posts: 2,265
Reputation: 49,784

Post » Wed Aug 14, 2013 7:08 am

Thanks plinkie, works now!
B
9
S
1
Posts: 21
Reputation: 679


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests