LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-03-2008, 09:47 AM   #1
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Rep: Reputation: 30
alternatives to SDL


Hello,
I would like to know if there are some alternatives to libsdl
to do common tasks like handling object like surfaces and do blits.
Are there some lib that is currently under active development?
Thanks,
tano
 
Old 08-03-2008, 01:20 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
I'm sure you're aware of OpenGL...

You might also look into "glut":

http://en.wikipedia.org/wiki/OpenGL
http://en.wikipedia.org/wiki/OpenGL_Utility_Toolkit
http://en.wikipedia.org/wiki/Simple_DirectMedia_Layer
http://en.wikipedia.org/wiki/Allegro_library
http://en.wikipedia.org/wiki/Troll2D

Last edited by paulsm4; 08-03-2008 at 02:16 PM.
 
Old 08-03-2008, 02:01 PM   #3
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
Pretty much any graphics library is going to support blit operations and contain image data. Of course, SDL is the most simple of all the graphics libraries I have seen, and most widely supported by various add-on libraries. I do not believe anyother library can really replace SDL, but I guess Allegro comes close. GGI is another, but has a few problems/quirks that might make game programming harder (its active I believe, but not exactly feature-rich enough for some purposes).

Why do you want a alternative anyways?
 
Old 08-03-2008, 04:39 PM   #4
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Original Poster
Rep: Reputation: 30
Allegro seems to be a complete game-developing solution.
I check for alternatives only to know if there is something at the horizon.
As I said, libsdl seems not to be under development, and knowing if there is some
api newer than it that handles better hardware/software surfaces mechanism, multiple
monitor support, better font handling and so on..
 
Old 08-03-2008, 04:49 PM   #5
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Newer != better

Microsoft incessantly releases new Versions du Jour. Some are good; some are great .. and most are crap.

For whatever it's worth, for those doing open source game development, OpenGL + SDL seems to be the library many prefer. This buys you two big wins:

a) Stability
b) A common frame of reference, for sharing ideas with other developers

By all means, I encourage you to try any/all libraries to see what suits you best.

But to judge a library based solely on how recently somebody made the last release ... well - good luck with that!

IMHO .. PSM

PS:
I agree - Allegro does look very good. I still urge you to give SDL a fair chance!
 
Old 08-04-2008, 04:18 AM   #6
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Original Poster
Rep: Reputation: 30
Excuse me,
but you are not right about me.
I do not say newer is better, what I think is "Ok, let see if there is something out
of the box". I use sdl, and seems very good for me, even better than the examples I see
for Microsoft DirectX, but I think that on a forum people could even suggest new solutions
(if there are, seems not to be a real alternative) and talk about their pro and contro
in respect of the olds. I am not a over-devote of the newest, just only curious :-)
Bye,
tano
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL is installed, included and linked, but will not compile SDL code mansizerooster Programming 10 05-31-2006 04:18 AM
Sourcecompiling Problem...The sdl-config script installed by SDL could not be found. deepclutch Debian 1 12-15-2005 12:15 PM
Vi alternatives Gins Linux - General 9 09-05-2005 10:29 AM
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop pujolasdf Linux - Newbie 4 03-13-2005 07:50 AM
Alternatives matahchuah Linux - Software 1 02-17-2004 05:08 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration