Save Highscore
Hey Guys,
does anyone of you have a good Idea how I can make a better Highscore-System for my released Game?
For now I am using a txt-file with one highscore
I want to make a highscore-list with 10 highscores and maybe names. It also shouldnt be that easy to hack it.
I hope you can help me
SMDUCK
does anyone of you have a good Idea how I can make a better Highscore-System for my released Game?
For now I am using a txt-file with one highscore
Code:
Private Sub Form1_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
TextBox1.Text = System.I0.File.ReadAllText("Highscore.txt")
If Val(TextBox1.Text) < Label6.Text Then
Using Highscore As New System.I0.StreamWriter("Highscore.txt")
Highscore.WriteLine(Label6.Text)
Highscore.Flush()
MsgBox("New Highscore")
End Using
End If
End Sub
I hope you can help me
SMDUCK
