• Advertisement
Sign in to follow this  

Engine/Framework for web games?

This topic is 523 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

Unity will compile down to HTML5/Javascript/WebGL. You can write Unity code in C#.
 
Similarly, the Haxe toolchain allows you to export as HTML5/Javascript. Haxe code is a bit like Javascript but better. The tools are a bit of a mess though.

Share this post


Link to post
Share on other sites

Unity will compile down to HTML5/Javascript/WebGL. You can write Unity code in C#.
 
Similarly, the Haxe toolchain allows you to export as HTML5/Javascript. Haxe code is a bit like Javascript but better. The tools are a bit of a mess though.

I`m familiar with haxe already so that`s a great idea. 

Is unity well optimized for web?

 

 

I've never used it myself, but there's Scirra Construct: https://www.scirra.com

Looks great but i rather use coding instead of visual scripting

 

 

There is also Urho3D cross platform game engine https://urho3d.github.io/ which also includes WEB compiling support, plus it's completely open sourced under MIT license! 

Thank you i will take a look at it.

Share this post


Link to post
Share on other sites

Is unity well optimized for web?

 

Not sure. It's likely to be quite heavyweight so I expect it depends on just how big a project you're planning.

Share this post


Link to post
Share on other sites

The Unity web exporter simply uses the open-source Emscripten (C++ / LLVM to Optimized Javascript compiler) underneath.

 

This Clang based compiler is actually pretty awsome to use. You simply write your game in standard C or C++ using SDL (1 or 2) or OpenGL and this compiler magically compiles up a .html and .js file which runs in a browser.

 

If you find Unity too invasive or heavyweight for you, definitely give Emscripten a go. It also allows you to develop your game in a way that it is portable to many more platforms than Unity will ever support.

 

Plus, when Unity does become obsolete technology one day, it will not affect your projects.

 

http://emscripten.org

Edited by Karsten_

Share this post


Link to post
Share on other sites

You have also Libgdx, I think game maker can also do web games. 

 

I would also recommend LibGDX, it uses Java and has cross-platform capability so you can port your code for Desktop, Android, iOS and Web. I just recently started using it myself

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement