Scalable game?
PeterNorth
Member, PRO Posts: 7
Hello,
I've set all of my actors positions to fractions, such as Game.Screen.Size.Width/2 so the game would be compatible with different screen sizes. However, when I attempt to test its functionality by changing the platform. The positions are still relevant to the initial platform. For example, actors set to move to Game. Screen. Size.Width/2, when I change the platform from iPhone portrait to iPad portrait, it still goes to the iPhone portrait position.
How do I resolve this issue?
Much appreciated,
-Peter
Comments
This is happening to me too. I'm relatively new, but from what I am gathering through debugging is that it is because in "Project Info" you may have selected "iPhone Portrait, which is where everything is fine when you are viewing as an iPhone portrait. However, the visible area scene is scaled up the iPad - so you'll see the same area - except when behaviors reference screen size width, which will go off the screen. So it probably makes most sense to create the project as an iPad game and then scale down. At least that is what I am gathering from researching previous questions in the forums. If I am wrong, I'll edit this post.