Fixed Bugs; Added Mobile Support
This commit is contained in:
parent
956b719e62
commit
fdfb6a7d39
35 changed files with 709 additions and 150 deletions
14
scenes/Grid/camera_2d.gd
Normal file
14
scenes/Grid/camera_2d.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
extends Camera2D
|
||||
|
||||
@onready var scoreLabel = $CanvasLayer/Control/HBoxContainer/ScoreValue
|
||||
@onready var timeLabel = $CanvasLayer/Control/HBoxContainer2/TimeValue
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
scoreLabel.text = str(GLOBAL.points)
|
||||
timeLabel.text = str(GLOBAL.time)
|
||||
Loading…
Add table
Add a link
Reference in a new issue