More tweaks but broke the enemy script
This commit is contained in:
16
scripts/stat_display.gd
Normal file
16
scripts/stat_display.gd
Normal file
@@ -0,0 +1,16 @@
|
||||
extends Node3D
|
||||
|
||||
@onready var kills: Label3D = $Kills
|
||||
@onready var deaths: Label3D = $Deaths
|
||||
@onready var shots_fired: Label3D = $"Shots Fired"
|
||||
|
||||
# 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:
|
||||
kills.text = "Kills : " + str(SaveLoad.enemies_killed)
|
||||
deaths.text = "Deaths : " + str(SaveLoad.player_deaths)
|
||||
shots_fired.text = "Shots Fired : " + str(SaveLoad.shots_fired)
|
||||
Reference in New Issue
Block a user