Added level mods and updated sprite imports

This commit is contained in:
Nathan Anderson
2022-08-04 18:05:48 -06:00
parent 417044bfda
commit 7843bf2b8d
19 changed files with 288 additions and 114 deletions
+18
View File
@@ -0,0 +1,18 @@
extends Node2D
onready var time_label := $MarginContainer/HBoxContainer/TimeLabel
onready var game_timer := $GameTimer
func start_timer(seconds: int) -> void:
game_timer.start(seconds)
func _ready() -> void:
start_timer(60)
func _process(delta: float) -> void:
var time = int(game_timer.get_time_left())
time_label.text = "Time %s" % time
func _on_ToolButton_toggled(button_pressed: bool) -> void:
print(button_pressed)