Archived

This topic is now archived and is closed to further replies.

flip5577

graphics in dos help

Recommended Posts

Hey i am working on a lil simple game for my programming class but i dont know how to use graphics in dos. I know you can use graphics in doss because i have seen games with graphics. For example what graphic file can be imported into a program or used. example- i am making a rocket racer game and i need to have pics for each rocket you race and your rocket. I will use gotoxy for the placement of the pic but how to i bring in the pic is there a certain file type? or something that i have to Larry Charles CEO Centra Entertainment Studios

Share this post


Link to post
Share on other sites
Hmmm... Just looking at two basic facts you are supplying: it''s for programming class, and it''s for DOS.

This leads me to believe your programming class isn''t very ''advanced''. In such cases, Tetris often works great Just use gotoxy to plot colored ''spaces'' on the screen. When done right, you can get a great effect with minimum effort. T''was the first game Iever created, and got an A+ for it

Share this post


Link to post
Share on other sites
I just noticed something...

***
Larry Charles
CEO Centra Entertainment Studios
***

LOL!

Why not create a Win32 game with OpenGL or DirectX? You should be capable of doing so, since you got your own "Software Company"

Share this post


Link to post
Share on other sites
quote:
Original post by Ronin_54
I just noticed something...

***
Larry Charles
CEO Centra Entertainment Studios
***

LOL!



Didn''t want to say anything about that. I think a lot of people have the misconception that a title and fancy company name make you more credible. On the contrary, if you style but can''t back it up (like a CEO recruiting artists or asking for elementary instruction) then you make yourself look like a total ass. This was hashed out in full a few months ago in the Help Wanted forum, when there was a daily deluge of such posturers.



To you it''s a Bently, to me it''s a blue car...
"Diddy"
P.Diddy

Share this post


Link to post
Share on other sites
Basicly the reason why I don''t use a signature...

Usually, I ignore these kind of sigs. But, a CEO of a company asking how to do graphics for a simple school project, hmmm... That seems odd to me :p

Share this post


Link to post
Share on other sites
Well, if you are really seriuos about doing this, you should know that graphics in DOS is more than just a trivial job, if you want fast and hicolored graphics!
For a IMHO really good compilation of information about DOS game programming goto:
http://www.geocities.com/siliconvalley/2151/pcgpe.html
and download the PCGPE plus the patch.
This a compilation of docs, tutorials and some sample-code for sound, graphics and fileformats!

Btw. what is a ''CEO''?




Yesterday we still stood at the verge of the abyss,
today we''re a step onward!

Share this post


Link to post
Share on other sites
CEO = Chief Executive Officer

As for DOS graphics: Mode13h isn''t that hard. You''re limited to 320x200, and 256 colors per frame (of a total of 262144 colors), but it''s very easy to work with, and should provide graphics with sufficient quality for your class. If you want something better than Mode13h, then you get into VESA and all kinds of annoying things. I would just bite the bullet and learn DirectDraw, instead of wasting your time with VESA. Dos is good for low-res stuff, but anything above 13h is more trouble than it''s worth.

Share this post


Link to post
Share on other sites
Hey dont be fooled by the signiture, Centra studios dosent make games, we do more work with flash animations, cartoons and things of that sort. Were not a software company, a small small highschool to college job that helps pay the bills.

Programming is a new hobby of mine. That''s why i cant invest the time required to study pogamming direct x or something of that sort. I am just trying to make some lil rinky dink games.

I appreciate the help recieved sofar.

Larry Charles
CEO Centra Entertainment Studios

Share this post


Link to post
Share on other sites
Then I would advice you to either learn OpenGL, DirectX, or Win32 GUI.

Takes about the same effort as programming graphics under DOS...

Share this post


Link to post
Share on other sites
TerranFury: Thanx

Espacially OpenGl is very easy to learn, just go to NeHe Productions and look at the tutorials, they teach you all you need to make a simple OpenGl app! It's written for beginners I think, so if you are familiar with C, it shouldn't be a problem.


Yesterday we still stood at the verge of the abyss,
today we're a step onward!

Edited by - Vaporisator on October 23, 2001 9:19:37 AM

Share this post


Link to post
Share on other sites
Well , for DOS graphics nothing beats mode 13h.
http://www.brackeen.com/home/vga/ is the best site to learn
it at HANDS DOWN. it''s where i learned.

All this assuming you know C. If you dont then you
should. For games there is almost absolutely
nothing better than C (or C++ if your into OOP , but thats
a bit more advanced).

Since your in a computer class they''ve probably got you
learning a crappy language . They made me use
QBASIC (crap) and TURING (a completely asstastic pascal ripoff).
Your best bet for making games is C. if not some of the languages
have built in graphics commands (eg. in qbasic SCREEN 13).

Share this post


Link to post
Share on other sites