summaryrefslogtreecommitdiffstats
path: root/top.tscn
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-28 19:00:05 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-28 19:05:06 +0200
commite07895be01b6bc7f813bbc392cc7852ffaf5e07b (patch)
tree0d925585d978e99e70549aa5e0eae49cac9b7947 /top.tscn
parent6173a0c4e1b41628532a37f0638339b0724b445e (diff)
Add debug info display
Diffstat (limited to 'top.tscn')
-rw-r--r--top.tscn13
1 files changed, 12 insertions, 1 deletions
diff --git a/top.tscn b/top.tscn
index 011fcbb..f35b2ed 100644
--- a/top.tscn
+++ b/top.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=12 format=3 uid="uid://cey3jxnpmommt"]
+[gd_scene load_steps=13 format=3 uid="uid://cey3jxnpmommt"]
[ext_resource type="Material" uid="uid://bb4b8jm2tyy81" path="res://mat_palette.tres" id="1_edsjh"]
[ext_resource type="Script" uid="uid://dxbspy72bg0db" path="res://top.gd" id="1_on2c2"]
@@ -7,6 +7,7 @@
[ext_resource type="Script" uid="uid://civ5a43u5151a" path="res://transition_player.gd" id="6_ch5ua"]
[ext_resource type="Script" uid="uid://dh0b4xa4f8h1o" path="res://pause_menu.gd" id="6_ql50d"]
[ext_resource type="PackedScene" uid="uid://clm2kocuhjqbb" path="res://map_room.tscn" id="7_ql50d"]
+[ext_resource type="Script" uid="uid://bwdk675n1q0dh" path="res://debug_info.gd" id="8_7c27k"]
[sub_resource type="Animation" id="Animation_58ij3"]
length = 0.001
@@ -235,3 +236,13 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
+
+[node name="DebugInfo" type="CanvasLayer" parent="."]
+scale = Vector2(0.125, 0.125)
+transform = Transform2D(0.125, 0, 0, 0.125, 0, 0)
+script = ExtResource("8_7c27k")
+
+[node name="Label" type="Label" parent="DebugInfo"]
+offset_right = 40.0
+offset_bottom = 23.0
+text = "debug info"