Added GameOver screen and win/death logic. Game can now officially be finished (Positive and Negative)

This commit is contained in:
2026-05-09 15:23:10 +02:00
parent 5eab205a9c
commit 78d1014067
3 changed files with 76 additions and 4 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ public partial class World : Node3D
public override void _Process(double delta)
{
GameData.survival.Update(delta);
survival.Update(delta);
if (!canMove) return;
if (Input.IsActionJustPressed("layer_up") && currentLayer > 0) currentLayer--;
@@ -308,4 +308,4 @@ public partial class World : Node3D
}
}
}
}
}