Archived

This topic is now archived and is closed to further replies.

dark_radeon

noob question

Recommended Posts

dark_radeon    122
i've been programming in c++ for a few months now and i was wondering, could someone tell me exactly what i need to know in order to learn directx, i've started to understand the basics of windows programming, creating a window, using handles etc could anyone tell me exactly what i should know before i start to learn directx..i started to learn a bit of directdraw and it's not that tough but...i still feel like i don't know enough to fully understand and utilize the basic stuff that i've been learning in directx i've been mainly using directdraw v7..if anyone could point me in the right direction i'd greatly appreciate it thanx..oh and sorry if this is a noob question! being a noob sux!!! if anyone knows any good links that could also help me..i'd greatly appreciate it -Zeke''s Signature [edited by - dark_radeon on May 28, 2003 5:13:58 PM]

Share this post


Link to post
Share on other sites
sSimontis    100
You should know the following:
1. how to do console-based C++
2. Be comfortable with strings, pointers, OOP, classes, and so on
3. How to find a good tutorial.

Scott Simontis
Game Programmer in Training
Have a nice day!
Current Project: Waiting for OpenGL Game Programming Book

Share this post


Link to post
Share on other sites
deathtrap    364
DirectX itself is confusing when you''re starting out(at least it was to me), I just read through the directX documentation that came with it and i managed to learn it. If you are comfortable doing minor Windows programming(Win32 not console) then you should be fine with DX, just takes some time to get it through your head.

Share this post


Link to post
Share on other sites
Spudder    385
Check out this URL - it takes you through writin a side-scrolling game using C++ and DX (i think version 8):
http://www.2dgame-tutorial.com/

or you can take a look at this site:
http://www.2dgame-tutorial.com/

hope these are of some use

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
you need to understand classes to understand directx

Share this post


Link to post
Share on other sites
Ready4Dis    180
quote:
Original post by Anonymous Poster
you need to understand classes to understand directx



No you don''t, you can have a complete lack of knowledge about classes, and still understand/use directx. There is a non class (normal C) interface as well as the class oriented interface to it. An understanding of classes isn''t a bad idea, but I just wanted you to know that it''s not a necessity by any means.

Share this post


Link to post
Share on other sites
superpig    1825
quote:
Original post by Ready4Dis
There is a non class (normal C) interface as well as the class oriented interface to it.


No, there isn''t. There''s a C-compatible ''approximation'' of the C++ class concept using structures full of function pointers and the hidden _vtbl member, but it''s certainly not a ''normal C'' interface. A ''normal C'' interface would be like OpenGL.

Back on topic:


  • Know how to create a window. You say you''ve got that already, OK then.

  • A couple of COM basics - in particular, the IUnknown interface.



That''s about it.

Superpig
- saving pigs from untimely fates, and when he''s not doing that, runs The Binary Refinery.

Share this post


Link to post
Share on other sites