Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I was wondering what multi-platform languages are available that could be used to create and deploy 2D games, please note that im not asking which is the best as I do not want to cause arguments over which people believe to be the best.

Ideally I would like to be able to deploy to as many different platforms as I can (PC, Mac, iPhone, Android, etc..)

I do apologies if this has been bought up, but I could not find anything from the searches that I tried.

share|improve this question
    
Question is rather general, why don't you at least mention some platforms or groups of that you interested? Mobile, Consoles, Desktops. –  nirth Apr 3 '13 at 9:37
    
Well my aim was to be a bit more general though I will make an edit so that it clears it up a bit more –  Elliott Apr 3 '13 at 9:39
1  
Check out this question: gamedev.stackexchange.com/questions/6975/… –  nirth Apr 3 '13 at 14:28
1  
Any language is multiplatform so long as a compiler has been written for your target platforms. The fact that you're asking this question suggests that you're relatively new to this, so I'm going to make my usual recommendation which is that for a first project you're biting off far more than you can chew by trying to hit so many platforms. Focus on one for the purposes of learning, then expand out for subsequent projects. –  Jimmy Shelter Apr 4 '13 at 9:56
    
As is this question isn't a problem that needs to be solved but simply going to provide a list of answers (which may eventually be out of date). –  Tetrad Apr 4 '13 at 16:09
add comment

closed as not constructive by Jimmy Shelter, Byte56, bummzack, Tetrad Apr 4 '13 at 16:08

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

  • You could also use HTML5 Canvas element and JavaScript (or languages compiled to JavaScript, such as Java, Dart, ClojureScript, TypeScript, CoffeeScript). While not specifically created for games, it's suitable. You can deploy your project on Macs, Linux, Windows, Android, iOS.

  • Flash with ActionScript: it used to be standard de-facto for games for web in mid 2000, it's still supported on mobile platforms via Adobe AIR. Macs, Windows, Android, iOS.

  • Lua, used a lot in game industry for utility and scripting, but there is number of frameworks, with Corona SDK or LÖVE

  • Java is supported almost everywhere except iOS, you should be able to deliver your product (unless you use esoteric bindings) on Linux, Windows, iOS, Android. Libgdx – Is pretty mature framework that supports Android, Windows, Mac OS, Linux and Web. Alternatively, you don't have to use Java, but can use Scala, Clojure or Groovy etc. (or any combination of those) and deploy to JVM.

  • C/C++ Simply standard de-facto, works everywhere except web. While there is ways to compile C/C++ code to JavaScript and AVM (Flash Player bytecode) I would advise against it. C/C++ is probably most popular languages when we talk about console games.

  • C# with MonoGame an Evolution / rewrite of XNA that allows you to port one code base to many platforms. Alternatively, you can look into Unity platform.

There is good reasons for and against each one of them. C/C++ would open to a world of bigger tripple a games if you choose to pursue this carrier. HTML5/JavaScript, Corona/Lua and Flash/ActionScript will allow you to start implementing game really quickly, and rather easy languages to code. Java I guess somewhere in a middle, but it will require full rewrite if you choose to deploy your application on iOS.

share|improve this answer
1  
For Lua, there is Löve too. –  JCM Apr 3 '13 at 14:09
    
Python with PyGame is very multiplatform as well, albeit not for mobile devices. –  Mokosha Apr 3 '13 at 21:43
    
@JMC thanks, I've edited it –  nirth Apr 4 '13 at 9:19
    
@Mokosha could you edit my post and add pygame with some notes if any, I'm not familiar with python or it's frameworks. –  nirth Apr 4 '13 at 9:20
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.