Fixed Bugs; Added Mobile Support

This commit is contained in:
Exobyt 2024-08-20 12:17:01 +02:00
parent 956b719e62
commit fdfb6a7d39
35 changed files with 709 additions and 150 deletions

View file

@ -1,17 +1,5 @@
extends Node
@onready var gameTimer = $GameTimer
@onready var scoreLabel = $Camera2D/CanvasLayer/Control/HBoxContainer/ScoreValue
@onready var timeLabel = $Camera2D/CanvasLayer/Control/HBoxContainer2/TimeValue
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
func _physics_process(delta: float) -> void:
scoreLabel.text = str(GLOBAL.points)
timeLabel.text = str(GLOBAL.time)
func _on_game_timer_timeout() -> void:
GLOBAL.time += 1
gameTimer.start(1)