by codexon · 13y ago · 0 comments
If you look at this HTML5/WebGL minecraft engine, it stutters even without any other players or bots in the environment.
Meanwhile Minecraft running in Java is smooth on even the slowest machines.
Benchmarks indicate that Javascript is 4x slower than Java.
http://j15r.com/blog/2013/07/05/Box2d_Addendum
The alternatives like ASM.js and PNACL are far from usable. ASM.js has no support for threads and PNACL is unlikely to be supported outside of Chrome. They also have no debugging support.
The choice of Java in your argument is kind of ironic to me.
Also 10 years ago Java was nowhere near as fast as it is now. If you are saying that Javascript might be an option 10 years from now, I am not disagreeing with you.
My minecraft server can get bogged down just my wife and I playing. That's on a core2duo 2.0GHz with 4GB.
It plays better on my phone.
After your experience with both native and WebGL game development, don't you think it's a little premature to make a hardcore game targeting only WebGL?
Thanks for sharing Irrlicht engine with us!
When emscripten is passed the debug flag, it will generate source maps, which will let you step through your code, although inspecting variables still isn't a solved problem.