LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03: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, 03:54 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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 04:55 PM. Reason: fixed idiotic errors
 
1 members found this post helpful.
Old 02-16-2013, 07:40 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 11:48 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
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 11:51 AM.
 
Old 02-17-2013, 11:59 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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



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 07:50 AM
LXer: Linux Gaming With Sabayon Gaming Edition DVD LXer Syndicated Linux News 0 02-19-2010 03:40 PM
Gaming/3D In a VM rcayea Linux - Virtualization and Cloud 8 10-23-2009 07:08 PM
Gaming fireedo Mandriva 1 05-06-2005 01:17 PM
Gaming without wm ? Skilless Linux - Newbie 8 12-11-2002 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 11:03 AM.

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
Open Source Consulting | Domain Registration