Thread: graphics help!! for my game under turbo C

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    4

    Question graphics help!! for my game under turbo C

    Hi...
    I am developing a small game in C using the egavga.bgi file under turbo C & graphics.h..

    1) I just get 16 colors in the graphics mode..Is there ANY way i can get more..?!

    2)the images that i save using getimage() to the memory..is there any way i can save them as a file..possibly in some format like *.bmp . If yes,how?

    Please help..I have been trying to get answers to these from 'bout a fortnight,but nobody seems to be using borland graphics mode..but i hope some game programmers for dos must be using it..

    Thanx!!

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145

    Tip

    Instead of using BGI (which sucks), go see the tutorials on VGA 256 color modes (mode13) at Brackeen.com. There's a link in the links section of this page.
    They have pretty good tutorials which covers both graphics and bitmaps.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  2. Handling mouse in graphics mode in Turbo C/DOS
    By sureshkumarct in forum C Programming
    Replies: 2
    Last Post: 12-24-2006, 09:36 AM
  3. Game Designer vs Game Programmer
    By the dead tree in forum Game Programming
    Replies: 8
    Last Post: 04-28-2005, 09:17 PM
  4. Turbo C++ Graphics
    By Nomad Seifer in forum C++ Programming
    Replies: 1
    Last Post: 06-11-2002, 03:56 AM
  5. Mode 19 Graphics in Turbo C++
    By destroyerBEACON in forum Game Programming
    Replies: 8
    Last Post: 02-16-2002, 01:27 AM