News for hackers. Stuff that matters.
Re:First 3D Commercial Web Game Powered By asm.js by timje1 on Thursday December 12, 2013 @11:41AM (#6895364)
Minecraft in the browser has been done already, hasn't it? It'd be pretty trivial, as it's been ported to java / c# / objective c already, and has low system requirements.

Given that asm.js games tend to run at something like 15-30% of the speed of native code, I doubt we'll see Battlefield 4 or Starcraft 2 anytime soon. Additionally, given that the WoW game client is many gigabytes in size, I doubt we'll see that either, even if it could run.

So: Minecraft, yes. The rest? No.

Re:First 3D Commercial Web Game Powered By asm.js by jiggy2011 on Thursday December 12, 2013 @11:46AM (#6895389)
There have been minecraft like demos that implement about 1% of the functionality of minecraft.
Re:First 3D Commercial Web Game Powered By asm.js by pcwalton on Thursday December 12, 2013 @12:41PM (#6895736)
Citation on the 15-30% claim? We see more like 50%, including compilation time. Sometimes much faster on certain benchmarks (Bullet IIRC?) now that float32 support has landed.
Re:First 3D Commercial Web Game Powered By asm.js by timje1 on Thursday December 12, 2013 @12:54PM (#6895854)
https://hacks.mozilla.org/2013/12/monster-madness-creating-g...

This is from a link in the article for more information. These Monster Madness fellows found Firefox gave them 33% of native performance, and Chrome 20%. Presumably IE would give you fractions of these figures.

I figured that, rather than citing figures from benchmarks, I'd go for the real world scenario that this release has given us.

Re:First 3D Commercial Web Game Powered By asm.js by ZeroGravitas on Thursday December 12, 2013 @03:35PM (#6897050)
Those figures seem to be in the context of a week long initial port. The team lead uses a figure of 50% in the video.
Re:First 3D Commercial Web Game Powered By asm.js by azakai on Thursday December 12, 2013 @12:42PM (#6895752)
Also, much of these games is 3D rendering, and WebGL runs at essentially full native performance.
Re:First 3D Commercial Web Game Powered By asm.js by samworm on Thursday December 12, 2013 @11:59AM (#6895471)
Minecraft is FAR bigger and more complicated than people give it credit for. Getting a terrain generation demo running in a browser is not even remotely the same thing.
Re:First 3D Commercial Web Game Powered By asm.js by ANTSANTS on Thursday December 12, 2013 @07:48PM (#6898388)
Minecraft started as a Java browser plugin game. I think that's what the GP is referring to, not "Show HN: Minecraft in 3 lines of Javascript"

https://minecraft.net/classic/

Re:First 3D Commercial Web Game Powered By asm.js by WA on Thursday December 12, 2013 @12:07PM (#6895529)
I think he's talking about the apps for the various ecosystems. Although they're not feature-complete.
Re:First 3D Commercial Web Game Powered By asm.js by timje1 on Thursday December 12, 2013 @12:12PM (#6895561)
Well, no, they're not as rich as the desktop versions.

But as they've had a team port (a trimmed version of) Minecraft to xbox live arcade, and the iPad, it would surprise me if they're not already working on a *.js version.

Re:First 3D Commercial Web Game Powered By asm.js by morganherlocker on Thursday December 12, 2013 @03:44PM (#6897117)
Is it that big of a leap from voxel.js, which is already doing this with pure javascript? (genuinely curious)
Re:First 3D Commercial Web Game Powered By asm.js by nawitus on Thursday December 12, 2013 @12:19PM (#6895612)
The WoW client already supports streaming, you can play the game after downloading only the core content. Even that is pretty large though, but it could be optimized for the web.