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 was going to make a MMORPG in HTML5 and javascript but I think I'm going to make a singelplayer first after all.. It would be nice to make the game in html5 anyway so the transition to making an mmorpg in future will be smoother.

But I would like the game to be downloadable app which is then installed like most games are.. Not a unzippable container containing a .js file.. I also want to be able to put the game up on steam.

I also don't really want the source code to be open for anyone to see if I let them download the game in a zip file where the .js and .html files are inside.

Is there a way of accomplishing this? Otherwise I will probably have to use some other language for making my game in some framework/engine like unity/xna/game maker but like I said I would prefer just using html5 and javascript with my own custom code.

share|improve this question
Maybe there are wrappers like that, but even then I suppose that they could relatively easily be decompiled again. It's not really meant for this use case, but maybe you could build something like that yourself with Awesomium and some C++ or .NET code. Ultimately, if you worry about people seeing the source, HTML5 is probably not a good choice. But if the end goal is an MMORPG, all important logic will (or at least should) be done serverside anyway, so it won't be much of an issue anymore. – Christian May 14 '13 at 12:20
There may be some information here:… – Battle_Pasture May 14 '13 at 12:21
Sounds like you want to make a game in C++. – Byte56 May 14 '13 at 13:48
Quit worrying about people stealing your code at least until you start writing anything that is actually stealworthy, it doesn't sound like you are there yet. – aaaaaaaaaaaa May 14 '13 at 14:17
@Krymmt I'm not trolling, I'm just being a little more honest than most people would usually dare. There is nothing wrong about being a beginner, but it means that your focus should be on learning the basic craft, rather than hunting for shoddy DRM solutions. – aaaaaaaaaaaa May 14 '13 at 22:35

Yes, this can be done using node-webkit. One example of this in the real world is a game called Lava Blade which is available on both Windows and Mac.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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