Graphics in C?

Hello, world! My name is Dr. COM WIZ. I am a 13 year-old programmer from the BASIC mesageboard. I specialize in game and aniamtion programming for DOS in QBasic. I decided to learn C because I was told that it was the "language of proffessionals," and because I wanted to see if better graphics were possible in this language. However, I downloaded about 7 or 8 C tutorials and niether of them speak a thing about graphics! I was disapointed, very disapointed! If anyone shares my belief that graphics are possible in C and knows how to accomplish them, or atleast know a place where I can learn, PLEASE teach me.


This has been,
Dr. COM WIZ
PS Thank you and goodnight!

Comments

  • The C language does not contain and graphics methods itself. You have to use libraries that are like additions to C. If you are interested in really going after it you could learn open gl, which supports 2d and 3d graphics. The game doom was written in open gl. Or you could go with Direct X. If your programs are in DOS mode then there are lots of small libraries out there for that. This probably isn't the answer you were looking for but I'll find some links for ya.



  • Actually Doom wasn't written in OpenGL, it was written in Mode 13h (using assembly), which is an old low resolution DOS graphics mode. However, Quake I was rereleased in OpenGL, and Quake II and III (as well as the dozens of games based off of the Quake engines) are written in OpenGL. The following games were also written in OpenGL (using C or C++ as the language): Halflife, Soldier of Fortune (and mostly every game release by Ravensoft, they're pretty much all based off of Quake Engines), Alice, Tribes (and Tribes II), Serious Sam, and many more.
    http://druidgames.cjb.net


  • You should also check http://nehe.gamedev.net/opengl.asp (after you know a lot of C/C++, they expect you to know alot about the language), they're probably the best OpenGL tutorials for beginners.


    http://druidgames.cjb.net


  • : Actually Doom wasn't written in OpenGL, it was written in Mode 13h (using assembly), which is an old low resolution DOS graphics mode. However, Quake I was rereleased in OpenGL, and Quake II and III (as well as the dozens of games based off of the Quake engines) are written in OpenGL. The following games were also written in OpenGL (using C or C++ as the language): Halflife, Soldier of Fortune (and mostly every game release by Ravensoft, they're pretty much all based off of Quake Engines), Alice, Tribes (and Tribes II), Serious Sam, and many more.
    : http://druidgames.cjb.net
    :
    :


    Don't stick on with BASIC, move to C++. I think you shouldn't think much about graphics if you're still on console/DOS C++ programming. You should advance to Win32 applications then take OGL and/or DX.

    Gamemania

    Planet of Wonders ( http://tech-war.virtualave.net/ )


  • Sorry bout that...Doom , Quake... I get them confused all the time.




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories