G
Garrzilla
Guest
I am making a mobile game that has different shaped levels. I want to be able to zoom in or out depending on the height of the level. I want it to fill in the level size square in this image:
I know how to do the calculation comparing the level height to the template max height, but not sure what camera function to use. I tried camera_set_view_size but it changes the size of everything, sprites and room tiles/objects.
Here is a better example of what I'm talking about:
All of the GUI elements are created when the room loads, so the only objects in the room are for the level. I want to be able to resize just the level portion and not the GUI buttons/sprites
I know how to do the calculation comparing the level height to the template max height, but not sure what camera function to use. I tried camera_set_view_size but it changes the size of everything, sprites and room tiles/objects.
Here is a better example of what I'm talking about:
All of the GUI elements are created when the room loads, so the only objects in the room are for the level. I want to be able to resize just the level portion and not the GUI buttons/sprites