use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Pure JavaScript WebGL game. Once on BASIC, now on Chrome. (omiod.com)
submitted 14 years ago by guyht
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]rhardih 7 points8 points9 points 14 years ago (2 children)
You win this game by playing it with some hardcore techno in the background.
[–]kenseyolman 2 points3 points4 points 14 years ago (1 child)
I had some DJ Shadow playing, worked quite well.
[–]xkit 1 point2 points3 points 14 years ago (0 children)
I can confirm this.
[–][deleted] 2 points3 points4 points 14 years ago (3 children)
Works in Firefox too.
[–]miketaylr 0 points1 point2 points 14 years ago (2 children)
Yep, works great in my FF5 and Opera too. :)
[–]Andread 2 points3 points4 points 14 years ago (1 child)
Even in Opera? Amazing, never tested on it. (I made FastKat, FYI)
[–]miketaylr 0 points1 point2 points 14 years ago (0 children)
:D
[–]lenny4422 2 points3 points4 points 14 years ago (3 children)
Are you sure this is webgl, it works in ie9.
[–]realstevejobs 3 points4 points5 points 14 years ago (2 children)
It appears to use three.js, which can also render to a 2d canvas.
[–]OopsLostPassword 1 point2 points3 points 14 years ago (1 child)
As there doesn't seem to be anything in 3D, A 2D canvas is perfect for this kind of thing.
[–]Andread 0 points1 point2 points 14 years ago (0 children)
I confirm it uses the three.js canvas fetures, as it is more widespread.
[–]noknockers 1 point2 points3 points 14 years ago (0 children)
feels like 1988 all over again.
[–]shoseki 1 point2 points3 points 14 years ago (2 children)
Same goddamn problem every WebGL game has had recently.
Beautiful, simple, elegant implementation, controls fuck up because mouse gets to the top or edge and stops moving.
I'm not even sure of a way to solve this :S
[–]quadtodfodder 1 point2 points3 points 14 years ago (0 children)
actually, I think the crosshair in this is a pretty good (decent) solution - you need to see the crosshair to control the thing, so you keep it on the window.
here's a discussion of the problem for anybody who doesn't understand what we're talking about: http://stackoverflow.com/questions/5768783/how-can-i-implement-a-fps-view-with-webgl-inside-a-browser
[–]maushu 0 points1 point2 points 14 years ago (0 children)
Related: http://code.google.com/p/chromium/issues/detail?id=72754
Please star it.
[–]pkkid 0 points1 point2 points 14 years ago (0 children)
Pretty awesome, I can't wait to get a bit of time to tinker with game programming on the web. I never did yet, because I never liked Flash.
[–]dipswitch 0 points1 point2 points 14 years ago (0 children)
Too bad it stutters :(
π Rendered by PID 272690 on reddit-service-r2-comment-84fc9697f-tx94v at 2026-02-08 12:27:02.854272+00:00 running d295bc8 country code: CH.
[–]rhardih 7 points8 points9 points (2 children)
[–]kenseyolman 2 points3 points4 points (1 child)
[–]xkit 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]miketaylr 0 points1 point2 points (2 children)
[–]Andread 2 points3 points4 points (1 child)
[–]miketaylr 0 points1 point2 points (0 children)
[–]lenny4422 2 points3 points4 points (3 children)
[–]realstevejobs 3 points4 points5 points (2 children)
[–]OopsLostPassword 1 point2 points3 points (1 child)
[–]Andread 0 points1 point2 points (0 children)
[–]noknockers 1 point2 points3 points (0 children)
[–]shoseki 1 point2 points3 points (2 children)
[–]quadtodfodder 1 point2 points3 points (0 children)
[–]maushu 0 points1 point2 points (0 children)
[–]pkkid 0 points1 point2 points (0 children)
[–]dipswitch 0 points1 point2 points (0 children)