-
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
-
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.
-
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).
-
yeah please send 'em [email protected]
-
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.
-
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 =)
-
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 ;)
-
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..
-
Oh yeah, clickhere to go to a good site with tutorials on D3d games programming.