Game Maker's Garage Forum
Game Creation => GameMaker => Topic started by: Charlo on October 16, 2010, 08:01:02 PM
-
Does anybody know what the average size for a card's image is? We're talking the full-width image, with no text on the card. I'm curious because I'm currently making a game that utilizes full-screen images exclusively, and I wonder if I can expect to hit the 10 MB limit before I use all 250 cards. ;D
-
The picture box in the Text, Picture and Buttons layout is 311x315 pixels, the one in the Picture and Buttons layout is 626x315 and the one in the full Picture layout is 626x375.
This is under the Large Game Window setting. :)
-
Use GM Toolkit to compress card pictures in your source file that you don't expect to modify again. (if you modify a compressed picture it becomes uncompressed)
After you compile your game, run the compression again on your compiled app to get a nice, small game.
-
The picture box in the Text, Picture and Buttons layout is 311x315 pixels, the one in the Picture and Buttons layout is 626x315 and the one in the full Picture layout is 626x375.
This is under the Large Game Window setting. :)
Sorry, I should have been more clear, I meant size in kilobytes. :P
-
Sorry, I should have been more clear, I meant size in kilobytes. :P
It believe it depends on the picture. They will all be different sizes depending on what's in it. A lot of white space makes the size be less I think.
The limit for the file size is 16Mb.
-
It believe it depends on the picture. They will all be different sizes depending on what's in it. A lot of white space makes the size be less I think.
The limit for the file size is 16Mb.
Oh, I'm not sure where I got 10 MB...anyway, thanks for the info. Most of my cards have a lot of black space, is that equivalent to white space in terms of file size?
-
Any large blocks of solid color will result in a smaller picture. Uncompressed PICT actually uses a very weak compression called RLE, which only works when there's large blocks of the same color.