Author Topic: Extrange behavior, whit same app on WIZ and Iphone.  (Read 1624 times)

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3372
  • Integrated Brain
    • View Profile
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

 

Offline mentalthink

  • Prof. Inline
  • *****
  • Posts: 3372
  • Integrated Brain
    • View Profile
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.

Offline doimus

  • Dr. Type
  • ****
  • Posts: 284
    • View Profile
Also, watch out for textures that are not "power of two" on iPhone. Stick to ...128, 256, 512, 1024 pixels, squared.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10760
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
@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.