Adds in-game debug menu addon

Adds an in-game debug menu that displays performance metrics (FPS, frame times) and hardware/software information.

The menu can be toggled using the F3 key (or a custom input binding). It has different display styles, ranging from a compact FPS display to a detailed view with graphs and system information.
This commit is contained in:
Dan Baker 2025-05-04 17:53:46 +01:00
parent 214e0aa5e0
commit ff62d67f54
37 changed files with 1484 additions and 49 deletions

View file

@ -1,7 +1,8 @@
[gd_scene load_steps=4 format=3 uid="uid://cfkusqucsap26"]
[gd_scene load_steps=5 format=3 uid="uid://cfkusqucsap26"]
[ext_resource type="Script" uid="uid://begwu0icmrxyw" path="res://map/map.gd" id="1_l804v"]
[ext_resource type="TileSet" uid="uid://c66l102pgntht" path="res://assets/sprites/tilesets/forest.tres" id="2_3nv2f"]
[ext_resource type="PackedScene" uid="uid://cait7d0k1kmsq" path="res://enemies/test_enemy.tscn" id="4_raxr4"]
[ext_resource type="PackedScene" uid="uid://bo5aw2cad3akl" path="res://player/player.tscn" id="5_3nv2f"]
[node name="Map" type="Node2D"]
@ -17,3 +18,7 @@ tile_set = ExtResource("2_3nv2f")
tile_set = ExtResource("2_3nv2f")
[node name="Player" parent="." instance=ExtResource("5_3nv2f")]
position = Vector2(20, 20)
[node name="TestEnemy" parent="." instance=ExtResource("4_raxr4")]
position = Vector2(87, 72)