Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want something that will really blow your mind, check out the webgl demo of Cube 2: Sauerbraten (a Quake clone).

It's by far the most advanced WebGL FPS shooter I've seen so far - http://www.webgl.com/2012/05/webgl-game-cube-2-sauerbraten/



Mind blown. It's time to learn how to use WebGL.


Except it was written in C++ then converted to Javascript/WebGL.


The mere fact that even that is possible is pretty mind-blowing.


Agreed.


The math for calculating the mouse pointer position seems off, even in full screen mode.


I think the engine multiplies mouse movement by some factor, so the OS cursor diverges from the game cursor. But in fullscreen+mouselock mode it should work fine, not sure why not in that link, but here is a link to another wip port of the same game engine to JS/WebGL,

http://syntensity.com/static/bb/client.html

In fullscreen mode the mouse cursor works ok (at least in browsers that support mouselock).


Words cannot describe how epic that is




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: