Added a score system

This commit is contained in:
Puppet committed 2025-08-28 23:48:06 -07:00
1 parent bee846c3ba
commit 87bbaafb75
5 files changed
+70 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
using Godot;
using System;
public partial class ScoreText : Control {
public override void _Process(double delta) {
Label ScoreText = GetNode<Label>("ScoreLabel");
Label HighScoreText = GetNode<Label>("HighScoreLabel");
ScoreText.Text = "Score: " + Globals.Score;
HighScoreText.Text = "High Score: " + Globals.HighScore;
}
}