What are good libraries to use??

Started by
4 comments, last by guessKUO 23 years, 6 months ago
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
Advertisement
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.
Tara Milana - WP Entertainmenthttp://wolfpack.twu.net/Comp graphics artist and programmer.
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??


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
Though not always the most up-to-date, The SDL Documentation Project is fairly complete, and i find complements the official SDL documentation quite nicely. Also, the most important reference of all is the source code of tests and games available at www.libsdl.org.



-benc
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.

This topic is closed to new replies.

Advertisement