compress the whole game to lower screen resolutions?

Ideas for Game Editor evolution.

compress the whole game to lower screen resolutions?

Postby Kalladdolf » Fri Jan 25, 2008 10:04 am

I've made some cool games and want to make them for pocket Pc as well.
problem is, I'll have to make the animations smaller and everything, basically, I'll have to remake the whole game!
now, couldn't there be a feature that you could just make everything on the whole smaller to make it fit the ppc screen?
this would be sooooo much help for me!
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby kyensoftware » Sun Jan 27, 2008 6:15 am

Use a canvas XD
to avoid confuzion search for draw_from demos
but it would be nize to have an inbuilt "Shrink to (a)x(b)" thingy, but it would take poor makslane awile...
Games for Windows, Linux, and PPC
Bin dosnt stand for "Binary";
it stands for Bin.
You know, where the junk goes...
User avatar
kyensoftware
 
Posts: 198
Joined: Thu Oct 26, 2006 7:49 am
Score: 5 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Game A Gogo » Mon Jan 28, 2008 12:12 am

or, you could leave it as is, and be able to set some sort of property that would affect which pixels are displayed on the screen
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Kalladdolf » Mon Jan 28, 2008 8:31 am

Game A Gogo wrote:or, you could leave it as is, and be able to set some sort of property that would affect which pixels are displayed on the screen

but this aint possible yet, is it?
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Bee-Ant » Mon Jan 28, 2008 1:01 pm

Come'on kall, dont bring your crazy idea here...you just make confused everyone :lol:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby makslane » Mon Jan 28, 2008 1:27 pm

This kind of reduction of images dimensions is in my task list, but is not easy to solve.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Bee-Ant » Mon Jan 28, 2008 1:37 pm

makslane wrote:This kind of reduction of images dimensions is in my task list, but is not easy to solve.

See...your request wont granted :lol:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Kalladdolf » Tue Jan 29, 2008 10:23 am

Bee-Ant wrote:Come'on kall, dont bring your crazy idea here...you just make confused everyone :lol:

:|
it ain't crazy... tell me how you would do it wanting to spare time...
then makslane wrote:This kind of reduction of images dimensions is in my task list, but is not easy to solve.

understandable, thanks for the comment.
then Bee-Ant wrote:See...your request wont granted :lol:

who says? :D
maybe sometime...
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

How To compress the whole game to lower screen resolutions

Postby DST » Thu Mar 27, 2008 12:14 am

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'.
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Kalladdolf » Thu Mar 27, 2008 7:15 am

ok.
I was just considering doing this for smaller games, so there actually
isn't so much to be dragged across the screen.
also, I think I can handle the changing of variables, thanks for the code.

DST wrote:1. GE would basically be resizing your graphics....which should be done in a graphic editor. GE is NOT a graphic editor.

:shock:
ok.
I'll keep that in mind.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Game A Gogo » Thu Mar 27, 2008 9:22 pm

actually, GE can already resize sprites...
and the easiest method, is keeping the file as is, but modifying the output function that display the whole game. which would need to skip some pixels in order to get what you need
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby DST » Sat Mar 29, 2008 7:39 pm

it would be nice, but what GE really needs is the ability to draw selections and scale xy positions inside the editor....I guess most of Makslane's energy is focused on compatability though.

Also, it would rock if you could add an extra identifier on a variable (scalable) - that would scale the variable automatically when you resized the game.....xvelocity scales, health doesn't etc.

Redrawing paths....uggh...
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Freddy » Sun Apr 06, 2008 2:41 pm

This would be REALLY HELPFUL. I hope someday this will be a GE feature.
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby Bee-Ant » Tue Apr 08, 2008 11:26 am

I hope there will an exe emulator also... :lol: :lol: :lol:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: compress the whole game to lower screen resolutions?

Postby DST » Tue Apr 08, 2008 8:15 pm

what do you mean by exe emulator?
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Next

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest