Saturday, 15 January 2011

c++ - Marmalade Sdk Resolution of Screen Size -



c++ - Marmalade Sdk Resolution of Screen Size -

i'm mobile game developer on marmalade newly. wanna screen height , width resolution of different screen size. what's difference between iw2dgetsurfacewidth() , iwgxgetscreenwidth(), totaly same or if not 1 better?

iwgx , subcomponents utilize 3 different types of surfaces.

device, holds width , height of device, without worrying screen orentation.

screen, same device switches width , height when device orientation changed.

surface, made programmer. it's create surfaces. screen can have several surfaces or none @ all, images. rectangular object used ui.

for more info can in documentation:

http://docs.madewithmarmalade.com/native/api_reference/iwgxapidocumentation/iwgxapioverview/screenmanipulation.html

and

http://docs.madewithmarmalade.com/native/api_reference/iw2dapidocumentation/iw2dapioverview/usingsurfaces.html

c++ ios mobile marmalade

No comments:

Post a Comment