bullet counter

This commit is contained in:
Haze Weathers 2025-12-14 16:02:46 -06:00
parent 3f2b7e3bd3
commit 5f732e1e6f
7 changed files with 30 additions and 2 deletions

View file

@ -3,7 +3,12 @@ extends CanvasLayer
@export_group("Internal References")
@export var _fps_counter: Label
@export var _bullet_counter: Label
func _process(delta: float) -> void:
if not visible:
return
_fps_counter.text = str(Engine.get_frames_per_second())
_bullet_counter.text = str(get_tree().get_node_count_in_group(&"bullets"))