31 lines
1 KiB
Text
31 lines
1 KiB
Text
[gd_scene load_steps=2 format=3 uid="uid://buvye1rl1faon"]
|
|
|
|
[ext_resource type="Script" uid="uid://dvn62r3oriwu8" path="res://globals/debug_overlay.gd" id="1_7e5kj"]
|
|
|
|
[node name="DebugOverlay" type="CanvasLayer" node_paths=PackedStringArray("_fps_counter", "_bullet_counter")]
|
|
layer = 1000
|
|
script = ExtResource("1_7e5kj")
|
|
_fps_counter = NodePath("VBoxContainer/FPS/FPSCounter")
|
|
_bullet_counter = NodePath("VBoxContainer/Bullets/BulletCount")
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
[node name="FPS" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/FPS"]
|
|
layout_mode = 2
|
|
text = "FPS:"
|
|
|
|
[node name="FPSCounter" type="Label" parent="VBoxContainer/FPS"]
|
|
layout_mode = 2
|
|
|
|
[node name="Bullets" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/Bullets"]
|
|
layout_mode = 2
|
|
text = "Total Bullets"
|
|
|
|
[node name="BulletCount" type="Label" parent="VBoxContainer/Bullets"]
|
|
layout_mode = 2
|