News for hackers. Stuff that matters.
Re:Real Time Multiplayer in HTML5 by Maro on Thursday July 19, 2012 @09:19AM (#4265820)
3D gaming in the browser is coming. Interestingly, while in the past people like John Carmack had to get around the limitations of the hardware, in the browser we'll be working around the limitations of the software layers between the game (presumably written in Javascript, using WebGL) and the hardware.

Anyways, I think this is a super interesting line of research and development, I wish I would not be tied up doing other stuff for the next 12 months. I'd love to just take the Quake 1 engine and (try to) implement it in Javascript with WebGL and see what happens. I estimate that's the level of graphics that's ambitiously doable in the browser in 1-2 years, by the time something like this would ship.

EDIT: As helpful commenters point out below, Quake 3 seems doable.

Also see yesterday's post on this topic:

http://news.ycombinator.com/item?id=4258670

Re:Real Time Multiplayer in HTML5 by acron0 on Thursday July 19, 2012 @09:29AM (#4265863)
I hope this comes as a pleasant surprise then :)

http://media.tojicode.com/q3bsp/

Re:Real Time Multiplayer in HTML5 by Maro on Thursday July 19, 2012 @09:51AM (#4265962)
Thanks, that's awesome. And it's from 2009.
Re:Real Time Multiplayer in HTML5 by zanny on Friday July 20, 2012 @02:14AM (#4269664)
Brandon's blog is amazing, and definitely worth reading / subscribing to!
Re:Real Time Multiplayer in HTML5 by mtgx on Thursday July 19, 2012 @10:02AM (#4266010)
Re:Real Time Multiplayer in HTML5 by windsurfer on Thursday July 19, 2012 @02:27PM (#4267392)
So a group of students put this together in a few months: http://littlesquareblock.com/upandabove/

It's a little inefficient and a little ugly, but I think it's pretty cool.

Re:Real Time Multiplayer in HTML5 by SvenBergstrom on Thursday July 19, 2012 @09:58AM (#4265991)
Maro, try this link : http://centrc.com:4005/ It is a proof of concept I did in one evening for the next part of the discussion. It uses Three.js to render the stuff.

:)

Re:Real Time Multiplayer in HTML5 by Maro on Thursday July 19, 2012 @10:11AM (#4266058)
It says: "The Facility. Play online. Sandbox." Can't get past that (Enter, ESC, click). FF14 on Win7.
Re:Real Time Multiplayer in HTML5 by SvenBergstrom on Thursday July 19, 2012 @10:16AM (#4266079)
Did you try clicking Sandbox? Thats the only option in that demo atm... but it might only work in chrome as it was a one night test :)
Re:Real Time Multiplayer in HTML5 by azakai on Thursday July 19, 2012 @01:38PM (#4267123)
Doesn't seem to work, a title screen shows but clicking etc. does nothing.

FF17 on Linux.

Re:Real Time Multiplayer in HTML5 by SvenBergstrom on Thursday July 19, 2012 @05:00PM (#4268044)
"but it might only work in chrome as it was a one night test" , as above :)
Re:Real Time Multiplayer in HTML5 by corysama on Thursday July 19, 2012 @12:47PM (#4266867)
Re:Real Time Multiplayer in HTML5 by azakai on Thursday July 19, 2012 @01:35PM (#4267111)
> 3D gaming in the browser is here

That's just in one browser.

If Opera signed a deal with Steam and bundled it in their browser, would all the Steam games now "run in the browser"? Technically in some boring sense perhaps, but it wouldn't be on the web.

Re:Real Time Multiplayer in HTML5 by corysama on Thursday July 19, 2012 @03:51PM (#4267766)
Do you know which Chrome-specific feature they are using? I'm not sure, but I expect it's user-convenience features like out-of-spec persistent storage extensions and notifications.

My point is that Skids is a quite high-end 3D game written in JS&WebGL that is playable today. It's a big step up from the dozens of "spinning teapot"-style demos most people have seen come out of WebGL so far. Technically, in some boring sense, it's not "on the web". But, it's great progress and a showcase of what can be done very soon, if not today, in Chrome, FF, Opera and Safari if people start trying. Maybe it'll never be possible in IE or Lynx. But, I'll take what I can get.

Re:Real Time Multiplayer in HTML5 by azakai on Thursday July 19, 2012 @06:04PM (#4268304)
> Do you know which Chrome-specific feature they are using?

No idea. But they literally list Chrome as the only supported browser, so this looks pretty Chrome-specific.

There are lots of other impressive 3D JS&WebGL apps out there that are not specific to one browser, most however are tech demos and not fully finished products - I expect that to change before the end of the year though.