Initial commit

This commit is contained in:
AXOLOTsh
2026-03-01 08:32:24 +03:00
commit 80e7624617
44 changed files with 2351 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using Godot;
public partial class DebugScreen : Control {
public static DebugScreen? Instance { get; private set; }
[Export]
public RichTextLabel? Text { get; set; }
private string layout = string.Empty;
public override void _Ready() {
layout = Text!.Text;
Instance = this;
}
public override void _Process(double delta) {
var text = layout;
Text!.Text = layout.Replace("{FPS}", Engine.GetFramesPerSecond().ToString());
base._Process(delta);
}
}