Mode 13h graphics
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.
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.
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.
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?
*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?
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
CLICKY
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.
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.
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
Lizard
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
*EDIT* just checked out the site. what should I download?(what file. development runtime, binary runtime, what?)also, an tutorials would be nice
Quote:Original post by jakpandoraYou want the Development libraries.
*EDIT* just checked out the site. what should I download?(what file. development runtime, binary runtime, what?)also, an tutorials would be nice
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.
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?
Quote:Original post by jakpandoraThe ones labeled "SDL-devel-1.2.7-mingw32.tar.gz" are the ones you want.
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?
How to set up SDL
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement