Thread: api game programming

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    127

    api game programming

    how far does the winapi get as far as game programming without directx? does it even support 3d?

  2. #2
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    Windows GDI
    and OpenGL of course, but only if you're not using Vista (which translates OpenGL into DirectX10)

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    versions prior to vista support OpenGL directly, vista just translates it, which effectively makes OpenGL slower on vista than on other operating systems all else being the same.

    Any particular reason to avoid DIrectX?

  4. #4
    Registered User
    Join Date
    Jun 2008
    Posts
    127
    i dont really want to get to serious in game programming and i dont think it it would be worth it just for the basic games i want to make with just the api...

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Your best bet is to dive into OpenGL/DirectX, even with simple games. It will benefit in the long run and you understand the API more fully then.
    Windows GDI is complex and wasn't designed for game programming.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Need book to program game into multiplayer...
    By edomingox in forum Game Programming
    Replies: 3
    Last Post: 10-02-2008, 09:26 AM
  3. HELP!wanting to make full screen game windowed
    By rented in forum Game Programming
    Replies: 3
    Last Post: 06-11-2004, 04:19 AM
  4. Text Based Game, Windows API.
    By Pendragon_Tl in forum Windows Programming
    Replies: 3
    Last Post: 10-23-2002, 09:39 PM
  5. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM