fullscreenmode iphone 5

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sirobchGA0cda
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 47
Joined: Wed Dec 21, 2011 10:42 am
Contact:

fullscreenmode iphone 5

Post by sirobchGA0cda »

Hi all,
I test the function fullscreenmode with 2 images:
image.png
image@2x.png.
During the simulation, with the IOS simulator for the resolution 320 x 480 and 640 x 960, my image is proportional, and it works.
For the simulation of the iphone 5 (640 x 1136) The image is distorted.
I tried with all options (exactFit, noBorder ..) it remains distorted.
How to avoid this distortion ?
Thank you in advance for your answers.
Boris
My application "GeoMaths" is available on Itunes and Google Play !
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: fullscreenmode iphone 5

Post by Mark »

Hi Boris,

In what way is it distorted? Is the aspect ratio wrong, perhaps something is wrong with the colours, or do you see strange lines and patterns?

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
sirobchGA0cda
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 47
Joined: Wed Dec 21, 2011 10:42 am
Contact:

Re: fullscreenmode iphone 5

Post by sirobchGA0cda »

Hi Mark,
Thanks for your answer.
The aspect ratio of the image between its width and its height is not respected.
Best regards
Boris
My application "GeoMaths" is available on Itunes and Google Play !
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: fullscreenmode iphone 5

Post by Mark »

Hi Boris,

Do you have any kind of resizing script to set the size of the image? Do you use the geometry manager? Have you tried setting the fullscreenMode to letterbox or empty?

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
sirobchGA0cda
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 47
Joined: Wed Dec 21, 2011 10:42 am
Contact:

Re: fullscreenmode iphone 5

Post by sirobchGA0cda »

Hi Mark,
I have tested with letterBox, and it's perfect, the aspect ratio is respected. :D
I do not understand why I haven't tried this option.

thank you very much

Best regards
Boris
My application "GeoMaths" is available on Itunes and Google Play !
Post Reply