0 votes

I have managed to change the width and height of the viewport using project settings, but this changes the window size on both scenes. I would like one to be landscape and other portrait, How can i do this?

Much Appreciated.

in Engine by (73 points)

1 Answer

+1 vote

I think you have to do this with a script, because in project settings you can only set global options. If you want multiple options for this, use OS functions: http://docs.godotengine.org/en/latest/classes/class_os.html?highlight=portrait#class-os-set-screen-orientation

by (27,774 points)

Thanks i ll take a look accordingly

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.