Rework loading maps to be asynchronous, change debug menu so that its not completely pausing the game

This commit is contained in:
2025-09-26 14:05:05 -07:00
parent 578cde65cc
commit 9107b8c570
10 changed files with 164 additions and 95 deletions

View File

@@ -1,20 +1,12 @@
using Chickensoft.AutoInject;
using Chickensoft.Introspection;
using Godot;
using Zennysoft.Game.Ma;
[Meta(typeof(IAutoNode))]
public partial class LoadingScreen : Control
{
public override void _Notification(int what) => this.Notify(what);
public override void _Process(double delta)
{
if (Input.IsActionJustPressed(GameInputs.Next))
{
}
if (Input.IsActionJustPressed(GameInputs.Previous))
{
}
}
[Node]
public ProgressBar ProgressBar { get; set; } = default!;
}