Slop-survivors

Till Dawn: Rifts

A single-file browser game in the spirit of Vampire Survivors. You are Hexel, a little hexagon of living light. Every moth in the night wants you, and you have to survive ten minutes until sunrise.

Play: download OMEGAgame.html and open it in any modern browser (Chrome, Edge, Firefox, Safari). There’s nothing to install and no server. Everything (art, music and sound) is generated live in code. It works fully offline: nothing is fetched from the internet. The only exception is the online leaderboard server: when you press “Submit score”, your chosen name and that run’s stats are sent to it (no account or email), and the Leaderboards panel loads the top scores. The game also tells that server, anonymously and without any name, when a run starts and how it ended (how long you survived, your level, kills, damage, rifts, relic, what felled you, and whether you play on a phone), so the author can see how many runs are played. Without it, your best runs are kept on your device.

How to play

Rifts

Portals tear open during the night. Step through into one of seventeen strange worlds, each a loving homage to a game, with its own floor, enemies, guardian and soundtrack. Can you tell which game each one honors? The dawn clock stops while you’re inside. Beat the rift’s guardian to win its relic, a unique weapon that grows stronger with every guardian you beat and awakens into a MEGA form at four.

Want a sneak peek? Open OMEGAgame.html#tour for a self-running preview of the meadow and every rift with its music (it names the games).

Repository layout

Path What it is
OMEGAgame.html The whole game. Ship or open just this file.
OMEGAgame_fin.html The Finnish edition, generated by node tools/make-fin.js from OMEGAgame.html and tools/fi.json. Rebuild it after every change.
index.html A tiny page that forwards the site root and old links (with any #mode) to OMEGAgame.html.
zones/*.js Source of each rift zone (floor art, enemies, guardian, events, music). They’re also inlined into OMEGAgame.html.
tools/inline-zones.js Copies zones/*.js into OMEGAgame.html after you edit a zone: node tools/inline-zones.js
tools/zone-contract.md The rules a zone module follows (the Z game API, the A music API, budgets).
tools/zone-harness.js Headless checker for a zone: node tools/zone-harness.js zones/<id>.js should print OK.
tools/zone-example.js A minimal zone to start from.
CLAUDE.md Detailed developer notes on the design, balance numbers and code map.

Developer helpers: OMEGAgame.html#debug exposes a window.fj object (autopilot, time warp, spawn helpers, fj.rift(id) to jump into a rift).

Credits

Made with Claude. All names, art and music in the game are original; the rifts are fan homages, and the project is not affiliated with or endorsed by the makers of the games that inspired them.

Fonts: Grandstander and Bricolage Grotesque are embedded in OMEGAgame.html. Both are licensed under the SIL Open Font License 1.1.