Skip to content

How do you change scene in grow-graphics gd? #111

Answered by Splizard
KameiKojirou asked this question in Q&A
Discussion options

You must be logged in to vote
var next_scene = Resource.Load[PackedScene.Instance]("res://levels/level2.tscn")

var tree SceneTree.Instance  = m.Super().GetTree()
tree.ChangeSceneToFile("res://levels/level2.tscn")
tree.ChangeSceneToPacked(next_scene)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Splizard
Comment options

@KameiKojirou
Comment options

Answer selected by Splizard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants