-
Apr 20th, 2006, 03:45 PM
#1
Thread Starter
Addicted Member
-
Apr 25th, 2006, 12:09 AM
#2
Frenzied Member
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
-
Apr 25th, 2006, 05:30 AM
#3
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.
Last edited by Jacob Roman; Apr 25th, 2006 at 05:33 AM.
-
Apr 25th, 2006, 09:51 PM
#4
Thread Starter
Addicted Member
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
-
Apr 26th, 2006, 08:37 AM
#5
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.
-
Apr 26th, 2006, 04:07 PM
#6
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|