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