How to utilize binary flags in games

Level:
Level2

Binary is the base two number system that computers use to store variables in the RAM / memory. The number system consists of 0's and 1's. This visual basic 6 source code sample shows how you can utilize binary values to store attributes for players and enemies in a VB6 game. If you would like a step by step example check out our How to utilize binary flags in your VB code tutorial.

 

Download Visual Basic 6 sample source code  

If you enjoyed this post, subscribe for updates (it's free)

broken link :S

broken link :S

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.