Music is loading too long

Discussion and feedback on Construct 2

Post » Thu Feb 14, 2013 11:31 am

I set on start of layout play music and after game start music is loading 5-10 sec brfore starts play.

How to fix this?
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Thu Feb 14, 2013 12:51 pm

Preload it using the audio preload action.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,679

Post » Thu Feb 14, 2013 2:25 pm

Increase your server bandwidth :) If it's in the music folder, it should be streamed so it ought to play as soon as it's got enough data to start playing - it won't need to download the entire track. So it must be a pretty slow server that it takes 5-10 sec to do that.Ashley2013-02-14 14:25:50
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,772

Post » Thu Feb 14, 2013 3:58 pm

while we are on the topic...
@Ashley i probably asked for this before but can you add a "preload everything!!!" event for the audio object?

i prefer to have everything cached instead of the download on first use stuff...
B
33
S
6
G
7
Posts: 339
Reputation: 7,426

Post » Thu Feb 14, 2013 4:30 pm

I second that, preload everything would be really useful in some cases where the gameplay depends on the sounds playing.
B
38
S
8
G
3
Posts: 439
Reputation: 6,876

Post » Thu Feb 14, 2013 8:40 pm

+1 for preload all Sounds action
B
22
S
6
G
8
Posts: 328
Reputation: 6,651

Post » Fri Feb 15, 2013 5:31 pm

@Ashley can you add a new option in importing wav files? i mean encoding quality- add 64 kb/s and 80 kb/s ?
i try display music with this quality and sounds good for me even if have 64 kb
B
109
S
26
G
46
Posts: 1,886
Reputation: 35,168

Post » Fri Feb 15, 2013 8:45 pm

+1 for Music Families :)
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,461


Return to Construct 2 General

Who is online

Users browsing this forum: newt, rbailey83 and 24 guests