Page 1 of 1

Checking Resolution

PostPosted: Mon Aug 16, 2004 12:24 pm
by wocket
Hi everybody

I'm a newbie here but i've had GE for some time and now i've got a bit more time on my hands I hope to be making more use of it.

I was wondering if there was a way to check for the resolution of the device a game is running on and make changes accordingly I'm thinking of 240 x 320 and 480 x 640 QVGA and VGA pocketpc's. Or is it a matter of doing a seperate compile for every resolution.

PostPosted: Mon Aug 16, 2004 5:56 pm
by Just4Fun
Maybe I'm way off base on this, but I *think* you will probably have to do a separate compile for each platform. My shakey reasoning is based on the idea that each OS and some of the hardware that the OS is operating on is different --> varying APIs. So if you only check the resolution, your program probably wouldn't run on the user's machine unless you have a way to check the user's platform and compile from that point. Sounds pretty complicated to me.

However, if you just want to change resolutions on the same OS, you could try creating and saving the game in several resolutions. Then you could use the LoadGame function to load the resolution based on some event. I haven't tried this so I don't know for sure that it would work.

More knowledgeable people may find my logic lacking... :wink:

PostPosted: Mon Aug 16, 2004 9:38 pm
by jazz_e_bob
welcome wocket :)

( no answer to your question - just saying hi )

PostPosted: Tue Aug 17, 2004 8:58 am
by wocket
Thanks guys :D

Looks like seperate compiles oh well not a major hassle.

Lovin GE so far.