Need advice about changing position by using device screen dimensions
Guardian
Member Posts: 54
Hi Guys,
I'm trying to make a game that fits on any device without cropping or letter boxing by basing my position on the screen size.
For instance... Change attribute: self.Size.Width to game.Screen.Size.Width
I was hoping this would fill the screen on any device but it seems I still get black borders on the iPhone preview.
Also asa side note if I use this technique positions are all screwy in preview at 50%...
Any advice for making a game that fits all devices without letter boxing and chopping bits of the game off would be really appreciated.
Thanks in advance,
Guardian
I'm trying to make a game that fits on any device without cropping or letter boxing by basing my position on the screen size.
For instance... Change attribute: self.Size.Width to game.Screen.Size.Width
I was hoping this would fill the screen on any device but it seems I still get black borders on the iPhone preview.
Also asa side note if I use this technique positions are all screwy in preview at 50%...
Any advice for making a game that fits all devices without letter boxing and chopping bits of the game off would be really appreciated.
Thanks in advance,
Guardian
Comments