Import test project as example

TODO: update gitlab-ci template to also use the test-project
This commit is contained in:
abarichello
2020-05-18 16:17:43 -03:00
parent 3e18735be5
commit 9fd1c3aee0
50 changed files with 2453 additions and 16 deletions

15
test-project/scripts/HUD.gd Executable file
View File

@@ -0,0 +1,15 @@
extends Control
func _ready():
pass
# --- Signals ---
func _on_Theme_Button_pressed(button_index: int) -> void:
GLOBAL.update_global_theme(button_index)
func _on_StartButton_pressed():
get_node("/root/Main").emit_signal("start_zoom_out")
get_node("/root/Main/Game/EnemyGenerator").emit_signal("start")
get_node("/root/Main/Game/Player").emit_signal("unblock")
self.hide()