23cf6a85bd
Part of #4196.
11 lines
238 B
GDScript
11 lines
238 B
GDScript
|
|
extends Control
|
|
|
|
|
|
func _ready():
|
|
get_node("score").set_text("HIGH SCORE: " + str(get_node("/root/game_state").max_points))
|
|
|
|
|
|
func _on_play_pressed():
|
|
get_node("/root/game_state").points = 0
|
|
get_tree().change_scene("res://level.tscn")
|