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

Comments (11)

  1. horry says:

    I was windows8 professional edition, through the official website of the 8.1 patch after the restart and then 1.95G in the app store to install, installed and restart, but over very smooth, also appeared a small goldfish vomit bubble phenomenon, but after half an hour, I was very happy, but he actually said installation failure, in the horizontal blue stripe appeared on the cause of the error data, has returned to the win8 state. Help ah, I only came here for help.

  2. Ed Price - MSFT says:

    You can ask that question here: answers.microsoft.com/…/windows8_1_pr

    Thanks!

  3. Ed Price - MSFT says:

    I added Reed's picture and bio (and some links at the bottom of the blog post).

  4. Naomi N says:

    I enjoyed that article – very well written.

  5. Pema says:

    Can you make my project which is Tetris Game Created by Vb.Net and all blocks are in cross shape???can you please???thank I need it urgent for my school project thank!!

  6. Pema says:

    Additional All falling blocks are Cross shape thanks

  7. hassan sayed issa20014 says:

    Congratulations

  8. Anonymous says:

    ,Belstaff 554 Khakihttp://www.belstaffsonlin Belstaff 554 Khaki e.com/belst mens burning skull embroidered leather vest aff-men-heritage-shearling-shoreham-jacket-golden-khaki

    The woman at the forefront of negotiations between the U.S. and Iran is no

  9. Anonymous says:

    ,Be Belstaff trialmaster Classic tourist Trophy waxed cotton motorcycle jacket lstaff trialmaster Classic tourist belstaff brad jacket brown Trophy waxed cotton motorcycle jackethttp://www.belstaffsonline.com/belstaff-men-signature-10-ounce-waxed-cotton

  10. Anonymous says:

    Hear about sales,cheap custom wristbands no minimum, receive sp cheap custom wristbands no minimum ecial offers & more.

    You can unsubscribe at any time.