LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack 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: Hanover, Germany
Distribution: Slackware
Posts: 14,868
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
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
Guru
 
Registered: Aug 2005
Posts: 12,081

Rep: Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575
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
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,238

Rep: Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299Reputation: 1299
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: Hanover, Germany
Distribution: Slackware
Posts: 14,868
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 08:14 AM.

Main Menu
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