I believe I have figured out a way to do this. Of course, first you need to run a batch process with a graphics editor to scale all your images down. For instance, 800 x 600 > 320 x 240 would be 60% reduction so resize all images to 40 % of their original size.
Then, and here's the fun part: in the CreateActor script for each actor, write this:
- Code: Select all
x=x*.4;
y=y*.4;
The downside is, you have to insert it for each actor. However, this is only a mosquito bite compared to moving each sprite and tile by hand!
After doing this, you will still have to rewrite your script to accomodate the smaller distances (xvelocities and such) but in my test so far, this recreated a mini version of my level graphics, it looked great!
Now here are the reasons that GE does not do this for you, and IMHO does not need to:
1. GE would basically be resizing your graphics....which should be done in a graphic editor. GE is NOT a graphic editor.
2. GE would be scaling the images upon loading. That's more graphic work that doesn't need to be done while running a game. Plus the excess graphic information makes a 3 mb exe into an 8 mb exe for no reason. We still have to optimize, if our game is "full" as it should be.
3. Even if it could resize it....it couldn't adjust your scripts, velocities, and distances. Only you know how your game is supposed to play. Would GE assume that in your scripts all numbers are shrunk by 40%? No, this would shrink your score, health, and activation variables. Either way you have to rewrite the script!
I do hope this method works for you, I only tested it briefly but every actor was exactly where it was supposed to be.
I think that the GP2X is the perfect platform for GE games; even though I've never played one, the situation seems perfect:
Not many native games; Competing with Sony & Nintendo, and needs good games; Emulation abilities suggest the target consumer is a fan of 2d gaming.
The market is not by itself, GE is not by itself, we are not by ourselves. Together we can make something big out of GE and the developers who use it . No more 'army of one'.