Results 1 to 6 of 6

Thread: [VB5] Shoot The Aliens

  1. #1

    Thread Starter
    Addicted Member TBeck's Avatar
    Join Date
    Apr 2006
    Location
    Ontario, Canada
    Posts
    254

    [VB5] Shoot The Aliens

    This is my first real game (apart from pong and tic tac toe) that I have made
    The title is very origional
    I'm still in the process of learning how to use bitblt so its not used in this game but its still a fun little game. Any feedback would be appreciated
    Attached Files Attached Files
    Last edited by TBeck; Apr 20th, 2006 at 05:33 PM.

  2. #2
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: [VB5] Shoot The Aliens

    the game is goin too fast with just the arrow keys to point to the target and shoot. you should have allowed the shooter to move left and right to give more sense to the player.

    anyway, nice game, just not addictive
    On error goto Trap

    Trap:
    in case of emergency, drop the case...

    ****************************************
    If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option.
    if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar

  3. #3
    College Grad!!! Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: [VB5] Shoot The Aliens

    There are a few problems I've noticed already. Codewise, you failed to use Option Explicit on top of your general declarations, which should always be done to avoid nondeclared variables, which I found after putting it in. You also have a mixture of code indention and non-indention. Datatypes in games should be Longs for nondecimal numbers and Singles for decimals because they run faster then the other data types. Mainly cause they are 32 bit. And you also should avoid using Timers in games. One timer is bad enough, but running more than one timer makes things even worse. Timers are inaccurate, inconsistant, and very limited. Managed loops locked at a certain framerate are the way to go. I can show you how sometime if you like.

    Also, gamewise, your controls are a little sluggish. To help improve your controls, you should take a look at my control project I wrote a few years ago:

    Control.zip

    Only problem with that project is the fact that I used the Sleep API which should also be avoided cause it halts the whole program for a certain duration.

  4. #4

    Thread Starter
    Addicted Member TBeck's Avatar
    Join Date
    Apr 2006
    Location
    Ontario, Canada
    Posts
    254

    Re: [VB5] Shoot The Aliens

    Thanks Roman, I will definatly check out the controls stuff.
    I would love to learn how to use managed loops instead of timers

  5. #5
    College Grad!!! Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,339

    Re: [VB5] Shoot The Aliens

    You oughta look into using DirectX as well. Makes your games faster, look better, 2D as well as 3D, etc. It practically eliminates the needs for Pictureboxes, labels, and other objects cause you don't need them. Even got a massive 2D DirectX tutorial in my signature.

  6. #6

    Thread Starter
    Addicted Member TBeck's Avatar
    Join Date
    Apr 2006
    Location
    Ontario, Canada
    Posts
    254

    Re: [VB5] Shoot The Aliens

    Yea i think i saw something about your direct X tutorial in some other thread casue ive already downloaded it and am trying to learn how to use it. good tutorial

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width