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:
1 parent
1b52cae9c5
commit
330258f987
6 files changed
+50
-12
No files matched your search
@@ -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"));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user