game.Screen.Size.Width vs game.Display Size.width

ckck Member Posts: 224
edited November -1 in Working with GS (Mac)
I've just "discovered" these, and I have a few questions.

The context - I would like to build my apps so they scale automatically across iDevices (iPad, iPhone, iPhone HD).

My thinking is to position actors using parameters like <game.Screen.Size.Width /2> or <game.Screen.Size.Width * .67>, etc.

So, a few questions:

1) Is anyone doing this, and if so, any tips, tricks, trip-ups you can point out?

2) Is there any reason an app CAN'T be built in GS to scale across devices?

3) It's clear there's going to be math, and possibly some trig. Looking at a Corona tutorial, I see things like <gear2.x = gear.x + gear.stageWidth * .67> (not trig, I know). I understand what that means, but in my slightly hung-over state, I'm not sure WHY it's being done. Any recommendations for a basic maths tut on this kind of thing?

4) Finally, what's the difference between game.Screen.Size.Width and game.Display Size.Width?

Thanks

Comments

Sign In or Register to comment.