Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Incorrect choice of graphics for stretch mode — Gideros Forum

Incorrect choice of graphics for stretch mode

john26john26 Maintainer
edited November 2013 in Bugs and issues
I thought I'd start a new thread on this as I now think it may be a bug. And it's quite serious as it means many Gideros apps running on Android will chose the wrong graphics set for the most popular Android devices.

My game has logical dimensions 320x480 and @2x graphics as well as base. I am testing on resolution 480x854 in the simulator using stretch mode. That's a scaling of 1.5 in the x-direction and 1.779 in the y-direction. Now in stretch mode, According to @atilim, Gideros should take the average scaling which is (1.5+1.779)/2=1.6395. Since this is (much) closer to 2 than it is to 1, it should chose the @2x graphics. However, it chooses the base graphics instead.

This is serious as most Android devices have a resolution roughly as mentioned above so many users will get a sub optimal experience.

Likes: hgvyas123

+1 -1 (+1 / -0 )Share on Facebook

Comments

Sign In or Register to comment.