Sign in to follow this  

Wanting to do Linux game development.

Recommended Posts

Posted (edited)

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this