• Godot Help
  • Proper workflow to have both a vertical and a horizontal layout?

Hi!
I'm trying to make a project that has different interfaces when on landscape and on portrait resolutions, but I don't know what would be the best way to do it. This is what I've tried so far:

  • As the project is originally at 1280x720, I tried to make a scene for the vertical layout, so I designed the interface "out of bounds", like this:

    And then flip the viewport, but I couldn't get the expected results, and this also feels very hacky. Maybe I wasn't flipping the viewport the right way?
  • Then I tried to create a new scene for the vertical layout, but this time keeping the landscape proportions, and designing the vertical interface in landscape, but anchoring controls in a way that, when the aspect ratio is flipped, the controls fall in the right place. This is not a bad compromise, the only issue is that I can't see the final, vertical design on the editor, and probably is not the way to do it?

Thanks for any help!

    potajito Did you try the @tool ??

    some_script.gd

    @tool 
    var lol = "Lol"
    
    func _ready():
        blah blah..