SDL ?

Started by
4 comments, last by tetsuo8 23 years, 9 months ago
Hi everybody It''s my first post here, and maybe the question has been already asked... Here is my problem : I have to code a graphic engine in 5 moths, based on DirectDraw, for a strategy game. Someone told me about a free API, SDL (Simple DirectLayer) Does anybody know this API ? How good is it ? Should I better start to code directly in DirectDraw ? Thanx for your answers Tetsuo
Advertisement
You can sdl at:
www.libsdl.org

It''s a very clean, open source, platform independent API.
I ported my graphics engine from linux to win32 in 5 mins( just needed a few #include "windows.h")

Also the support on the SDL mailing list is very friendly.

I can''t really say much about DirectDraw, but SDL isn''t a bad
option.

Good Luck
if you are running the win32 version of the binaries, the graphic code is done through directdraw if you chose to.

Pretty slick library. And anonymous is right the newsgroup is great. All Loki linux ports are done with sdl(the guy who create the library works for loki).
Sofar I only have a short look @ SDL but I''ll use it in commercial games.

SDL is a nice cross platform API.
I think cross platform games are interesting since you''ll make many people happy, people who will buy the game and remember what you did for them.

Just My Opinion...

-* So many things to do, so little time to spend. *-
-* So many things to do, so little time to spend. *-
I highly recomend SDL. It''s very simple, very portable, and very powerful.
just a note:
If you''re doing a Linux-based app with SDL make sure you explicitly link the X11 library, the pthread library, the GL and GLU libraries in addition to the SDL library. I didn''t find this information anywhere in the docs, and had to do some searching through their forum. Some good stuff though

joeG
joeG

This topic is closed to new replies.

Advertisement