Is directx onley used in windows api programming? if it is... how can i use it and where to learn?
Is directx onley used in windows api programming? if it is... how can i use it and where to learn?
DX is owned by Microsoft so as far as I know of, yes, it's only for Window's programming. To learn it first you need to have a good understanding of basic Windows programming, ie: message handling, etc.. If you don't check out Sunlight's site at http://sunlightd.virtualave.net/default2.htm . If you have a good background in Window's programming then check out www.flipcode.com or www.gamedev.net for DirectX tutorials (Sunlight also has DX tutorial's on his site).
ok... but are there any good free resource editors?
MICROSOFT DEVELOPMENT COMMUNITY
has a downloads section, from there you can get the complete Direct X 8 development kit for free. Well worth it. Good luck.
PHP and XML
Let's talk about SAX
You can get the DX 8.1 SDK too, but It's a huge download, 56 mb. I downloaded it. Took abou 30 min on cable.
can you give me a direct link to it? i can't find it... and is it a small download... i got 56kOriginally posted by Waldo2k2
MICROSOFT DEVELOPMENT COMMUNITY
has a downloads section, from there you can get the complete Direct X 8 development kit for free. Well worth it. Good luck.
I think this is it
http://msdn.microsoft.com/downloads/...xml&frame=true
gcc -lalleg
http://www.ciusa.net/~jrgrant/
156 meg... yeah right... lol... i guess i wont learn direct x.
what about OpenGL? is that worth useing?
three choices without using DX:
1. SDL (www.libsdl.org)
2. Allegro (dunno the download site)
3. OpenGL (which you already know about)
I believe open GL is worth it...just as any language in which you can program, let alone programming 3d graphics which is just sweet in the first place...perhaps when you do get the chance to tackle dx, perhaps openGL or some of the other alternatives will help you grasp it better. Maybe it will be easier considering you will have already tackled the big challenge of your first program. if you search for openGL, i know somewhere i saw an open source demo where you can walk around and jump, it looks pretty slick, it's in openGL...but uh, good luck.
PHP and XML
Let's talk about SAX
MSDN is a good place for graphics and stuff, go here
>>You can get the DX 8.1 SDK too, but It's a huge download, 56 mb. I downloaded it. Took abou 30 min on cable.
Well, I wouldn't exactly call 56mb "huge". Huge would be what I'm downloading right now: a 1.5GB movie - Starwars: Attack of the Clones. If it took you 30 minutes on cable, then you must have a HOPELESS ISP or Microsoft was really busy (last time I downloaded something from them, I got around 600k/s)
I wouldn't even dream of getting a gig file off the internet. I get 1.8k/sec at peak hours!
I like Allegro, it's easy to learn and use. The only thing bad about it, is I have only been using it for like 6 months, and I am reaching the limits of it. It is great for 2D games, and RPG's. But if you are planning on doing a 3D polygonal game, it has it's limits. It can do the polygonal stuff, just slowly, and not very customizable.
I don't like OpenGL. It's too hard to learn. Maybe if I worked with it for a year, I may be able to make a very simple program, but that's too long. I like the way DirectX works, kinda like the API. And it is more supported on older cards than OpenGL is (except for if you use the new features)
My uncle has an old DirectX 7 book he is going to give me, so I will be able to use DirectX7. There isn't much diff between it and 8.1, for what I plan on doing. I am mainly just going to use DirectDraw, Sound, and Input. I am just making 2D RPG's right now.