Constrain game size to device screen size
caiokawasaki
Member Posts: 68
What do you think about that? On the menu scene i want to put some rules that will change the game display size to the device screen size, with that i want to make my game able to all the android devices... What do you think about that? Should it work?
Comments
There's more to it than resizing the game display size, but that's a good place to start.
NOTE: Scene resizing does NOT work properly if the actor is in the scene when the scene loads. You should spawn the actor controlling the scene size AFTER the scene loads.
Roy.
example: the iphone size is 480x320 i want to create any rules to resize the game to an 800x600 device...
do you understand?
Its the fighting with overscaning i think:
http://cookbook.gamesalad.com/tutorials/1/parts/50
Cause im not sure its even possible.. you can play with the camera but not with game size
Roy.
Can you share a simple template? im not sure I'm following what you refer to when you say resize a game size.. it sounds like you are saying you can stretch the game display size during runtime (not the camera but the actual display size), and I'm trying to do it, it doesn't work.
Roy.