Advice for optimising
debugdesign
Member Posts: 886
Hi,
I have almost finished my game and I started it before I found out about the rule of 2.
So now I am going through the images, opening them in Photoshop and shrinking the image size to fit with the rule.
If I now replace the images in the GS file will this shrink the file size and optimise the game or do I need to start a fresh.
thanks
I have almost finished my game and I started it before I found out about the rule of 2.
So now I am going through the images, opening them in Photoshop and shrinking the image size to fit with the rule.
If I now replace the images in the GS file will this shrink the file size and optimise the game or do I need to start a fresh.
thanks
Comments
If you replace the images then you should be fine, I have done this and my game is running fine
// Red Dot Inc
this is what I was worried about... as GS has already compiled the images already, are the new smaller file sizes going to make a difference.
@Dragonkillz - The rule of 2 is that GS loads images in set sizes, 2, 4, 8, 16, 32, 64, 128, 256, 512, and 1024... so if you have an actor that is 40px across and 80px high it will use the same memory as if it was loading a 64px x 128px... so if you made it smaller, such as 32px by 64px it would use half the amount of memory. I'm sure there are better explanations on the forum