zapposh
If it's alright with you, can you share your working code? I tried connecting the "size_changed" signal but it doesn't work. I'm probably missing something because I'm very new to Godot.
Here's my current code for the main scene's Node:
extends Node
var root: Viewport
func _ready():
print("Getting ready...")
root = get_tree().get_root()
root.connect("size_changed", _on_size_changed)
func _process(delta):
pass
func _on_size_changed():
print("Resizing window")
I tried resizing my window, but I can't get it to print.