Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to develop some 2D and 2D Isometric games. Anything ranging from Tetris to Terraria style games. My problem is that if I develop said game for a PC user, I want to be able to port it web browsers and mobile platforms, and easily. And by easy, I mean I want to develop something which can run in all 3. Perhaps I can isolate the gaming logic, graphics and input logic too. But I don't want to rewrite major components. So I will need to work with an engine that runs on all of those, or at least 2 out of 3 (mobile, computer, browser). I considered Java applets but for some reason those are the most unpopular method for playing online web games. There are just so many decent flash games, the only applet based game I can think of is runecraft and that is pretty old.

share|improve this question

closed as not constructive by Byte56, John McDonald, bummzack, Patrick Hughes, Josh Petrie Apr 17 '13 at 4:31

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.

HTML5+JavaScript – William Mariager Apr 16 '13 at 15:39
Heheh... game.html ...although being serious, would html5+js be able to handle lighting, and with decent enough frame response times? – Zombies Apr 16 '13 at 15:42
Welcome to the site. This kind of question does not facilitate the Q&A format. For information about what kinds of questions to ask, feel free to visit the FAQ – Mokosha Apr 16 '13 at 15:45
Please, entertain me... how is porting not faciliating Q&A? The only problem I see here is smug people pushing those who don't understand as much about game dev around. Sorry if me being here offends the real game devs like you! – Zombies Apr 16 '13 at 15:47
Related:… – Byte56 Apr 16 '13 at 16:20

My standard advice to anyone who asks this question (or similar) is: DON'T.

You're starting out, you want to make a first game, you're making the engine yourself, by definition you have no idea what you are doing.

You need to learn so so much; how to structure a game loop, how to handle timing, how to handle input, networking, sound, display, possibly networking, communication between a client and server, storing and update of game states.

On top of that you also want to run it on multiple platforms for which a considerable proportion of this functionality is going to range from being completely different to having weird corner cases and gotchas that need to be handled.

Forget it. You have enough to be getting on with in the first batch of stuff you need to learn. Adding multiple platform support on top of that is going to spread yourself too thin.

Now, there's absolutely nothing wrong with supporting multiple platforms; it's a great thing, but your job right now is not to support multiple platforms, it's to learn the basics of how to build a game. So focus on one thing at a time, assimilate it, then move onto to the next, because taking on all of this together is too much.

So, for the first game, pick a single platform, learn how to set things up properly and get them working on that. Once you know how to handle input, timing, networking, whatever properly on a single platform, then you can go and port it.

Otherwise take the (IMO good) advice in the other answer and forget about the engine, use something like Unity that handles all of that stuff for you (somebody else has suffered so you don't have to) and focus on the game itself.

share|improve this answer

Unity of course. With it you can develop games on: Windows, Linux, Mobiles and Web. Have a look at Hope it can help you.

share|improve this answer
-1 This is little more than just a link answer. It should be a comment. – Byte56 Apr 16 '13 at 16:09

With Libgdx you can write your game once and share it to Windows, Android, Web, Mac.

share|improve this answer
-1 This is little more than just a link answer. It should be a comment. – Byte56 Apr 16 '13 at 20:48

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