Back to Stick Runner
SOURCE / PINNED RELEASE

Made of little things.

Stick Runner

Release
068f2c4fd180…
Author-recorded commit
2f0b589e2e75…
License
LICENSE
Author’s source reference
nostr://npub1ny7l44q0au5xkv3mjgt6zks5f0e2ydefslq4nhh2ve2xypgc2mqqat8qx2/wss%3A%2F%2Fgit.napplet.soy%2F/n-938fb0aa7b7

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

src/game/view-mode.ts
/**
 * Stick Runner's three views. Press M in the game to cycle through them.
 *
 * - '2d': the flat side view. Rog does a parkour roll 1 in 4 times when he lands.
 * - 'first': first-person 3D through Rog's eyes (no rolling, so the view never flips).
 * - 'third': third-person 3D, with the camera behind Rog, over his shoulder. He rolls again here.
 */
export type ViewMode = '2d' | 'first' | 'third';

export const VIEW_ORDER: ViewMode[] = ['2d', 'first', 'third'];

export const VIEW_NAMES: Record<ViewMode, string> = {
  '2d': '2D',
  first: 'First person',
  third: 'Third person',
};

/** The view the game starts in. */
export const START_VIEW: ViewMode = '2d';