Added a pause menu

It was actually not that difficult surprisingly. Adding this was pretty
fun.
This commit is contained in:
Puppet committed 2025-10-12 18:31:46 -07:00
1 parent 330258f987
commit 66ca286ea9
9 files changed
+160 -14

No files matched your search

+5 -2
View File
@@ -6,9 +6,12 @@ public partial class Berries : Node2D {
public override void _Process(double delta) {
Vector2 Pos = Position;
Pos.Y += 500f * (float)delta;
SpawnBerryTimer += (float)delta;
if (!Globals.IsPaused) {
Pos.Y += 500f * (float)delta;
SpawnBerryTimer += (float)delta;
}
int ScreenWidth = DisplayServer.WindowGetSize().X;