Thread: Graphic library

  1. #1
    Registered User
    Join Date
    Apr 2014

    Graphic library

    I want to write some games, what graphic libs. are for C?
    Are there game engines for C?
    I want 2d support and 3d support.


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    While there are a host of open source engines and graphics wrappers for Direct3D and OpenGL you will do yourself an injustice if you do not understand why they work. You can't really create a game without understanding the tech at some point. That would be like trying to build a house or a car without understanding much about houses or cars. Sure you might get a house or a car in the end but...who knows. There are hundreds of books available about game programming and graphics and I would recommend purchasing as many as you can to learn as much as possible.

    Now if you are an experienced graphics / game developer and you are looking to make a quick game without being burdened by the nitty gritty stuff then a quick Google will reveal a ton of solutions. I know that Torque 3D is now open to the public so that is a good starting place. Unity3D is decent but hard to recommend since you will be doing C# script. It is possible to load native code within Unity C# scripts but I won't get into that here. Unreal is actually fairly simple to obtain from Epic provided you pay meet their royalty requirements upon release. Gamebryo is...well...not sure. It folded, was sold to who knows, and now it looks to be back.

    Other than those there are ton of open source ones that Wikipedia lists. I would try a few of them and see which one meets your needs.
    Last edited by VirtualAce; 08-07-2014 at 01:24 PM.

  4. #4
    Registered User ~Kyo~'s Avatar
    Join Date
    Jun 2004
    It is cross platform and pretty straightforward.

  5. #5
    Registered User
    Join Date
    Nov 2013
    It's more like asking a pilot to change an oil filter or crankshaft on a 747.

    There is Torque 2D also. Allegro is probably as easy as you can get, although limited.

    Depends on your ambitions, try Allegro first.

    Here's a Jet Set Willy clone(ZX Spectrum platform game), I learned from this years ago, it's vintage style but cool all the same, it also targets Linux but little is needed to port to Windows.

    Manic Miner PC and Jet Set Willy PC for GNU/Linux
    Last edited by jim_0; 08-13-2014 at 10:47 AM.

  6. #6
    Registered User
    Join Date
    Mar 2011
    Allegro 5, as ~Kyo~ stated, is powerful and not too tricky, and I'd highly recommend it!

    As for 3D engines, there aren't any C only engines that are straightforward to my knowledge...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C program with g2 graphic library
    By Chinchila in forum C Programming
    Replies: 3
    Last Post: 10-24-2012, 04:10 PM
  2. Graphic Manipulation Library
    By MathewCollins in forum C++ Programming
    Replies: 2
    Last Post: 09-06-2010, 01:57 AM
  3. Someone take my graphic.
    By Cheeze-It in forum Game Programming
    Replies: 0
    Last Post: 03-15-2003, 05:43 AM
  4. Which graphic library do you prefer?
    By Golden Bunny in forum Game Programming
    Replies: 21
    Last Post: 05-04-2002, 04:29 PM
  5. graphic library creation
    By bob5845 in forum C++ Programming
    Replies: 1
    Last Post: 04-05-2002, 12:30 AM

Tags for this Thread