Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Multi Resolution Images not displaying properly in Example project — Gideros Forum

Multi Resolution Images not displaying properly in Example project

bernardbernard Member
edited October 2012 in General questions
Hi

While investigating Multi-Resolution images I came across this Wiki article

http://www.giderosmobile.com/documentation/automatic_image_resolution.html

It says to run the example project "Hardware/Automatic Image Resolution" which I did. This project has very simple code:
local image = Bitmap.new(Texture.new("image.png", true))
stage:addChild(image)
However when I run this sample using the Gideros player I get improper results for everything except for the iPhone.

iPhone - 320x480 and Retina - 640x960 - image displays correctly at the top left(0,0)


iPad - Both normal and Retina - image displays with white space to the LEFT of the image - NOT at 0,0 as expected
iPhone5 = Both Normal and Retina - image displays with white space at the TOP of the image - NOT at 0,0 as expected.

And the same result when running on my iPad player - White space on the left.

Is this a bug or how to get images to display at 0,0 at any resolution?

Comments

Sign In or Register to comment.