-
graphics programming?
my friend is a CS major, i also have been doing programming for some years (made a UO server back in the day..) now we are trynig to recreate the game "tankwars" but we really have NO idea how to do graphics in C++
PLEASE give us some advice on where to start.. we downloaded allegro today and have been reading thru that. is C++ the language to use? should we use DOS or windows? we got the scource code for some old funky game but could not understand how it drew to the screen (and didn't want to spend hours figureing it out)
so let me know where to start, what functions to use or where a good tutorial is, i glanced at the graphics programming tutorial son the main page, but it said it was a joke to do it that way... so how should we do it!?
-
-
nehe.gamedev.net has many tutorials that show you how to draw 3d or 2d graphics to the screen useing win32 code and OpenGL, thats what reccoment for you.
Do not waste time on anything doing with dos. As of Windows XP there is no more dos.
If you dont know win32 code, and dont feel like makeing that battle yet, you can use GLUT (an offical library to create windows) or you could use something like my own GLH library(home.earthlink.net/~eberkain/GLH.html) and that can take the win32 code out of the equasion.
-
C++ is definitely the way to go. And if you have Allegro already, I'd just use it with Windows (I like Dev-C++). Be sure you have Allegro 4.0. An installer for Dev-C++, Borland, or MSVC is located at my web page (see sig). Dev-C++ is located here. It is free.
Allegro really is the easiest tool. Plug in OpenGL later (AllegGL) for hardware accelerated 3D.
That's my 2 cents. :p
-Justin