summaryrefslogtreecommitdiff
path: root/demos/2d/space_shooter/main_menu.gd
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/space_shooter/main_menu.gd')
-rw-r--r--demos/2d/space_shooter/main_menu.gd11
1 files changed, 0 insertions, 11 deletions
diff --git a/demos/2d/space_shooter/main_menu.gd b/demos/2d/space_shooter/main_menu.gd
deleted file mode 100644
index 0c7e0de542..0000000000
--- a/demos/2d/space_shooter/main_menu.gd
+++ /dev/null
@@ -1,11 +0,0 @@
-
-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")