ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
C++!!! It's the only way to go if you want to learn *real* game programming, as it is what the industry uses. (Unless you're hardcore and want to learn assembly XD)
Naturally it's possible to program games is most languages, but C++ has the advantage of being a powerful compiled language, so it's way faster than, say, Java.
The language of choice is usually dependent upon what the requirements are (unless of course, you are in the industry, in which case, its C++ :P ). As the word "game" can mean any number of things, its really not helpful to suggest anything about what even the basic requirements could be, so its really a toss up, any language will do until you know what type of game, and what you want it to do, will be.
As strange as it may feel when you are fighting-off the ten-bezillionth Gorkzon Raider in level-fourteen of your favorite game ... in most games the computer is actually loafing. The graphics-card might be busy enough, but only in a very-predictable way. All in all, nothing much is going on.
Almost any programming language will therefore be plenty fast enough to do whatever you have in mind. The trick is that you need to use a toolkit .. a construction-set for games similar to the sort of game that you have in mind. The construction-set will actually contain the clever programming that you need.
Yeah, pretty much any programming language is bound to have some kind of nice gaming API. I'm programming a game in Python right now in fact (for some reason XD) and when I googled to find some APIs I was surprised at the large number. Though I'm biased, I think C++ is the best all-around programming language there is
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.