Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
What is the Size of the stage? — Gideros Forum

What is the Size of the stage?

OZAppsOZApps Guru
edited May 2013 in General questions
The size of the stage seems to be the size of the items visible on the stage.
 local image = Bitmap.new(Texture.new("box.png"))
 stage:addChild(image)
 
 print(stage:getWidth(), stage:getHeight(), application:getDeviceWidth(), application:getLogicalWidth())
now you can try to scale the image and see how the size of the stage varies with it. So what is the actual size of the stage? Is it the rootViewController that needs to be resized to get a full screen rendering if the stage is moved between windows??
twitter: @ozapps | http://www.oz-apps.com | http://howto.oz-apps.com | http://reviewme.oz-apps.com
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Sign In or Register to comment.