Made it save your high score whenever you hit a poison berry

I'm gonna add a pause menu later and whenever you go back the main menu
with that it will save your high score there too.
This commit is contained in:
Puppet committed 2025-10-12 17:08:59 -07:00
1 parent 1b52cae9c5
commit 330258f987
6 files changed
+50 -12

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
using Godot;
using System;
public partial class LoadSaveFIle : Control {
public override void _Ready() {
Globals.HighScore = int.Parse(BazookaManager.Read(BazookaManager.HighScore, "0"));
}
}