3 ms·
This is an example of a first-person shooter game written in JavaScript using WebGL. All of the (limited) art assets are generated procedurally. The game uses t
by xigency 11y ago
This is an example of a first-person shooter game written in JavaScript using WebGL. All of the (limited) art assets are generated procedurally. The game uses the team duck game engine (tedge.js) which handles things like loading shaders, buffering object meshes, and calculating collision using octrees. The input controls are slightly confusing, because it is not possible to capture the mouse in the browser without using some sort of plugin, but it shows generally what is possible.
The source code is available here:
http://www.team-duck.com/rift/files.php http://www.team-duck.com/rift/files.php
The project is also on GitHub:
https://github.com/teamduck/gametube https://github.com/teamduck/gametube
As noted below, this demo lacks any real gameplay. It's a proof of concept for a homegrown browser engine, and it's based off of efforts on different platforms originally.
It shows what a lone programmer can do and that not all tech demos need to be flashy. It also harks back to a more minimal development style.
Here is a command reference of the source code auto-generated with a script:
http://www.team-duck.com/rift/reference.txt http://www.team-duck.com/rift/reference.txt
Although it might not be clear from the GitHub repository, this project is over a year old. If I were to spend just a little bit of time on it, I would work on generating a sequence of levels through the space station. So I'm open to input for game ideas, too.