Godot Version
4.3
Question
I am trying to solve my previous issue by dynamically changing the main viewport size when loading the project, but I couldn’t figure out how to do it. I’ve tried the following:
- Changing the project settings in a
_ready
function: Does nothing - Changing the project settings in a
_process
function: Does nothing - Setting
get_viewport().size
in a_ready
function: Does nothing - Setting
get_viewport().size
in a_process
function: Changes the size of the viewport, but without expanding it
What am I doing wrong?