graphics programming?

This is a discussion on graphics programming? within the Game Programming forums, part of the General Programming Boards category; my friend is a CS major, i also have been doing programming for some years (made a UO server back ...

  1. #1
    Unregistered
    Guest

    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!?

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    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.

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    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.

    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Turtle Graphics, how does it work?
    By freddyvorhees in forum C++ Programming
    Replies: 15
    Last Post: 08-28-2009, 10:57 AM
  2. Graphics Programming :: Approach and Books
    By kuphryn in forum Windows Programming
    Replies: 4
    Last Post: 05-11-2004, 09:33 PM
  3. egavga.bgi problem
    By sunil21 in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 09-22-2003, 06:06 PM
  4. Graphics Devices and Cprintf clash
    By etnies in forum C Programming
    Replies: 6
    Last Post: 05-09-2002, 12:14 PM

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