REQUEST: More sound conditions please

Discussion and feedback on Construct 2

Post » Mon Feb 06, 2012 10:06 am

Hello

Im not sure if this has been already requested but is there a posibility to add more options in event sheet for sounds than "On"" ended"? (it recognize the specific sound by its set up tag, right?)

Im working on a adventure game that got sofar the functions sketched and id like to add voices to it when the characters talk but online play may cause the sound delay because of the load time and wont match the animation anymore.
I was thinking that conditions like "Is "" loaded" and "Starts ""playing" could help especialy to make the animation match to the recording or help the game to load before leting the player to next level and so on...

Heres my WIP where you migh notice it on three spots (trashcan,two roads up)
http://dl.dropbox.com/u/5214903/GM/advtest/index.html

The sounds respond faster after the first delayed try
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Mon Feb 06, 2012 10:12 am

You could always call the audio through JS on the .html page for more control. AFAIK, audio is only recently being integrated by modern browsers and support is 'eh' all around.

Although pre-loading sounds good. Khaz2012-02-06 10:15:07
B
11
S
3
G
2
Posts: 110
Reputation: 2,410

Post » Mon Feb 06, 2012 11:16 am

Rexrainbow pretty much did the same request and provided a working plugin in expectation it would get integrated into C2.

You might want to have a look at it ?
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Mon Feb 06, 2012 4:19 pm

It's very difficult to add anything else to the audio object, because support is so patchy that half the features wouldn't work half the time. More info in this post I just made.

You have to work around it yourself with events for now. If delay before playing is a problem, try preloading your sounds at the start of the layout or on the menu screen.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Construct 2 General

Who is online

Users browsing this forum: Artpunk, Yahoo [Bot] and 13 guests