Sign in to follow this  

Mode 13h graphics

This topic is 4839 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
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
Guest Anonymous Poster
http://devpaks.org/show.php?devpak=57

There's thing called google, you type in stuff and it tells you were to find stuff....

Share this post


Link to post
Share on other sites
I know thers a thing called google, but I would prefer to ask here. I read the first tutorial and have it all set up, however, I didnt really understand what was going. I think ill figure it out though. thanks guy!

*EDIT* I ran the some sample code, and i get an error that says "SDL_SETMODULEHANDLE could not be found in sdl.dll" any help?

Share this post


Link to post
Share on other sites

This topic is 4839 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this