Graphics Library

This is a discussion on Graphics Library within the C++ Programming forums, part of the General Programming Boards category; Planning to make a game(very basic game) using C++, will probably fail miserably but before i can i need a ...

  1. #1
    Registered User
    Join Date
    Oct 2003
    Posts
    7

    Graphics Library

    Planning to make a game(very basic game) using C++, will probably fail miserably but before i can i need a library which can be used to manipulate graphics. Also, would like it to be dos based. Thinking about dling something called "alegro" but before i do i thought id ask the experts their opinion on the best library file of set of library files to do the job. For all i know they came with the compiler so im really in the dark here. Thanks all. (yes, by experts i do mean you people)

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    SDL is very good, in that it is built on top of other graphics libraries and can thus be used with many of them. I think Allegro, OpenGL and DirectX are all supported.

    http://www.libsdl.org/index.php
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    Re: Graphics Library

    Originally posted by Ranorith
    Planning to make a game(very basic game) using C++, will probably fail miserably but before i can i need a library which can be used to manipulate graphics. Also, would like it to be dos based. Thinking about dling something called "alegro" but before i do i thought id ask the experts their opinion on the best library file of set of library files to do the job. For all i know they came with the compiler so im really in the dark here. Thanks all. (yes, by experts i do mean you people)
    if this is your first program that is evergoing to have dealt with graphics.. i would suggest you using some easier (older) 2d graphics library....... so tat you can get the hang of some concepts such as double buffering etc etc... I used to use BGI in the begining....

  4. #4
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    As CornedBee has mentioned, SDL is a fantastic library. I'm currently using it for a 2D Tile-Based game and its wonderful.

    If you're fairly proficient in C or C++, learning SDL should not pose a big problem. With the help of a few tutorials, I got the gist of it within an hour and ported my existing Windows GDI game to SDL within another hour or two.

    This SDL tutorial really helped me.
    http://cone3d.gamedev.net/cgi-bin/in...s/gfxsdl/index

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using graphics library
    By arch in forum C++ Programming
    Replies: 2
    Last Post: 01-11-2008, 03:31 PM
  2. GD Graphics Library
    By Welder in forum Windows Programming
    Replies: 0
    Last Post: 11-01-2007, 06:46 PM
  3. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 02:00 AM
  4. Need some help choosing a good graphics library
    By dead_cell in forum Game Programming
    Replies: 31
    Last Post: 01-08-2003, 12:30 PM
  5. Graphics library?
    By Paninaro in forum C Programming
    Replies: 6
    Last Post: 06-24-2002, 08:35 PM

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