How to make ios universal fit different devices
Cowuniverse
Member, PRO Posts: 97
I am making a game for both iPhone and iPad. It works well on iPhone, but when I switch to iPad some things get cut off and I have it set to overscan which works mostly. Is there a way to make an actor to detect whether it is on ipad and change its position based on that? Thanks for the help.
Best Answer
-
RabidParrot Formally RabidParrot. Posts: 956
Yes, If the screen size width >=768 set to iPad
If screen size width is < 768 set to iPhone
Answers
You can also use @Lovejoy's very insightful method.
http://forums.gamesalad.com/discussion/86157/my-universal-binary-overscan-secret-weapon/p1
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
My actor doesn't change position when I change to iPad in preview.
iPhone shouldn't be less than or equal to. This conflicts with the iPad rule. It should just be less than.
I made it less than, but it is still not working.
Thanks, it worked. It just didn't work on the preview for me, but all that matters that it works on the iPad. Thanks