Results 1 to 7 of 7

Thread: Helpppp!!!!!!! Please!!!

  1. #1

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412

    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++

  2. #2
    Zaei
    Guest
    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.

  3. #3

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412
    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++

  4. #4
    Addicted Member drewski's Avatar
    Join Date
    Feb 2000
    Location
    WA
    Posts
    242
    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

  5. #5

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412
    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++

  6. #6
    Junior Member Fencer5's Avatar
    Join Date
    Oct 2000
    Posts
    18
    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

  7. #7
    Addicted Member DarkMoose's Avatar
    Join Date
    Jul 2000
    Location
    in a box
    Posts
    185
    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
  •  



Click Here to Expand Forum to Full Width