Back to GRAV / RIFT
SOURCE / PINNED RELEASE

Made of little things.

GRAV / RIFT

Release
288aa261ce07…
Author-recorded commit
c549b5a4e17e…
License
LICENSE
Author’s source reference
nostr://npub182jczunncwe0jn6frpqwq3e0qjws7yqqnc3auccqv9nte2dnd63scjm4rf/wss%3A%2F%2Fgit.napplet.soy%2F/n-8a7361981e8

Archive hash verified: e52a01aff70810b3…. The source-to-build association is the author’s claim; it has not been independently rebuilt.

src/game/world.ts
/** Shared physical stage and camera scale; HUD sizes remain in screen pixels. */
export const WORLD = {
  width: 4800,
  height: 1000,
  ceiling: 82 * 1000 / 600,
  floor: 509 * 1000 / 600,
  startX: 360,
  startY: 500,
  bossX: 4160,
  bossY: 509 * 1000 / 600 - 200,
  debrisCount: 224,
} as const;

export const TUG = { scale: .85, radius: 13, speedX: 360, speedY: 330, cruise: 80 } as const;

export const SITES = {
  foundry: { name: 'THE FOUNDRY', gravity: 640, startY: WORLD.floor-160, detail: '↓ GRAVITY ON / TEAR DOWN THE YARD' },
  orbit: { name: 'ORBITAL GRAVEYARD', gravity: 0, startY: WORLD.startY, detail: '0 G / FREE-FLOATING SALVAGE' },
} as const;
export type Site = keyof typeof SITES;
export const CELL = { dropChance: .35, blastRadius: 260, hardImpact: 150 } as const;