Every great game has a fun highscore manager. This allows users to compete with each other and gives them a sense of accomplishment as they take of that top score. With this in mind as we develop a Visual Basic game we must be thinking of how best to store and display the high scores. This VB6 source code sample demonstrates just how to accomplish this. If you would like to see step by step directions for this source check out our Building a highscore manager in VB6 Tutorial.
Download Visual Basic sample source code
Comments
China Tour
China TourChina ToursChina Travel AgencyTours In ChinaTour In ChinaTravel In ChinaChina Travel
Great Wall Tours
Beijing Tour
Beijing Tours
Tour In Beijing
Tours In Beijing
Travel In Beijing
Beijing Coach Tours
Beijing Bus Tour
Beijing Bus Tours
Beijing Coach Tour
Beijing Day Tours
Beijing Day Tour
Xian Tour
Xian Tours
Guilin Tour
Guilin Tours
Yunnan Tour
Yunnan Tours
Shanghai Tours
Shanghai Tour
Zhangjiajie Tour
Zhangjiajie Tours
Tibet Tours
Tibet Tour
muscle forum
What is exactly the bug dave? Could you describe it
bug
Private Sub Form_Load()Randomize
Number = Rnd * 100 + 1
Highscore.LoadScores 4, 999, "Empty", "Guess", False
MsgBox Number
End Sub
In this sub Number is supposed to be a random number between [1,100] but with the actual code the range
will be [1,101]
Two solutions are:
Number = Rnd * 99 + 1
or
Number = Int (Rnd * 100) + 1
Regards
Dave from México
Post new comment