Hi guys
Is there a class floating around, or an easy way to find the top of the screen, regardless the scaling mode used, or the dimensions of the device. I looked but can't find anything that works.
Basically, I need a ui bar to be at the top of the screen, whether the screen is square or rectangular.
Thank you in advance!
Comments
Likes: Ninjadoodle
I know of a hard way to do it, but I'm hoping there is something cleaner/simpler.
If you have any other ideas that would be awesome.
Likes: Ninjadoodle
320x480 is perfect fit for iPhone 4, but on newer devices, my game shows more of the background. With the scaling mode above, it still seems to be sticking to the top of the 480 height.
Thanks heaps!
Change the resolution of the player (Hardware > Resolution menu in player) and press CTRL + r to restart the test. You will see that no matter what resolution you use the red bar will always be placed at the top left.
Does this work for you?
Likes: Ninjadoodle
Thanks again!!
Likes: antix
Likes: antix
Likes: simwhi, Ninjadoodle
@antix - If you can't solve it by then, hopefully the coming Gideros release will help with the issues. I wish I could help, but thats way over my head atm. I haven't even tried publishing an app full stop, so I'm dreading the process.
Likes: antix, Ninjadoodle
Likes: antix