SDL

Started by
2 comments, last by joseph drake 20 years, 6 months ago
What do you think: Is SDL a good choice for making game? I think it should be easier to use it than for instance OpenGL.
Advertisement
SDL and OpenGl are very different ... things.

In SDL you use Surfaces and Blit (Copy) them over each other.
In OpenGL you use Vectors and re-render the whole scene every Frame new.

You can however use SDL to make the window and handle the Input from the keyboard etc. and Use OpenGL ''inside'' SDL for the Grafik stuff.

Im am very new to OpenGL myself. And played around with SDL before that.

Now i use them both together and i think its great.

Creating the Window etc and handling the Input and events with SDL is realy easy and OpenGl is obviously a very Powerfull Grafik Libary.

And both SDL and OpenGl are Portable to many Platforms.

If you are new to both, i suggest you:
- Learn basics of SDL, make small little games and have fun.

- Learn OpenGl and use SDL as Framework for OpenGL.

- Have fun programming

Lazzar

if god gave us the source code, we could change the world!
---------------------------------------------------------if god gave us the source code, we could change the world!
Short answer: Yes.
SDL''s great to learn for beginners, especially since then its easy to move over to OpenGL, since SDL is as good a library as any for making your windows, a prerequesite step for OpenGL. Its image manipulation, sound, and networking features are also good for use with OpenGL.
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)

This topic is closed to new replies.

Advertisement