By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,571 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,571 IT Pros & Developers. It's quick & easy.

Combo Streak in a game how do you save them when resetting to 0

P: 1
Im making this game its kinda like dance dance revolution and I can quite figure out how to save the highest streak of a combo so the combo streak does well every time you hit an arrow Combo_Counter increment by 1 and if you miss 1 your Combo_Counter reset to 0 its all good but I want to save the highest combo streak and dont quite know what to do. Here is a sample of my code:

Expand|Select|Wrap|Line Numbers
  1.         Combo_Count.Text = Combo_Counter
  2.         Combo_Counter_2 = Combo_Counter
  3.         If Combo_Counter >= 1 Then
  4.             Combo.Visible = True
  5.             Combo_Count.Visible = True
  6.         End If
  7.         If Combo_Counter = 0 Then
  8.             Combo.Visible = False
  9.             Combo_Count.Visible = False
  10.         End If
Nov 14 '13 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.