-
Dev-C++ and SDL Users?
Hi,
Do any of you use Dev-C++ and the SDL for graphics? I am just getting started with SDL and was hoping someone has some simple programs that did things like draw lines, circles, points onto the screen.
I hear from SDL folks that it easier to do graphics instead of OpenGL and DirectX. I hope this is true as OpenGL and DirectX seems like a lot of busy work before you get to actually program the meat of it...unless graphics is your meat...then my statement is out of place. :-)
Again, any samples would be welcome.
Regards,
ChuckB
-
The SDL video graphics api is for purely 2D graphics.
OpenGL and DirectX are both 3D, because of that they are both more complicated.
I use Dev-C++ with SDL to port my programs to windows.
There's nothing like being able to recompile with no code changes for a different OS.
The only SDL sample I have is a 2000 line program.
-
Hi Bjwbell,
Thanks for that detail. I think 2D is okay for me. I need to 2D before I learn to 3D in C++...or something like that.
You know, I have been reading various forums and sites trying to get the big picture on programming graphics and languages. I haven't found a single site to bring it all together for me. Any suggested links?
Regards,
ChuckB
-
www.gamedev.net is the biggest game development site that I know of.
http://www.gamecoding.org.uk/page.php has some tutorials on SDL.
-
Thanks for the gamecoding.org site. It's what I needed. :-)
Regards,
ChuckB