Hi, i am looking for a good engine or framework for web game development that doesn't require me to write JavaScript.
any suggestions?
Hi, i am looking for a good engine or framework for web game development that doesn't require me to write JavaScript.
any suggestions?
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.
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!
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.
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.
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.
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