Skip to content

About

Forward Two: an open-world 3D river game on Strata. Paddle from the mountains to the sea, run rapids on the guide's call, race ghosts and share the river live. Sequel to Forward One.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Forward Two

An open-world river game for the browser. Paddle the Long Water from Tarn Spring in the mountains, over the High Falls, through the Meadows and the Gorge, across Mirror Lake and out to the sea at Saltmouth. Run rapids on the guide's call, carry cargo between camps, race the buoyed courses against other paddlers' ghosts, and share the river with whoever else is on it.

Forward Two is the sequel to Forward One by Jon McElyea. It keeps Forward One's guide calls and timing gate, and opens the map: travel is the game, and rhythm is how you get through the hard water.

Play it: https://forward-two.play.danielstephenson.dev (desktop or phone)

The raft on the Long Water in the evening

Running the Throat, the class V heart of the gorge The High Falls
The Throat. Class V whitewater in the gorge, run on the guide's calls. The High Falls. Sixteen metres. Run it or carry round.
Mirror Lake in the morning Meadow Fork camp at night
Mirror Lake. Open water, a lone pine island, and race buoys. Camps at night. Campfires and lanterns; fireflies over the meadows.
Ashore at a camp Saltmouth and its lighthouse at dusk
Ashore. Step off at a camp and walk: the fire, the job board, the boat rack, the shuttle truck. Saltmouth. The town where the Long Water meets the sea.

The map of the Long Water, with camps and landmarks found and the fog lifted where you've paddled

The map: camps, landmarks and rivers, with the fog lifting where you've been.

Play

  • Flat water: paddle where you like. W/↑/Space forward, S/↓ back, A D or ← → to turn. On a phone, use the big buttons.
  • Rapids: the guide calls Forward, Back, Left, Right on the beat. Hit each call as its marker reaches the gate. Clean strokes keep your line and fill the flow meter. Misses hit the rocks, and too many put you in the river.
  • Camps: E steps you ashore and you can walk anywhere on land (WASD, Shift to run, drag to look). Walk to the fire to rest, the job board for deliveries, the boat rack to change boats, the truck to shuttle to any camp you've found, and the dock to get back in the boat.
  • Multiplayer: everyone on the river is in the same world. You see other paddlers live, can start group races at a course's start buoy (R), and race the best ghosts on each course's online board.
  • M map, J journal, 1 2 3 wave, flare, bell.

Run it locally

The game is static files plus a prebuilt engine (web/engine/), so any static server works. The bundled server also hosts multiplayer (the live game uses the relay at forward-two-api.play.danielstephenson.dev):

node server/main.js --static web --port 8790   # Node 22, no npm install

Then open http://localhost:8790. Useful URL options: ?world=small (a lighter world for phones), ?seed=N, ?hour=6.5, ?new=1, ?skip=1, ?server=<url> (a different relay) or ?server=off (offline).

tools/readme-shots.cjs regenerates the stills above from a running server.

How it's built

  • Engine: Strata 0.10.0 through its web kit. engine/bridge.cpp is a small host that draws whatever the page hands it: terrain, meshes, textures and per-frame rows. tools/build-engine.sh rebuilds web/engine/ (emsdk 6.0.11).
  • Game: plain ES modules under web/src/, with no build step. World generation (world/) and simulation (sim/) never touch the DOM, so the tests run them directly.
  • Multiplayer: server/ is a dependency-free Node service. It runs live rooms (other boats, emotes, group race starts) and stores ghosts and boards. With no server, the game keeps ghosts and times on the device.

The design is in docs/rfc/0001-forward-two.md.

npm test    # node --test

License

MIT; see LICENSE. Strata's web-kit scripts in web/engine/ are MIT (Strata). The guide's voice is generated with Kokoro-82M (Apache-2.0); see web/audio/guide/LICENSE.md.

About

Forward Two: an open-world 3D river game on Strata. Paddle from the mountains to the sea, run rapids on the guide's call, race ghosts and share the river live. Sequel to Forward One.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages