Any way to play .ogg files?

Get help using Construct 2

Post » Tue Jul 09, 2013 9:40 pm

Hey,

I've been trying to import music in .ogg format into C2. It imports fine, but it seems like there's no way to play it as C2 looks for the .m4a or wav file (I forget which) to build up the list of available audio.

Is there any way around this? Or do I need to import the audio on a different format?
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,699

Post » Wed Jul 10, 2013 5:54 am

This is pretty weird, I only import the .ogg files here and C2 has no trouble playing them.

Make sure you're writing only the name of the file, not the ".ogg" part.

Adittionaly, if you want to try doing it the way I do it, I just open the music files on Audacity, save as .ogg, and import them in C2. This way it doesn't convert anything, and there's not leftover of .wav and .m4a files.andreyin2013-07-10 05:54:47
B
125
S
43
G
41
Posts: 849
Reputation: 28,260

Post » Wed Jul 10, 2013 8:47 am

Construct 2 should list .ogg files without .m4a files. It only doesn't list .m4a files without a corresponding .ogg file.
Scirra Founder
B
399
S
236
G
89
Posts: 24,519
Reputation: 195,361

Post » Wed Jul 10, 2013 9:10 am

i think i got the same issue . i imported the audio files like music jump coin pickups etc .
the music is playing but the jump sound is not playing.. only after some minutes
this appeares only in debug modus not in the exported html5 version
B
27
S
7
G
3
Posts: 300
Reputation: 4,563

Post » Wed Jul 10, 2013 3:08 pm

And... now it's working. Very odd that it didn't work that one time. Oh well, sorry for the trouble.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,699


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests