2D Toolkit Forum
2D Toolkit => Support => Topic started by: threedaymonk on August 22, 2013, 02:31:50 am
-
Hey y'all,
I am currently using 2 different resolution overrides, one is 640x1136 (iphone 5), and the other is 768x1024 (ipad 2). They are working for the game view when I set it as one of those resolutions, but when I run it on one of those devices it doesn't use an override but just makes it pixel perfect. Although if I set a wildcard override both devices detect that. Any idea what I am doing wrong?
Thanks!
-
It is probably some confusion with landscape / portrait resolutions? Print out Screen.width and Screen.height when running on device - it uses those to detect resolution.
-
For some reason Screen thinks my iPhone 5's resolution is 960 by 640 which is the phone 4s resolution. I'll check the ipad tomorrow and see what it says.
-
Ah sorry I had a player setting wrong so it was forcing all of the resolutions to 960 x 640. It works now thanks!
-
Awesome.