TL;DR
How does Unity3D deploy a game to the web?
-------------------------------------------------------------------------------
Hello,

I am building a 2D OpenGL game engine on top of SDL, and I would like to be 
able to export games to the web. Tools like Unity3D or GoDot for example 
can export a java script application and I want to replicate this process. 
In order to do this, have they built some sort of minimal runtime that has 
been translated to JS using emscripten?

Let me clarify the question I am asking.

My normal tool chain for my game engine is this:

   1. Write some scripts in Lua that are run
   2. Read them into my C++ Game Engine (basically an interpreter) that 
   runs the game logic
   3. Compile my engine to an .exe and distribute the scripts alongside the 
   .exe

I am struggling conceptually with trying to figure out how I can use 
emscripten so that I can target the web as a platform rather than 
distributing an .exe with scripts. Do I just translate my entire engine to 
javascript and distribute it with my scripts? What if I do not want to 
distribute the entire source code(both for safety, and for a smaller 
deliverable)

Thanks for any help,
Mike

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to