Live data from Hacker News

Pearl Boy WebGL Demo

gooengine.com

71–80 of 83 posts

Re: Pearl Boy WebGL Demo

#74

>Your browser doesn't seem to support HTML5 and WebGL. The best thing to do is upgrade to a modern browser that supports all the awesome things the web has to offer. I am on the latest version of Opera which I guess is not a modern browser. Perhaps turning down the condescension a notch and changing that "Upgrade" message to "Best works in Chrome" will be a good move. You're a second class citizen on HN if you use an…

You are right, we tried to take a jab at Internet Explorer but forgot about Opera along the way. It's our job to make our engine and demos work on all WebGL enabled browsers and respect all browser vendors who help pave the way for great web technologies like WebGL. We failed and make it sound like it the browsers fault. I will discuss the wording with the team. Thanks for the feedback !

Re: Pearl Boy WebGL Demo

#75
post #69
post #37

Earlier quoted context omitted.

What versions? No problems for me. Firefox v24 and Chrome 29.0.1514.0 canary.

The current release versions of Chrome (27) and Firefox (21). Both auto-updated. Since the flicker is the same in different browsers, it may be more of an OS or graphics driver thing.

We have many guys working on the demos using MacOS. So I agree that it sounds like a driver thing. What graphics card are you using ?

Re: Pearl Boy WebGL Demo

#76
post #6

Butter smooth and so atmospheric graphics, especially the rowing part

I see a lot of jitter on a very fast Mac. (Safari 6.0.4). Somebody who understands Web GL tell me -- developer's fault or browser's fault? It looks a little like numerical instability to me rather than a framerate issue per se, but I'm no 3D expert. http://jsbench.s3.amazonaws.com/jitter.m4v

It is my understanding that Safari is a bit behind on the WebGL front. Could you try it with Chrome ?

Re: Pearl Boy WebGL Demo

#77

Earlier quoted context omitted.

Damn, this should work, we do support Firefox 21 ! It's probably a regression in the demo itself and not the engine. We'll fix it asap, thanks for the tip !

Ok, try reloading the page. We use requirejs but not the domready! plugin. So there seems to be a race condition with the body loading. Sorry for that, we'll fix it asap.

I tried again now, still getting the same error.

Re: Pearl Boy WebGL Demo

#78

This is the first WebGL demo I've seen on HN (or anywhere else, but I don't exactly go looking for them) that not only works, but works very well, in Chromium on Ubuntu. Granted, I'm on 11.10, so perhaps my browser is a bit out of date... still, though, it's kind of nice to see what all the fuss is about. The game played very smoothly for me.

I'm Chromium 25 on Ubuntu, and I get "Your browser doesn't seem to support HTML5 and WebGL. The best thing to do is upgrade to a modern browser that supports all the awesome things the web has to offer"

I had that problem on my laptop. You can fix it for some cards by disabling the gpu check:

Go to chrome://flags and enable the "override software rendering list" flag. That fixed it on mine.

Edit: I have a Radeon Mobility HD 4250 card

Re: Pearl Boy WebGL Demo

#79
post #52

Earlier quoted context omitted.

Do you prevent default action in keyboard and click handlers? In Opera and Firefox I can sometimes see focus outline and text selection flashing, probably activated by my 1-key keyboard shortcuts.

Good question. I looked at the code and it appears we preventDefault for mouseup and mousedown but not for keyup and keydown. I will ask around why that's the case. Can you give me an example keyboard shortcut where this is happening ?

W and S in Opera select paragraphs (if you enable advanced shortcuts like I did). In Firefox I'm able to drag and select whole canvas (entire screen flashes light blue).
Post reply on HN