Extrange behavior, whit same app on WIZ and Iphone.

Previous topic - Next topic

mentalthink

HI, IÃ,´ve got a question, I donÃ,´t know if I maded something wrong. :(

I stay developing a game for WIZ, and in near future I want port to Iphone. Today making some probes when compile for Iphone in 480x320, the game donÃ,´t make the same behavior than I compile in mode 320x480[this resolution works equal than WIZ, but I need 420x320].

Another trouble is what, in Landscape Mode on Iphone the background shows like ampliated in horizontal, donÃ,´t conserve the real proportion of the image, this background are 2 png with 1800px in horizontal, and 220 px in vertical.

Thanks for your help.
   
Best Regards.

Iván J.

Note:I deleted the command SETCREEN 320,240,true


mentalthink

Hi, I found the solution, sorry for the post.

The solution is put the screen resoluton whitout have fullscreen or setscreen 480,320,0

Best Regards.
  Iván J.

doimus

Also, watch out for textures that are not "power of two" on iPhone. Stick to ...128, 256, 512, 1024 pixels, squared.

Kitty Hello

@domius - no, GLBasic takes care of that.

@mentalthink - for Wiz and iPhone use the screen settings in the project options. Don't do SETSCREEN there.