You are viewing our Forum Archives. To view or take place in current topics click here.
VB.NET, Check For Game Win loop [Need Help]
Posted:

VB.NET, Check For Game Win loop [Need Help]Posted:

Oib
  • TTG Senior
Status: Offline
Joined: Jul 19, 201311Year Member
Posts: 1,128
Reputation Power: 47
Status: Offline
Joined: Jul 19, 201311Year Member
Posts: 1,128
Reputation Power: 47
I have an assignment due in tomorrow and i need to get this step done before proceeding, if anyone can help me please get back to me and ill show you what i need help with

Much appreciated..
#2. Posted:
ProJimmyRustler
  • V5 Launch
Status: Offline
Joined: Jul 14, 201410Year Member
Posts: 1,720
Reputation Power: 71
Status: Offline
Joined: Jul 14, 201410Year Member
Posts: 1,720
Reputation Power: 71
I did something like this in C++ by following a tutorial once.

You could create an enum that holds your states, and then create a case or if else statement that has conditions for each of the state. Meaning for the start game state you'll have your main game loop, something like that.

You'll also need a loop that goes through an checks for whether a specific parameter is met, meaning if you are trying to meet a score you'll need a loop that checks for that score to switch the game state.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.