Jump to content
  • Advertisement
Sign in to follow this  
jakpandora

Mode 13h graphics

This topic is 5145 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a few questions. I want to learn graphics, but I want it to be as simple as possible. I think mode 13h would probably be the best, because it uses no api's or anything like that. however, I have nowhere to start. I am looking for a complete and easy to use tutorial. also, I use dev c++ 4.0, and I believe I read somewhere that it wouldnt work with mode 13h. is that true? and last but not least, do I need to learn oop to program graphics easily? I know it would certantly help, but I dont think its needed, since I know many games are still made in c.

Share this post


Link to post
Share on other sites
Advertisement
Mode 13h doesn't use an API, because you make your own API.


If you want to start with something easy, I suggest OpenPtc. It has a simple timer, basic keyboard entry and only 4 windowing API calls.

Share this post


Link to post
Share on other sites
are you sure thats esier? ill check it out. I just want to the simpliest thing possible.

*EDIT* there doesnt seem to be any tutorials on it for beginers. I only scanned it over, so there may be. any tuts on that?

Share this post


Link to post
Share on other sites
SDL. It can be a pain to setup on some platforms but the windows install is fairly basic (I use a mac and it pissed me off for a while :() It is UBER-basic and it has all kinds of 3rd party add-ons for sound, image loading, networking, fonts, etc. It also lets you create an OpenGL context to play with 3D. Check out
CLICKY

Share this post


Link to post
Share on other sites
The book I used was "Graphics programming in C" by Roger T Stevens. ISBN 1 - 55851 - 018 - 4

It covers the CGA, EGA and VGA graphic cards under DOS, shows how to plot pixels and draw shapes onto video memory.

Though definitely dated, it may still be available for ordering at your local bookstore.

Hope this helps.

Share this post


Link to post
Share on other sites
Ok you want to learn to program graphics but you don't want to learn an api, and you want it to be simple. Well the api:s are there to make things simple. So that you don't have to write your own scanline function and so on. So you should relly consider looking at an api. OpenGl is a very good api and is written in c.

Lizard

Share this post


Link to post
Share on other sites
I knwo I would have to leanr api eventually. my problem was setting everything up. the instructions seemd to cryptic, and I alwasy had trouble. I guess ill try sdl, since that other thing seemed rather cryptic too

*EDIT* just checked out the site. what should I download?(what file. development runtime, binary runtime, what?)also, an tutorials would be nice

Share this post


Link to post
Share on other sites
Quote:
Original post by jakpandora
*EDIT* just checked out the site. what should I download?(what file. development runtime, binary runtime, what?)also, an tutorials would be nice
You want the Development libraries.

cone3d.gamedev.net has a lot of great tutorials on SDL.

for any SDL questions, you can post here or in the Alternative Game Libraries forums.

Share this post


Link to post
Share on other sites
ok, thanks. just checked out the dev libraries, and I noticed they were for vc++. although I have it, i would prefer to use dev c++. should I just create an empty workspace and load all the files in?

Share this post


Link to post
Share on other sites
Quote:
Original post by jakpandora
ok, thanks. just checked out the dev libraries, and I noticed they were for vc++. although I have it, i would prefer to use dev c++. should I just create an empty workspace and load all the files in?
The ones labeled "SDL-devel-1.2.7-mingw32.tar.gz" are the ones you want.

How to set up SDL

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!