Jump to content
  • Advertisement
Sign in to follow this  
Portugaz D Ace

Linux Games

This topic is 2945 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
I have a copy of this book. It's a bit too old, but a lot of it is still relevant. You basically use SDL to get access to things like raw input and graphics, you use OpenGL if you want 3D graphics, and one of several options for audio: OSS, ALSA, JACK... I haven't done any Linux audio programming, so I can't recommend one.

That should get you started.

Share this post


Link to post
Share on other sites
Just like windows. If you are referring to C++, Find a compiler (gcc4.5), find an IDE (Code::Blocks, KDevelop, And/Or CMake), install the relevent sdk (packages with -dev postfix) for the kind of interface to the OS you want (GLUT,SDL,X11,SFML) and write the code.

If you are talking about other languages/toolkits, they are pretty much identical to the way they are on windows (Java and python should work out of the box). Just pick something and go.

Share this post


Link to post
Share on other sites
I do a bit of linux gamedev (rather cross-os gamedev), for now I use OpenGL for graphics (plus a bit of my own ray tracer), OpenAL for audio is probably best solution, for input/output is probably best SDL (although one can write it twice - X11 and WinAPI, that is maybe a bit better), networking was a bit of hard work for me (I use sockets (with either UDP or TCP protocol) - but just client-server for now), anything else I forgot?

Share this post


Link to post
Share on other sites
Been into Linux game programming for years and found that it forces good programming practice. If you don't keep things platform non-specific then you are limiting your audience to an OS that very few people use.

Share this post


Link to post
Share on other sites
We have a forum for development on Unix-like OSes; I've moved this thread over there, where hopefully you'll get a bit more info [smile]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!