Live data from Hacker News

MineCraftWebGL

danielribeiro.github.com

21–30 of 59 posts

Re: MineCraftWebGL

#21
post #20

It makes me sad when cool things like this don't support keyboard layouts other than QWERTY

Someone who goes out of their way to learn other keyboard layouts should probably go the extra step in having a way to map keys for stuff like this.

This is a terribly ignorant statement. Plenty of people live outside of English-speaking countries where different keyboard layouts are used.

Re: MineCraftWebGL

#22
post #20

Earlier quoted context omitted.

Someone who goes out of their way to learn other keyboard layouts should probably go the extra step in having a way to map keys for stuff like this.

This is a terribly ignorant statement. Plenty of people live outside of English-speaking countries where different keyboard layouts are used.

I apologize, the context made me think along the lines of Dvorak.

EDIT: Even so, most OSes now make it relatively easy to switch layouts based on country, so I feel as though my point still stands.

Re: MineCraftWebGL

#23
post #6

If only there were an API for mouse capturing. Is there any reason why it couldn't work if it were implemented like full screen mode (displaying a message telling the user to press escape to reclaim the mouse)? Edit: Actually it looks like this is being worked on after all – http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.htm...

This exists in Firefox as of 14, currently in Aurora, so this will be in a stable release in a few weeks. It also exists in recent Chrome versions, however it seems to be disabled by default for some reason, but you can enable it in the flags menu. No reason why this cool site can't use it on those browsers, there are lots of demos on the web that do. Mouse lock is very important.

> This exists in Firefox as of 14, currently in Aurora, so this will be in a stable release in a few weeks.

Firefox 14 is scheduled for release on Tuesday.[1]

[1] https://wiki.mozilla.org/RapidRelease/Calendar#Future_branch...

Re: MineCraftWebGL

#24
Very, very nice! Possible feature: would it be possible to generate unique individual links a la pastebin?

Just a "generate link button" that stored all the current values of the variables and spit out a link like:

  http://danielribeiro.github.com/WebGLCraft/7vDq0hGh
Though I suppose for pastebin et al. those are just database links. There is too much data here to store it in the actual url string itself :(

Maybe just an export/import to json button then?

I would use this, like, immediately to share designs and pattern ideas with friends.

Also possible tweak: I just built a very tall tower and jumped off. But it doesn't quite "feel" like Minecraft gravity over long distances. The acceleration or maybe just the terminal velocity feel too slow.

Re: MineCraftWebGL

#25
post #6

Earlier quoted context omitted.

This exists in Firefox as of 14, currently in Aurora, so this will be in a stable release in a few weeks. It also exists in recent Chrome versions, however it seems to be disabled by default for some reason, but you can enable it in the flags menu. No reason why this cool site can't use it on those browsers, there are lots of demos on the web that do. Mouse lock is very important.

> This exists in Firefox as of 14, currently in Aurora, so this will be in a stable release in a few weeks. Firefox 14 is scheduled for release on Tuesday.[1] [1] https://wiki.mozilla.org/RapidRelease/Calendar#Future_branch...

Even better ;) Thanks for the correction!

Re: MineCraftWebGL

#26
post #25

Earlier quoted context omitted.

> This exists in Firefox as of 14, currently in Aurora, so this will be in a stable release in a few weeks. Firefox 14 is scheduled for release on Tuesday.[1] [1] https://wiki.mozilla.org/RapidRelease/Calendar#Future_branch...

Even better ;) Thanks for the correction!

No problem. I looked it up last week because I thought this was the release that was going to have the new fix for add-on-related memory leaks[1], but it turns out that's not coming until Firefox 15 next month.

[1] http://news.softpedia.com/news/Firefox-15-to-Fix-All-Common-...

Re: MineCraftWebGL

#27

If only there were an API for mouse capturing. Is there any reason why it couldn't work if it were implemented like full screen mode (displaying a message telling the user to press escape to reclaim the mouse)? Edit: Actually it looks like this is being worked on after all – http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.htm...

I just implemented that in a fork: https://github.com/danielribeiro/WebGLCraft/

Only works in Chrome for now, if you enable it in chrome://flags. You don't even need to be in full-screen mode, at least on the latest version.

Pull request is here: https://github.com/danielribeiro/WebGLCraft/pull/1

Re: MineCraftWebGL

#28
post #22

Earlier quoted context omitted.

This is a terribly ignorant statement. Plenty of people live outside of English-speaking countries where different keyboard layouts are used.

I apologize, the context made me think along the lines of Dvorak. EDIT: Even so, most OSes now make it relatively easy to switch layouts based on country, so I feel as though my point still stands.

"most OSes now make it relatively easy to switch layouts"

The problem is that the physical layout is unchanged, so you need to memorize the keys...

Re: MineCraftWebGL

#30
Does anyone know of a JavaScript (or CoffeeScript) library that will read the latest version of the Minecraft files? I wrote some JavaScript code that worked with the old version and then updated it for the version that came after that but haven't had time to get into the new version. Was thinking maybe someone already did it.
Post reply on HN