|
-
Aug 16th, 2001, 04:17 PM
#1
Thread Starter
Hyperactive Member
Helpppp!!!!!!! Please!!!
Hello,
I am a beginner in VB6 2D games... I want to eventually learn how to program 3D VB6 games with DirectX or OpenGL. Right now you might say, I know crap about graphics games with VB. Can anyone give me suggestions on where to start on games for VB leading the path to 3D games? Not like hangman games though. I am completely blank on where to start graphical games. Are there any sites out there that explain the basics of VB graphical games like moving objects around, simple 2D engines, collision detection?
Some of you more experienced programmers probably know where I could start ...
Thanks for any help or suggestions
Visual Basic 6, HTML, JavaScript, learning C++
-
Aug 16th, 2001, 05:14 PM
#2
Just go and do. Its probably the best advice available. Learn the basics first, then move on up.
For control, you can use Form_MouseMove, Form_MouseDown and _MouseUp, Form_KeyDown and _KeyUp. Probably one of the simpler things you can do would be put a control button on the form, and move it around with the arrow keys (vbKeyDown, vbkeyUp, vbKeyLeft, vbKeyRight), and .Top and .Left. You should be able to figure it out.
Z.
-
Aug 16th, 2001, 05:43 PM
#3
Thread Starter
Hyperactive Member
I already know how to move rectangles around using the vbkeys and simple collision detection like...
If Shape1.Left <= (Shape2.Left + Shape2.Width) Then
Shape1.BorderColor = vbRed
End If
...so I guess its start. I thought I was working in the wrong direction. By the way, how do you draw rectangles and circles with code? So I could possibly create pixel perfect collision?
TY
Visual Basic 6, HTML, JavaScript, learning C++
-
Aug 16th, 2001, 05:46 PM
#4
Addicted Member
you might want to try http://www .oneringsoftware.com but this hasn't been updated in a long time. probably a more current one would be http://rookscape.com/vbgaming/ . i'm not sure what the second one has in the way of tutorials but i know one ring software has some pretty good tutorials for beginning 2d game programming.
i hope this helps.
Drewski
I see said the blind man as he spat into the wind.
It all comes back to me now!
A.D.T.'s VB
-
Aug 16th, 2001, 05:46 PM
#5
Thread Starter
Hyperactive Member
Also, in order to integrate(or whatever, it sounds good )Direct X 8 with VB, do I need to learn new code? or can I just download the DXSDK? and I'll be all set to roll?
Visual Basic 6, HTML, JavaScript, learning C++
-
Aug 17th, 2001, 08:56 PM
#6
Junior Member
Make something with simple graphics (asteroids, etc.) so you can practice the collision detection and stuff. When you do it with rectangles there isn't a point... however, asteroids will have apoint and won't be that much more difficult.
Seth Gannon
Visual Basic 6 Enterprise SP5
-
Aug 18th, 2001, 09:05 AM
#7
Addicted Member
Don't dive too far into the deepend there.. I'd learn some API before going onto DirectX, since it's considerably easier and it will help you understand VB a bit more before you go onto harder stuff like DX. Try learning how to use the APIs GetKeyState and BitBlt.
To understand recursion, one must first understand the concept of recursion.
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
|