GLBasic forum

Main forum => GLBasic - en => Topic started by: mentalthink on 2010-Jan-28

Title: Extrange behavior, whit same app on WIZ and Iphone.
Post by: mentalthink on 2010-Jan-28
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

Title: Re: Extrange behavior, whit same app on WIZ and Iphone.
Post by: mentalthink on 2010-Jan-28
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.
Title: Re: Extrange behavior, whit same app on WIZ and Iphone.
Post by: doimus on 2010-Jan-28
Also, watch out for textures that are not "power of two" on iPhone. Stick to ...128, 256, 512, 1024 pixels, squared.
Title: Re: Extrange behavior, whit same app on WIZ and Iphone.
Post by: Kitty Hello on 2010-Jan-29
@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.