Graphics Library

This is a discussion on Graphics Library within the Game Programming forums, part of the General Programming Boards category; My current compiler is Dev-C++ and I am trying to make a Pong remake. I don't know much about programming ...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    31

    Graphics Library

    My current compiler is Dev-C++ and I am trying to make a Pong remake. I don't know much about programming and hardly any about adding graphics into a game. But I was told I need to get a graphics library (or something of that nature) such as allegro in order to add even 2d graphics into a game. I went and looked up allegro, and when I found it I downloaded it. I found a tutorial for making pong in DJGPP and allegro. I read some of it but I got lost pretty quickly and I was just wondering if DJGPP was a totally different compiler and if allegro is not compatible with Dev-C++. If it isn't, can you please point me in the direction of another graphics library that I can use in Dev-C++ or tell me what I am looking for?? Any help you can offer is very greatly appreciated.


    Emotions

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    Get MSVC 6 or .NET student edition.
    Download the DirectX SDK or get an update version of OpenGL.

    Buy some books, do some research, code, code, code.

    Have at it.

    Dump DJGPP. Dump Allegro. Dump the old DOS stuff. It's just not worth it anymore - for high end games and graphics, that is.
    Last edited by VirtualAce; 12-23-2004 at 12:35 AM.

  3. #3
    Banned
    Join Date
    Oct 2004
    Posts
    250
    Forget Allegro learn D3D its very easy and you will pick it up quik

  4. #4
    ---
    Join Date
    May 2004
    Posts
    1,379
    To answer your question, Allegro does work with dev-c++. dev-c++ uses a windows port of gcc (called mingw32) just like DJGPP is a dos port of gcc. Did you need to compile it? If so then you probably need to compile it again for mingw32. After that just #include "allegro.h" and link to liballeg or whatever it is.

  5. #5
    </life>
    Join Date
    Oct 2004
    Posts
    83
    Do a search for SDL.
    Microsoft is merely an illusion, albeit a very persistant one.

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, 04:31 PM
  2. GD Graphics Library
    By Welder in forum Windows Programming
    Replies: 0
    Last Post: 11-01-2007, 07:46 PM
  3. Game Programming FAQ
    By TechWins in forum Game Programming
    Replies: 5
    Last Post: 09-29-2004, 03: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, 01:30 PM
  5. Graphics library?
    By Paninaro in forum C Programming
    Replies: 6
    Last Post: 06-24-2002, 09:35 PM

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