mirror of
https://github.com/mightypanders/GMTKJam2021.git
synced 2025-01-30 21:59:55 +01:00
11 lines
183 B
GDScript
11 lines
183 B
GDScript
extends Node
|
|
|
|
var score
|
|
|
|
func _ready():
|
|
$ColorRect/VBoxContainer/value.text = String(score)
|
|
|
|
func _on_New_Game_pressed():
|
|
get_tree().change_scene("res://World.tscn")
|
|
queue_free()
|