The Daily Click ::. Forums ::. Klik Coding Help ::. Why are my games so big?
 

Post Reply  Post Oekaki 
 

Posted By Message

monkeytherat

Hero of Time Jr

Registered
  11/7/2010
Points
  1287

VIP MemberI donated an open source project
8th August, 2012 at 8/8/2012 1:29:01 AM -

It's a thing I have wondered for a while. My games generally do not contain much content when compared to similarly sized games. For example, my game Jimmy: Dungeon Escape! was only 25 levels long, yet had a filesize of around 80 megabytes (approximately the size of Wolfire's fps "Reciever").

I have thought that it may be the music, but the music source is actually, in total, more space-consuming than the finished product. I have also thought that it may be my excessive use of fastloops, but I do not quite see how that would lead to a huge filesize.

Any thoughts would be helpful, as I am currently revamping my games to be smaller. If youw ould like a sample of source code, just post here and I'll upload it.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

-UrbanMonk-

Professor Spectrum

Registered
  7/7/2008
Points
  6120

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April Fool
8th August, 2012 at 8/8/2012 3:06:15 AM -

I drop alpha channels as much as possible.. Lower your color mode if you can.

Check your sounds, wav is really large for longer sounds.
Check the Data Elements section, it shows how much space each sound file takes, and it also shows what extensions you used.

Check your data/runtime folder of MMF to see the file size of each extension used, those will be included in the final build.

Make sure you have "Compress Runtime" checked in the Application properties. Although sometimes some anti-virus flag your application as malware when this is used, so make sure you scan it afterwards with an online scanner of some sort.

 
http://www.soapcow.com <- Flash games, featuring MMF made games!
http://www.jsoftgames.com <- Old blog I don't keep up anymore

monkeytherat

Hero of Time Jr

Registered
  11/7/2010
Points
  1287

VIP MemberI donated an open source project
8th August, 2012 at 8/8/2012 3:39:13 PM -

Thank you so much It turns out that the problem was me using wav files for music. By switching to MIDI music, I lowered file size to about 10 mb.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

-Liam-

Cake Addict

Registered
  12/6/2008
Points
  332

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
8th August, 2012 at 8/8/2012 8:07:54 PM -

I remember making that mistake... Must have been 10-11 years ago now. I feel so old!

 
Image

Tell 'em Babs is 'ere...

-UrbanMonk-

Professor Spectrum

Registered
  7/7/2008
Points
  6120

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April Fool
9th August, 2012 at 8/9/2012 6:18:55 AM -

You can use a sound editor to lower the bit rate, or convert the music files to OGG.
Midi is great but it isn't supported on as many platforms as wav, ogg, and mp3.

Lowering the bit rate or using OGG format is the best choice.

 
http://www.soapcow.com <- Flash games, featuring MMF made games!
http://www.jsoftgames.com <- Old blog I don't keep up anymore
   

Post Reply



 



Advertisement

Worth A Click