Different Scenes for Different Resolutions?
richcoy
Member Posts: 211
I'm working on a word game. There are a lot of actors set on the screen. I hate the look of letterbox for legacy iPhone landscape so I want to avoid that while still giving iPhone 5 owners all the room they can use.
I'm thinking of having two identical scenes for my game play scene and when you hit the play button it detects your size and sends you to the correct scene for your device. I believe this is possible, though I don't remember where I saw the code to do this.
Is this the best way to handle this issue? Am I overlooking something that will come back to bite me later?
Thanks.
Rich
I'm thinking of having two identical scenes for my game play scene and when you hit the play button it detects your size and sends you to the correct scene for your device. I believe this is possible, though I don't remember where I saw the code to do this.
Is this the best way to handle this issue? Am I overlooking something that will come back to bite me later?
Thanks.
Rich
Comments
Add a rule, If device.screen.size.width/height = 568 Change change scene to (your scene).
You can make a scene at start of your project, and depends of device screen set the screen scene for all project.
Let me see, i have bookmarked that
Look that
http://forums.gamesalad.com/discussion/51889/help-with-screen-res-iphone-5-and-4#latest