LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Gaming (https://www.linuxquestions.org/questions/linux-games-33/gaming-4175450468/)

chrismack100 02-16-2013 03:48 PM

Gaming
 
I have a question:
What is the best language to write in when creating a game that is to be used on Ubuntu?
I know nothing about writing games. I thought this would be a good first question for the linux forums.

TobiSGD 02-16-2013 03:54 PM

It depends on which type of game you want to write, but usually C or C++ are the languages that are chosen for games on Linux, if it is a larger project sometimes accompanied by a scripting language for the game logic, so that only the game engine is written in C/C++.
If you want to use an existing engine you will usually have to use a language that has bindings for that engine.

John VV 02-16-2013 07:40 PM

Quote:

I know nothing about writing games.
have a look at Python
it is a very good language to learn with

dugan 02-17-2013 11:48 AM

Quote:

Originally Posted by chrismack100 (Post 4893245)
I know nothing about writing games.

https://love2d.org/

Quote:

C or C++ are the languages that are chosen for games on Linux,
I don't think that's generally true anymore. Project Eternity, Dreamfall Chapters, and a lot of other new and upcoming for-profit games use Unity3D.

TobiSGD 02-17-2013 11:59 AM

Quote:

Originally Posted by dugan (Post 4893756)
I don't think that's generally true anymore. Project Eternity, Dreamfall Chapters, and a lot of other new and upcoming for-profit games use Unity3D.

Unity3D is written C/C++, it only provides bindings for C# (and Javascript) for the same purpose that other engines provide bindings to Python or Lua for, for scripting the game logic.

Thanks for the link, by the way, I am currently having a look at Lua and that 2D engine looks nice.


All times are GMT -5. The time now is 05:36 AM.