GMTKJam2021/GameEnd.gd

11 lines
183 B
GDScript3
Raw Normal View History

extends Node
var score
func _ready():
$ColorRect/VBoxContainer/value.text = String(score)
func _on_New_Game_pressed():
get_tree().change_scene("res://World.tscn")
2021-06-13 19:47:45 +02:00
queue_free()