From 6afc0f3424f29bf71325033146b90d41224aeb91 Mon Sep 17 00:00:00 2001 From: Martin Felis Date: Sun, 11 Jun 2023 12:45:09 +0200 Subject: [PATCH] Minor Scene and GUI cleanup. --- scenes/Game.cs | 37 +++--- scenes/Game.tscn | 302 +++++++++++++++++++++++++---------------------- 2 files changed, 180 insertions(+), 159 deletions(-) diff --git a/scenes/Game.cs b/scenes/Game.cs index be2a6cb..0bccc78 100644 --- a/scenes/Game.cs +++ b/scenes/Game.cs @@ -43,29 +43,36 @@ public class Game : Spatial // Called when the node enters the scene tree for the first time. public override void _Ready() { + // debugStatsContainer + Container debugStatsContainer = (Container) FindNode("DebugStatsContainer"); + + _framesPerSecondLabel = debugStatsContainer.GetNode