Does anyone have any tutorials on BGI Graphics?
Does anyone have any tutorials on BGI Graphics?
Good question...
Pepole in here will tell you just to look in the graphics.h file and figure it out... they say " thats how i learned".
What is C++?
Well, BGI (Basic Graphics Interface???) graphics sucks IMHO. It is slow and buggy.
I would suggest learning VGA (Video Graphics Array) graphics, including mode 13 which IMO is the easiest graphics mode to learn.
There is a pretty good tutorial at www.brackeen.com (http://www.brackeen.com/home/vga/index.html).
Try it out and feel welcome to ask questions if you need it .
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.
but im sooo used to C++ and isnt this in C ?
What is C++?
You can do VGA/Mode13 in C++ if you likeOriginally posted by Vicious
but im sooo used to C++ and isnt this in C ?
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.
If you have Turbo C++ 3.0 (which is free), it comes with a good help file that has descriptions of all the functions and datatypes in graphics.h, you don't have to just open the file and look. To bring up help run turbo c++ and right click somewhere, or click the help menu to the top-right of the screen.
gcc -lalleg
http://www.ciusa.net/~jrgrant/
Vicious, that avatar you have. It's hard to see, but isn't it Legato Bluesummers from Trigun?
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.
For Graphics in MS-DOS or Windows I use allegro. It has some of the more advanced features i'm to lazy to try and impliment myself. Allegro Home Page. it's also fairly easy to use with a good online help.
>> Vicious, that avatar you have. It's hard to see, but isn't it Legato Bluesummers from Trigun?
Nope, it Vicious from Cowboy Bebop... ( oh crap, i see the res.. how they look alike).
Anyway it looked better on LCD than VGA
What is C++?
Oh, is there a example program I could look at? Using the VGA or Mode13h?
What is C++?
Do you have a picture of the main character dude (I haven't saw the show in a while, I forget his name)
Also any links? I just love that show.
There are tutorials at www.Brackeen.com, and if you want an example program, follow the link in my signature .Originally posted by Vicious
Oh, is there a example program I could look at? Using the VGA or Mode13h?
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.
Well.. how about with MSVC++?
Will this work?
(im thinking about getting it)
What is C++?
Well, VGA mode 13 is mainly DOS based, and I don't know if MSVC++ supports DOS.Originally posted by Vicious
Well.. how about with MSVC++?
Will this work?
(im thinking about getting it)
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.
I know the the MSVC++ 6.0 compiler has cut out dos graphics, it only supports win32 console graphics.. (text crap).
You maybe able to get around it but im not sure.. just remember reading that it cut out dos graphics.
I personnally never implement a VGA GDI in my console apps... i just use text base... and if im in windows just use the windows GDI or Direct3d / OpenGL...
( haha ever seen a server app in an OpenGL GDI)?
LB0: * Life once school is done
LB1: N <- WakeUp;
LB2: N <- C++_Code;
LB3: N >= Tired : N <- Sleep;
LB4: JMP*-3;