![]() ![]() Zoomout = 0.625To get our scale factor, we divide our screen width by the stage's total width: ![]() However, if we allow the stage to zoom out to the entire stage width we would see these settings instead: The maximum zoomout dimensions are also automatically factored into the camera bounds, so there is some math involved in order to keep your stages in bounds.īoundright = 192For a high resolution stage (640x480) of size 1024x1024, these are the camera settings you'd expect to have. Zoomin should usually be kept at the default value of 1.0 while zoomout will be a value less than one and greater than 0. Stages now support the zoomin and zoomout parameters which determine the minimum and maximum amount of the stage that can be shown at once. I realize not many people have access to the alpha version of 1.1 at this time but nevertheless this thread should save people a lot of headache when the public release rolls around. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |