Jump to content
  • Advertisement
Sign in to follow this  
brenlae

Wanting to do Linux game development.

This topic is 502 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

Developing on Linux here.

 

Programming in C or C++ on Linux is much easier than on any other platform. Most of the libraries and programs you will need you can easily install with your package manager:

 

Edit (more libraries):

* Libraries for window creation (and some more): GLFW, SDL2, Allegro, SFML (C++)

* GLAD: if possible, use GLAD (github / website) instead of GLEW

* 2D Collision: tinyheaders, Chipmunk2D

* 3D Physics: Bullet-physics

* Image/Audio loading: tinyheaders, STB

* Network: http://enet.bespin.org/

* Multithreading: https://github.com/tinycthread/tinycthread

* Database: redis/hiredis

* Git is your best friend

* String/buffer manipulation: https://github.com/antirez/sds

 

Your compilers is GCC. And, if you want to cross-compile for Windows on Linux, you can use MinGW! Emscripten will let you compile your C code to web, too.

 

Don't forget about `man` (the command-line tool).

 

Above that framework layer anything is game logic, which is independent of platform (that's why you don't find many resources Linux-specific).

Edited by felipefsdev

Share this post


Link to post
Share on other sites

Thanks so much, felipefsdev! I actually just purchased a book on C! It's "Sams Teach Yourself C Programming in One Hour a Day". It is apparently C11 compliant. I"m having fun so far. I'll have to check out some SDL or Allegro or something. :)

Anyway those links you gave me are neat, thanks! :D

Share this post


Link to post
Share on other sites

LazyFoo tutorials are useful for SDL. Make sure you learn SDL2, he has both 1.2 and 2, tutorials, and the difference isn't always clear, unfortunately.

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!