Live data from Hacker News

Show HN: RIFT – A procedurally generated FPS game in the browser

team-duck.com

1–10 of 19 posts

Re: Show HN: RIFT – A procedurally generated FPS game in the browser

#3

Mashing down keys as fast as I could to stop the spin... had to leave before getting too dizzy. :)

Hm, yeah. It's controlled using the mouse. Center the mouse to prevent the view from moving.

WASD moves the player character.

Pressing 1 enables debug mode, which shows some bounding boxes.

Re: Show HN: RIFT – A procedurally generated FPS game in the browser

#5
post #3

Mashing down keys as fast as I could to stop the spin... had to leave before getting too dizzy. :)

Hm, yeah. It's controlled using the mouse. Center the mouse to prevent the view from moving. WASD moves the player character. Pressing 1 enables debug mode, which shows some bounding boxes.

Got it. Thanks for the hint.

Re: Show HN: RIFT – A procedurally generated FPS game in the browser

#7
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

The project is also on GitHub: 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

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.

Re: Show HN: RIFT – A procedurally generated FPS game in the browser

#8

What do I shoot at?

It's more of a proof of concept than a game yet. Adding gameplay goes hand in hand with adding plot, and without enough of a framework or scaffolding to fit the whole game together I haven't started on that.

Plus, all of the monsters / enemies I tried to make in code looked really horrible.

The other demos, like flying through space, can be more fun but they lack gameplay, too.

There's just not that many reasons to make something to destroy yet.

Re: Show HN: RIFT – A procedurally generated FPS game in the browser

#10
post #8

What do I shoot at?

It's more of a proof of concept than a game yet. Adding gameplay goes hand in hand with adding plot, and without enough of a framework or scaffolding to fit the whole game together I haven't started on that. Plus, all of the monsters / enemies I tried to make in code looked really horrible. The other demos, like flying through space, can be more fun but they lack gameplay, too. There's just not that many reasons to m…

It's neat. Is this all HTML5 and JavaScript then?
Post reply on HN