🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

New to linux programming

Started by
3 comments, last by Great Milenko 24 years, 2 months ago
ok I''ve done a lot in win9x and dos... now I want to start programming(games mostly) in linux... I can get simple programs to run... but how do you do graphics sound networking ect? is there a good site for this(preferable) books ect? Great Milenko

Words Of Wisdom:
"Never Stick A Pretzel In Your Butt It Might Break Off In There."


http://www.crosswinds.net/~milenko
http://www.crosswinds.net/~pirotech

The Great Milenko"Don't stick a pretzel up your ass, it might get stuck in there.""Computer Programming is findding the right wrench to hammer in the correct screw."
Advertisement
If you already know C then I just have to recommend "Beginning Linux
Programming (2nd Ed.)" by Stones and Matthew; Wrox Press. It teaches you
all sorts of stuff like how to program threads, network packets, X and
device drivers and loads more. It assumes you know C, but also teaches you
BASH scripting, Tcl/Tk, Perl and HTML. The book''s well written, easy to
follow and packed with examples. It''s also technical enough to use as a
reference for more experienced Linux programmers. So there.

There''s also a Sams Teach Yourself Linux Programming book, but it''s less
than half the page count of S&M2 () and isn''t much cheaper.

As for graphics and sound, a combination of SDL and OpenAL works really
well I believe. OpenAL''s at www.openal.org, and SDL''s lurking out there
somewhere - try Googling for it.


=> Arfa <=
=> Arfa <=
What you want to do is to get the Mesa/Glut libraries and use them for graphics as for sound, I think OSS has their libraries available to hardcode sound functions in your programs and networking, all you need is your witts...

Anyhow, MESA & Glut are the ones that I uses for my graphical apps like mini games and stuff like that. They are the ones that resembles DX the most..



Cyberdrek
Headhunter Soft
DLC Multimedia
Two Guys Soft
[Cyberdrek | ]
http://www.linuxgames.com/
SDL is a good low level cross-platform library. It has 2D-graphics, sound, threads, CD-ROM. The newer version has OpenGL hooks.

It''s at http://www.devolution.com/~slouken/SDL/index.html

As for network programming, a good book is UNIX Network Programming, by W. Richard Stevens. But you probably don''t need anything that comprehensive to write games... (but it''s a good book to keep around in my opinion)
Dane Jackson - zuvembi@mindless.com
The meek shall inherit what they're bloody well given.
And be thankful for it.

This topic is closed to new replies.

Advertisement