Live data from Hacker News

Show HN: Unity like game editor running in pure WASM

raverie-us.github.io

131–140 of 166 posts

Re: Show HN: Unity like game editor running in pure WASM

#131

Just to contribute: yet another instance of "cool slideshow" on my (most definitely low end) laptop with integrated graphics. Then tried it on my aging Mate 20 Pro (not too new, not tooo old), and it just seemed to get stuck at "Downloading runtime". Got a funny feeling my flaky 4G wasn't actually to blame, inspected the tab from my laptop (chrome://inspect) via USB, and was greeted with Uncaught (in promise) Error:…

https://github.com/evanw/OES_texture_float_linear-polyfill

Re: Show HN: Unity like game editor running in pure WASM

#132
Tried on a couple of devices with Firefox, the Downloading runtime bit takes ages.

On Android firefox on my poor old Nokia Android phone it's way too slow to try, on rotating the UI size hasn't caught up for a few seconds and everything stretches.

Edit: I got Failed to create WebGL context: WebGL creation failed: (Feature_Failure_EGL_Create) Exhausted GL driver options. (FEATURE_FAILURE_WEBGL_EXAUSTED_DRIVERS) TypeError: a is null.

The Ubuntu is in qemu but should have 3D support, as others mentioned there should be some error surfacing, not just continuing to show the splash screen forever.

On Firefox on Ubuntu, I'm still waiting after a couple of minutes for it to start, so might try again later.

Re: Show HN: Unity like game editor running in pure WASM

#133

Earlier quoted context omitted.

that ship has sailed. Minified and optionally obfuscated js is already highly annoying to decipher. The wasm spec is surprisingly high level for what should be a low level VM, and is planned to get much more high level approaching near jvm levels, and isn't any less readable than C++ compiled to asm.js.

Still infinitely better than WASM blobs where everything is painted on a canvas, which is un-adblockable. The experience will also be hellish, because every website will ship a 10 MB blob of half-baked things that your browser already does a million-times better out of the box. And for what? Because people think it will be faster (it won't).

I was sceptical WASM is ever going to be mainstream, but after reading your post I'm convinced it's the future. This sound like advertiser dream, and adds already rule the internet, so the conclusion is obvious

Re: Show HN: Unity like game editor running in pure WASM

#134

Earlier quoted context omitted.

I don't see how it's different than scenes in Unity either

Worlds/Spaces in Godot at least are more to do with physics/lighting than scenes/levels. So two objects in the same scene can occupy different "spaces" (for physics), "scenarios" (for rendering), or "worlds" (which encapsulate a space and scenario, for both physics and rendering). Objects in these different contexts will appear in the same scene but will be separated in terms of those contexts and won't e.g. collide…

Interesting. What are the use cases for being able to do this?

Re: Show HN: Unity like game editor running in pure WASM

#135
post #72

I like the concept. My GPU and browser weep with lag. Its a very impressive slideshow. I finally managed to highlight the starting sphere after several tries. At first I wasn't sure if it was loaded. Of course, I'm only using a 1.8 GHz Celeron with onboard GPU and 8GB Ram in Firefox, so... not exactly high-end stuff.

I'm on an m2 pro and had the exact same experience, also Firefox.

So M2 = Celeron?

Re: Show HN: Unity like game editor running in pure WASM

#136
post #122

> Our engine had a unique feature called Spaces: separate worlds/levels that you can instantiate This is, as far as I can tell, exactly what the Godot engine does[1]. That engine also has a browser (wasm) target. [1]: https://godotengine.org/

Not only does it have a wasm target, it also has a web version: https://editor.godotengine.org/ I suppose it's not any kind of priority to the project. Tested it a bit and it does seem to work :), but it's slower than running it natively.

Thats because the editor is built in godot as well, as far as i recall

Re: Show HN: Unity like game editor running in pure WASM

#137

> Our engine had a unique feature called Spaces: separate worlds/levels that you can instantiate This is, as far as I can tell, exactly what the Godot engine does[1]. That engine also has a browser (wasm) target. [1]: https://godotengine.org/

I don't see how it's different than scenes in Unity either

Everything in Godot is a scene, from actual scenes to groups of objects, etc.

It makes composing and managing objects and compositions much easier than just with the tree view.

Like a Unity prefab, but much better

Re: Show HN: Unity like game editor running in pure WASM

#138

Just to contribute: yet another instance of "cool slideshow" on my (most definitely low end) laptop with integrated graphics. Then tried it on my aging Mate 20 Pro (not too new, not tooo old), and it just seemed to get stuck at "Downloading runtime". Got a funny feeling my flaky 4G wasn't actually to blame, inspected the tab from my laptop (chrome://inspect) via USB, and was greeted with Uncaught (in promise) Error:…

How low end is it? I'm using my 8-year-old Surface Pro 4 on Starbucks wifi and it's blazing fast.
Post reply on HN