Debug stats and nonfunctional bursts

This commit is contained in:
Marco 2024-11-11 15:41:34 +01:00
commit e6448c7f0a
6 changed files with 258 additions and 34 deletions

11
Scenes/debug_stats.tscn Normal file
View file

@ -0,0 +1,11 @@
[gd_scene load_steps=2 format=3 uid="uid://cio2gclfs7s37"]
[ext_resource type="Script" path="res://Scripts/DebugStats.cs" id="1_22s7t"]
[node name="DebugStats" type="MarginContainer"]
offset_right = 40.0
offset_bottom = 40.0
script = ExtResource("1_22s7t")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2

View file

@ -1,9 +1,10 @@
[gd_scene load_steps=6 format=3 uid="uid://cwfaxgr8pgfga"]
[gd_scene load_steps=7 format=3 uid="uid://cwfaxgr8pgfga"]
[ext_resource type="Script" path="res://Scenes/game.gd" id="1_s0gpj"]
[ext_resource type="Script" path="res://Scenes/PixelPerfectRendering.gd" id="2_gdejn"]
[ext_resource type="PackedScene" uid="uid://bv451a8wgty4u" path="res://Scenes/test.tscn" id="3_l2ygy"]
[ext_resource type="Script" path="res://Scenes/SubViewportSprite.gd" id="4_adb7a"]
[ext_resource type="PackedScene" uid="uid://cio2gclfs7s37" path="res://Scenes/debug_stats.tscn" id="5_ixk64"]
[sub_resource type="ViewportTexture" id="ViewportTexture_m5h5j"]
viewport_path = NodePath("PixelPerfectRendering/SubViewport")
@ -30,3 +31,5 @@ position = Vector2(960, 540)
scale = Vector2(6, 6)
texture = SubResource("ViewportTexture_m5h5j")
script = ExtResource("4_adb7a")
[node name="DebugStats" parent="." instance=ExtResource("5_ixk64")]