-
IOS Window Controll ?
Hi there,
Been fooling around with the object Window controll and noticed it doesn't seem to be supported for the IOS exporter...
Have anyone of you guys manage to get information like screen height and lenght from the device the app is on ?
And have you managed to change the frame window to same format the phone screen is ?
Kind of want my app to have diffrent screen formats depending on what phone it is on, if that makes seens.
(16:9, 15:10 and so on)
-
You don't need the WIndow Control object to do this. Check out this article:
http://community.clickteam.com/threads/74189-Scaling-for-iPhone-5-and-iPad-HOW-TO-DO-IT-RIGHT
Set the apps properties to use Display: Fit inside and adjust window size
Set your apps screen size to 640x960
Set your frame size to 720x1136
You should find that you get different results for:
X coordinate of right visible edge (eg 640 for iPhone 3, 720 for iPad, 640 for iPhone 5)
Y coordinate of bottom visible edge (eg 960 for iPhone 3, 960 for iPad, 1136 for iPhone 5)
-
thx, gonna look alot better once it gets implemented to my game :)