May VB Guru - How to Create Video Games in VB.Net (Windows Forms)

Congratulations to Reed Kimble, our VB Guru winner for May 2013! To find all the competitors for May (and more information about this monthly contest), see the Wiki article: TechNet Guru Awards, May 2013 .

Reed Kimble's avatar 

About Reed: [Adult Swim] fan, EQII player, and has broad interests in computers, electronics, and programming. Enjoys outdoors in forest, mountain, and/or secluded lake settings. Fascinated by social and spiritual aspects of humanity.


Reed won with this fantastic contribution:

How to Create Video Games in VB.Net (Windows Forms)


Here are our three winners:

Visual Basic Technical Guru - May 2013

Gold Award Winner


Reed Kimble How to Create Video Games in VB.Net (Windows Forms)
  • "This article starts out super well."
  • "The how to create a video game article was a subject that is often asked about in places like the forums. It addressed the subject with well written text and code examples to match."
  • "It was pitched at just the right level for hobbyist/early learners that are often the ones trying to achieve this."
  • "It covers very well the concept of a game loop and how to make one somewhat performant (best made-up word ever)."


Silver Award Winner


Paul Ishak How to convert a 32bit integer into a color
  • "I like how this article walked me through each aspect of the code, showing snippets of each section. It felt more professional." 
  • "It does address an important item about breaking values into their constituent byte values. The code examples are simple and straightforward and easy to understand without even a need to have VB running."
  • "Well-written; it explains another concept that mature developers might take for granted."

Bronze Award Winner


Paul Ishak Virtual memory in Visual Basic.Net
  • "Nice code sample."
  • "Was actually the most informative in some ways, particularly for the professional developer."


Here is an excerpt from the article:


How to Create Video Games in VB.Net (Windows Forms)

I realize that this is a very popular subject, especially amongst budding developers. The drive to create games may be the reason you started working with Visual Basic in the first place. After stepping through a few samples and getting the hang of working with user controls on a form, it may be very tempting to start to throw some PictureBoxes and a Timer on a Form and start to implement some game logic. Seems easy enough, right?

To some extent, this is a true statement. You could start to do this and it would be easy enough… at first. But when you begin to try to calculate collision and animate or rotate your “sprites”, you may start to run into some difficulty. And attempts to circumvent the problems often lead to even worse issues. This can cause an endless spiral of misery which could leave you thinking VB just isn’t meant to make games! ;)

The initial problem that most people face is the desire to use a PictureBox (or any other control) as the logical “Sprite” container for the elements in the game. It makes sense since the control appears to provide a lot of the required functionality already and it’s easy to extend it with more properties as needed.



Read the entire article here:

How to Create Video Games in VB.Net (Windows Forms)


Thanks again to Reed Kimble for a great contribution! You can read about all the May winners here: TechNet Guru Awards - May 2013


Are you ready for a new group of winners for June! We're almost there! See all the June contributors here: TechNet Guru June Roundup & Commentary


Wiki while you work! (or whilst on break)

   - Ninja Ed