LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices



Reply
 
Search this Thread
Old 02-16-2013, 04:48 PM   #1
chrismack100
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 02-16-2013, 04:54 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
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.

Last edited by TobiSGD; 02-16-2013 at 05:55 PM. Reason: fixed idiotic errors
 
1 members found this post helpful.
Old 02-16-2013, 08:40 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 13,508

Rep: Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804Reputation: 1804
Quote:
I know nothing about writing games.
have a look at Python
it is a very good language to learn with
 
Old 02-17-2013, 12:48 PM   #4
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,000

Rep: Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558Reputation: 1558
Quote:
Originally Posted by chrismack100 View Post
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.

Last edited by dugan; 02-17-2013 at 12:51 PM.
 
Old 02-17-2013, 12:59 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Quote:
Originally Posted by dugan View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gaming Nobix Linux - Newbie 7 09-19-2011 08:50 AM
LXer: Linux Gaming With Sabayon Gaming Edition DVD LXer Syndicated Linux News 0 02-19-2010 04:40 PM
Gaming/3D In a VM rcayea Linux - Virtualization and Cloud 8 10-23-2009 08:08 PM
Gaming fireedo Mandriva 1 05-06-2005 02:17 PM
Gaming without wm ? Skilless Linux - Newbie 8 12-11-2002 01:59 PM


All times are GMT -5. The time now is 11:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration