Skip to content

Instantly share code, notes, and snippets.

@ealbinu
Last active December 19, 2019 10:55
Show Gist options
  • Save ealbinu/7679077862113ee90efea38de1ba75ff to your computer and use it in GitHub Desktop.
Save ealbinu/7679077862113ee90efea38de1ba75ff to your computer and use it in GitHub Desktop.
Cambiar de escena en Godot
extends Control
func _on_Button_pressed():
get_tree().change_scene("res://scenes/Nivel1.tscn")
pass # Replace with function body.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment