storebound/examples/demo-game/README.md

1.4 KiB

Prism Puddle (demo game)

A tiny fictional game made only to show storebound's screenshot and video pipeline end to end. Drops fall into puddles; tap a puddle to switch its color so the next drop matches. Everything is drawn on a canvas (no image files), and the game has the switches a real game needs for store captures: lang, seed, t (freeze at a moment), scene and auto=1 (hands-free play for video clips). The ids in storebound.config.ts are placeholders; nothing here talks to a store.

From this folder (needs Bun, ffmpeg, and Playwright's Chromium or Google Chrome):

bun serve.ts &                                  # the game on http://127.0.0.1:8740
bun ../../cli/index.ts shots capture            # raw frames: 4 languages x phone + tablet
bun ../../cli/index.ts shots fonts              # title / body fonts + Noto subsets for Japanese and Arabic
bun ../../cli/index.ts shots render --variants  # every store size, base + variant b (about 7 minutes)
bun ../../cli/index.ts shots record             # gameplay clips (autoplay) for the previews
bun ../../cli/index.ts shots video              # App Store preview + YouTube promo per language
bun ../../cli/index.ts shots check --variants   # store rules, exit 1 on errors
bun ../../cli/index.ts shots gallery            # store/renders/index.html, open it in a browser

Everything it writes (store/shots/frames, store/renders, store/video, .storebound) is gitignored.