Sign in to follow this  
joel_linder

Engine/Framework for web games?

Recommended Posts

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

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

 

 

 

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

 

Thank you! I will check it out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this