extends SceneTree func _init(): print("_init called") # Add a simple node to trigger processing var n = Node.new() n.name = "test" n.set_process(true) root.add_child(n) print("Node added") func _process(delta: float) -> bool: print("_process called: delta=", delta) if frame_count > 5: print("Quitting after 5 frames") quit(0) return true frame_count += 1 return true var frame_count := 0