Thread: Game programming in C. Possible or not?

  1. #16
    Black Mage Extraordinaire VegasSte's Avatar
    Join Date
    Oct 2002
    Posts
    167
    Thanx guys!!

  2. #17
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    You need to use a drawing library to write to your video card, but with Standard C, you are writing to whatever is specified in stdio.h

    Some graphics interfaces that I know of are GDK, Mesa, Open_GL, GDI, Directx.

  3. #18
    Black Mage Extraordinaire VegasSte's Avatar
    Join Date
    Oct 2002
    Posts
    167
    I have never seen a drawing library, nor have I ever used one! Do you know where to get pertinent information about one?

  4. #19
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    What software architecture are you using (Microsoft, Linux, Unix, Sun Solaris, HP-UX, FreeBSD)?

  5. #20
    Black Mage Extraordinaire VegasSte's Avatar
    Join Date
    Oct 2002
    Posts
    167

    I am using Microsoft Windows 98SE with Borland Turbo C++ 4.5 if that helps!!

  6. #21
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Than your looking for a Borland GDI library. It stands for Graphic Device Interface. Look in the help section. Unfortunately on a vendor platform like Microsoft you have to pay a lot of money in order to be able to program. On my operating system (Linux) I have free tools that are powerful and up to date.

  7. #22
    Black Mage Extraordinaire VegasSte's Avatar
    Join Date
    Oct 2002
    Posts
    167
    Where would i find help and advice on how to use a GDI library, any good websites for instance? Or shall I just search on something like google?

  8. #23
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Try searching the compiler help for either GDI or BGI. I used a Borland compiler long time ago and come to think of it, graphics were done through BGI. I have no idea where to look for information about it.

  9. #24
    Black Mage Extraordinaire VegasSte's Avatar
    Join Date
    Oct 2002
    Posts
    167
    Thanks anyway!! I will try and find some!!
    Does anyone else know where to look maybe?

  10. #25
    Black Mage Extraordinaire VegasSte's Avatar
    Join Date
    Oct 2002
    Posts
    167
    No luck so far! Anyone know a good place for looking for libraries?

  11. #26
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Simple DOS graphics (not the sucky BGI graphics ):
    http://www.brackeen.com/home/vga/index.html
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  12. #27

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 10:44 AM
  3. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM