Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
setting orientation as vertical or horizontal — Gideros Forum

setting orientation as vertical or horizontal

loves_oiloves_oi Member
edited September 2012 in General questions
i'm working on the project OptionsDemo. There , the screen is horizontal but i want to use it as vertical. I couldn't change where i should change in this project. In init.lua there is a line such that :
stage:setOrientation(Stage.LANDSCAPE_LEFT)
Changing only this line to any other lines below :
Stage.PORTRAIT = “portrait”
Stage.PORTRAIT_UPSIDE_DOWN = “portraitUpsideDown”
doesnt' work.
What should i change to do it ?

Comments

Sign In or Register to comment.