2015-06-11 12:55:38 +00:00
|
|
|
|
|
|
|
extends Control
|
|
|
|
|
|
|
|
|
|
|
|
func _ready():
|
2015-11-21 15:13:43 +00:00
|
|
|
get_node("score").set_text("HIGH SCORE: " + str(get_node("/root/game_state").max_points))
|
2015-06-11 12:55:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
func _on_play_pressed():
|
2015-11-21 15:13:43 +00:00
|
|
|
get_node("/root/game_state").points = 0
|
2016-04-02 10:35:23 +00:00
|
|
|
get_tree().change_scene("res://level.tscn")
|