Results 1 to 9 of 9

Thread: direct x

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    56

    direct x

    i have read hundreds of tutorials on dx with pages and pages of code i have no idea how it works that only draws a triangle or something

    And i am no wiser than i was before - except i now know its not something to be attempted by a 14yo with no gfx experience, can anybody point me in the right direction to make graphical games in vb but not using forms and stuff. perhaps should i start off with the gdi or glide or something a link to a simple tutorial in anything would be appriciated

    post back or [email protected] for emails

  2. #2
    Zaei
    Guest
    Ther reason there are pages and pages of code for DirectX examples is because you have to set up DX before you can do anything in it. Then, the actual code to do something is perhaps 10 lines, at most. The more you do with it, the less it seems, if you get my meaning. If you dont have any graphics experience, most people will say to start with GDI, But I will just tell you to try what you feel comfortable with. GDI is easy, but it will only take you so far.

    Z.

  3. #3
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049
    I think the best way for you to start is to download BioHazard DirectX components, they are just standard modules that do a lot like initialise DirectDraw, Input, etc. (Though I had to edit a few things (like it wants your gfx form to be named form1) :P)

    But it's a very nice set of modules that does do a lot for ya (and if your lazy to program it yourself it works great too )

    If you can't find 'm just yell and i'll mail 'm tonite (if you give yur email add).

  4. #4

    Thread Starter
    Member
    Join Date
    Aug 2001
    Posts
    56
    yeah please send 'em [email protected]

  5. #5
    Lively Member
    Join Date
    Sep 2001
    Posts
    74

    Lightbulb actually

    If your a beginning programmer like me I'd suggest not using direct X for graphics use the bit blit fuction with a picture box as your graphical field or board. Its easier to understand and there are more tutorials on it than most other things.

    I'm currently working on a game that uses the bit blit function for all the animated graphics and Direct X for the sound its way easier to use for direct x for multi-channel sound, and its coming along nicely.
    All will fall before the might of the Black Sashi...

  6. #6
    Frenzied Member Devion's Avatar
    Join Date
    Sep 2000
    Location
    The Netherlands
    Posts
    1,049
    Actually DirectX is easier if you look behind all the initial gibberish like Initiating a fullscreen thingy, loading sprites and stuff.

    I got a small directx game lyin' around (mazeman) which uses directx to a extend, if someone needs it.. you can find it on this site somewhere (long long ago) or just mail me =)

  7. #7
    Frenzied Member Jotaf98's Avatar
    Join Date
    Jun 2000
    Location
    I'm not gonna give you my IP address! Ok... Portugal, South-Western Europe, 3rd rock from the sun (our star is easy to find, a 47 Ursae Majoris in the Milky Way :p )
    Posts
    1,457
    Hey, you should start with the Lander Game tutorial, here at vb-world.net That's what got me started.

    When I had a fair ammount of experience with bitblt-based games (also known as gdi-based games), I started with DirectX.
    All I had was a DX module with lots of incomplete functions and MSDN It took me weeks to make a decent engine, but I'm using it in my game and it works great

    Anyway, bitblt is easy, just follow that tutorial and you should do fine. If you need to spruce up your game with special effects, just follow the link in my signature
    Code:
    Temp = Me.GetIQ()
    'Error 9: Overflow
    'DON'T PANIC! :eek:

    To learn how to use realistic effects in your games like fire, rain, snow and magic effects, read my article on particles systems here.


    Jotaf's Theories!
    "Cats land on their feet. Toast lands peanut butter side down. A cat with toast strapped to its back will hover above the ground in a state of quantum indecision."

  8. #8
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412
    Hi

    I am 14 yo too and i am currently screwing around making browsers and stuff. I started DX8 a few weeks ago with the DX Software development kit, but quit cus i didn't understand the API parts, i understood the actual coding. So will making browsers and eventually moving up to more advanced stuff help me understand DX8 better? I then want to use D3D to make 3d games..
    Visual Basic 6, HTML, JavaScript, learning C++

  9. #9
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412
    Oh yeah, clickhere to go to a good site with tutorials on D3d games programming.
    Visual Basic 6, HTML, JavaScript, learning C++

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