Archived

This topic is now archived and is closed to further replies.

guessKUO

What are good libraries to use??

Recommended Posts

guessKUO    122
Hi, I''m really interested in developing games under linux, however I don''t know what are the libraries I should choose... especially libraries that handles keyboard, mouse...etc input from user... On Windows most people use DirectInput but what are the simillar libraries availiable under linux? also, which of the many graphics libraries do you recommand?? Thanks

Share this post


Link to post
Share on other sites
LearFox    122
The best start for newbies would be using the SDL library.
It''s got good coverage over input and output for games.

Next up if (and only if) yer writing an OpenGL game,
you can use Mesa3D (software rendering for OpenGL for
UNIX/X) and you''ll need to know how to use GLX (which
the UNIX version of GLW).

GLUT is available on Linux too and it helps with avoiding GLX completly in OpenGL programs.

Next up if you want to get to the lowest level of graphics
for Linux/X would be Xlib. It''s very low-level but
if you have coded low-level for DOS before then this would
look more like high-level.

Share this post


Link to post
Share on other sites
guessKUO    122
quote:
Original post by LearFox

The best start for newbies would be using the SDL library.
It''s got good coverage over input and output for games.

Next up if (and only if) yer writing an OpenGL game,
you can use Mesa3D (software rendering for OpenGL for
UNIX/X) and you''ll need to know how to use GLX (which
the UNIX version of GLW).

GLUT is available on Linux too and it helps with avoiding GLX completly in OpenGL programs.

Next up if you want to get to the lowest level of graphics
for Linux/X would be Xlib. It''s very low-level but
if you have coded low-level for DOS before then this would
look more like high-level.



Thanx for your advice ^^
Are there any good tutorials/Book availiable for SDL??


Share this post


Link to post
Share on other sites
acraig    471
quote:

Thanx for your advice ^^
Are there any good tutorials/Book availiable for SDL??




There are some examples on SDL main page. Those should give you enough info to get you started.



--------
Andrew

Share this post


Link to post
Share on other sites
Guest Anonymous Poster   
Guest Anonymous Poster
www.talula.demon.co.uk/allegro

this is a crossplatform game library. It does almost no 3D
though. But it has full featured input support, can use hw
acceleration (still experimental on Unix though). It uses
dx on win, x, fbcon on unix/linux. Runs on BeOS, FreeBSD also.
And DOS. It''s in C with assembly parts.

Share this post


Link to post
Share on other sites