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

20 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.

New in 0.3.0

Fishing from the bank at Meadow Fork The fire card: creel, recipes and the cook's wish
Fish from the bank: strike when the float goes under, then keep the line in the green. By the fire: cook catch and forage into meals that help on the river.
Surfing a play wave with a trick combo The combat roll ring after a capsize
Play waves: surf the foam and chain spins, enders and blunts. The roll: stroke as the rings meet to come back up.
The view from a lookout cairn, with places named Deer by the river
Lookout trails climb to cairns that name the valley below. Wildlife that bolts, flies or dives as you come near.
Rain at a camp, with a keeper's forecast Spray over the raft on a drop
Weather and neighbours: rain, fog, sea wind, keepers and errands. Spray and splash on every stroke, wave and drop.

Also new: portages round the High Falls and the Throat, rapid stamps, camp stars and pennants, settings for volume and motion, and anonymous play stats you can turn off (see the changelog). Each lane's notes and stills are under docs/fun-pass/ and docs/playtests/0.3.0/.

New in 0.2.0

The raft and its crew of four on Mirror Lake The kayak
The raft and its crew, who paddle with your strokes. The kayak, a decked boat with a spray deck.
The canoe The dory
The canoe, with seats and cargo. The dory, on its oars with two passengers.
A swim beside the upturned raft Saltmouth Light restored at dusk
A swim. Two strokes to climb back in. Saltmouth Light, restored in four stages with your pay.
A lantern on the boat at night The coach in the first minutes
Night on the river, with a lantern on your boat. The coach for your first five minutes.
The River Journal: what next, standing, Wren's letters and river finds The Gear tab at a camp
The journal: what next, your rank, Wren's letters and river finds. Gear at any camp: Patch Kit, Dry Bags, Long Paddle, Chart Case, Spray Deck.
In a rapid, with a river find and a new camp announced A phone held sideways, with the signals fanned out
In a rapid, hitting the calls; finds and camps are announced as you pass. On a phone held sideways: big stroke buttons and signals.

Then and now:

0.1.0 0.2.0
Whitewater in 0.1.0 Whitewater in 0.2.0
The raft in 0.1.0 The raft in 0.2.0

More stills, before and after, are in each lane's notes under docs/playtests/0.2.0/.

Play

  • Flat water: paddle where you like. W/↑/Space forward, S/↓ back, A D or ← → to turn. On a phone, use the big buttons; a gamepad works too. New players get a coach for the first few minutes.
  • 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, or hold ▲ on a phone; drag to look). Walk to the fire to rest, the job board for deliveries, the boat rack to change boats and buy gear, the truck to shuttle to any camp you've found, and the dock to get back in the boat.
  • Goals: the line under the place name says what to do next: your job, or the next of Wren's letters from Saltmouth Light. Earn ranks from your journal, find what the river hides, and help restore the light.
  • 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, Tab who's on the river, 1 2 3 wave, flare, bell, C free camera, H the controls.

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), ?detail=0-2 (spray, foam, pixel ratio and, at 0, a thinner forest), ?coach=0 or ?coach=1 (skip or replay the coach) and ?perf=1 (load and frame timings).

The game picks the world and detail from the device (touch screen, memory, cores, data saver) and remembers a device that was too slow, so its next visit starts lighter; ?world= overrides that. Saves are checked when they load, backed up once a session (f2.save.v1.bak), and a damaged save is restored from the backup and kept aside (f2.save.v1.corrupt), never deleted. "Start over" keeps the old save in f2.save.v1.prev, and a save from a newer version of the game is never overwritten.

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