How fast is Direct X

This is a discussion on How fast is Direct X within the Game Programming forums, part of the General Programming Boards category; Hi I am like many programmers, being at dos programming with C++ for ages and finally about a month ago ...

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    76

    How fast is Direct X

    Hi I am like many programmers, being at dos programming with C++ for ages and finally about a month ago I started out in windows. I can create windows, menus, rectangles, pixels, sound cursors and so on. As you can imagine with this under my belt I couldn't wait to get started on my first real program. So I did and as soon as I started I began tor ealise how slow the Windows GDI really is.
    Now I have heard that direct X is supposed to be a lot faster and I have got books on it. Its just I don't want to be spending another life time reading up on that if it isn't going to make that much difference to a novice like me.

  2. #2
    *******argv[] - hu? darksaidin's Avatar
    Join Date
    Jul 2003
    Posts
    314
    It depends

    What do you want to do with DirectX? Games? 3D graphics? Animated 2D stuff? In that case it's a lot faster then the GDI. But if you for some strange reason want to use DirectX to draw your own window elements, I think you should stick with the GDI =)

  3. #3
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    DX is fast enough for almost anything that you'll need to do. It can handle your graphics, input, and sound easily Well... not exactly easily, but it can handle them Anyway... what Darksaidin said. Use DX (or GL) for your graphics.
    Away.

  4. #4
    Registered User
    Join Date
    Feb 2003
    Posts
    76
    I just want to be able to make a nice 2d game. Nothing too exciting. I suppose if what you say is true I will have to hit the books again .
    Thanks Guys

  5. #5
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    You probably won't need an API as advanced as DirectGraphics to make a 2D game, unless you are planning on putting in some killer effects. Same with OpenGL. I am making some 2D stuff with OGL, but that is because I want to use the 3D effects available, as well as just learn OpenGL. Unless you really want to get started in a advanced API, I would recommend Allegro. It is simple as crap, and platform-independent. A lot of people like SDL, but I don't really like it myself. ClanLib is available too, but I don't know much anything about it.

    www.allegro.cc
    www.libsdl.org

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Direct Input shutting down improperly
    By Deo in forum Game Programming
    Replies: 3
    Last Post: 06-14-2005, 07:54 AM
  2. Direct x 8 include files
    By Zoalord in forum Game Programming
    Replies: 2
    Last Post: 03-17-2004, 04:07 PM
  3. Direct X
    By MicroFiend in forum C++ Programming
    Replies: 2
    Last Post: 03-21-2003, 02:34 PM
  4. Direct Music Illegal Static Member Call error
    By FwyWice in forum Game Programming
    Replies: 4
    Last Post: 11-30-2002, 05:14 PM
  5. Direct Music Trouble
    By FwyWice in forum Game Programming
    Replies: 5
    Last Post: 11-29-2002, 04:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21