Exclude .ogg or .m4a

Get help using Construct 2

Post » Tue Oct 15, 2013 7:15 pm

How do I exclude .ogg or .m4a from a CooconJS export? For example, I want to exclude .m4a from Android projects and .ogg from iOS projects so I can decrease install file size.
B
63
S
12
G
6
Posts: 456
Reputation: 8,981

Post » Tue Oct 15, 2013 10:21 pm

@russpuppy

C2 will do it on export automatically if necessary (it should normally)

Game design is all about decomposing the core of your game so it becomes simple instructions.
B
53
S
22
G
18
Posts: 2,122
Reputation: 17,123

Post » Tue Oct 15, 2013 11:56 pm

Why would it do that. CJS runs on both and so it's only reasonable that C2 would include both versions. There is no export CJS Android or CJS IOS. It's just CJS.

What would be excluded would be the .wav file.

What you are going to have to do is go into the CJS zip and remove the file for each version.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018

Post » Wed Oct 16, 2013 9:04 pm

when I delete all the .m4a files I just get a black screen when I launch the app. I guess I may have to go through the exported javascript to see if I can figure out why....

It would be nice if there was options in the export menu to select what audio files you want so we wouldn't have to do this manually with every export.russpuppy2013-10-16 21:04:39
B
63
S
12
G
6
Posts: 456
Reputation: 8,981

Post » Thu Oct 17, 2013 8:02 pm

i may just end up replacing all the .m4a files with blank audio files (with android)...
B
63
S
12
G
6
Posts: 456
Reputation: 8,981

Post » Thu Oct 17, 2013 8:51 pm

Oops, never mind! I guess you can delete the m4a files, I was just re-zipping the file incorrectly.
B
63
S
12
G
6
Posts: 456
Reputation: 8,981


Return to How do I....?

Who is online

Users browsing this forum: David181, NECRONOMICRON and 28 guests