Skip to content

Replay clips for Slipstream, Boostball and Driftfall - #355

Merged
ASCoding11 merged 1 commit into
mainfrom
claude/replay-clips
Nov 27, 2026
Merged

ASCoding11 merged 1 commit into
mainfrom
claude/replay-clips

Conversation

@ASCoding11

Copy link
Copy Markdown
Owner
  • New: replay clips in Slipstream, Boostball and Driftfall. While a race or match is on, the game is recorded in the browser. When it ends, the last ~15–20 s becomes one video (MP4 where the browser supports it) with an "ascoding11.com/" watermark and a 2.5 s end card, "Play this game now ▶ ascoding11.com/".
  • A panel offers Share replay (phone share sheet), Save video and Copy game link, plus Turn off replays. Nothing is uploaded; no server or storage needed.
  • Frame rate protected: if recording is what's slowing a game (checked by pausing it for 4 s when the game drops under 45 fps), clips switch off for that visit.
  • Files: new e63334287a3deaa3/replay.js; one script tag and three one-line calls (start / end / stop) in each of slipstream/, boostball/ and drop-zone/index.html; README; What's new.
  • Tested here: a full Boostball practice match makes a working 24 s H.264 clip with the watermark and end card. Not yet tested on a real school laptop or phone; frame times in the test container are software-rendered and mean nothing. Worth playing a match on a Chromebook to confirm it stays smooth.

Generated by Claude Code

- **New: replay clips** in Slipstream, Boostball and Driftfall. While a race or match is on, the game is recorded in the browser. When it ends, the last ~15–20 s becomes one video (MP4 where the browser supports it) with an "ascoding11.com/<game>" watermark and a 2.5 s end card, "Play this game now ▶ ascoding11.com/<game>".
- A panel offers **Share replay** (phone share sheet), **Save video** and **Copy game link**, plus **Turn off replays**. Nothing is uploaded; no server or storage needed.
- **Frame rate protected:** if recording is what's slowing a game (checked by pausing it for 4 s when the game drops under 45 fps), clips switch off for that visit.
- Files: new `e63334287a3deaa3/replay.js`; one script tag and three one-line calls (`start` / `end` / `stop`) in each of `slipstream/`, `boostball/` and `drop-zone/index.html`; README; What's new.
- Tested here: a full Boostball practice match makes a working 24 s H.264 clip with the watermark and end card. **Not yet tested on a real school laptop or phone**; frame times in the test container are software-rendered and mean nothing. Worth playing a match on a Chromebook to confirm it stays smooth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ZY4GY6KEVGmw5xYZiPbvp
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ascoding11-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: b018882
Status:⚡️  Build in progress...

View logs

@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cosmic-dasik-e73c56 ready!

Name Link
🔨 Latest commit b018882
🔍 Latest deploy log https://app.netlify.com/projects/cosmic-dasik-e73c56/deploys/6b096ba32e5af0831d70cb4f
😎 Deploy Preview https://deploy-preview-355--cosmic-dasik-e73c56.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ASCoding11
ASCoding11 merged commit 73752f6 into main Nov 27, 2026
4 of 6 checks passed
@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ascoding11 ready!

Name Link
🔨 Latest commit b018882
🔍 Latest deploy log https://app.netlify.com/projects/ascoding11/deploys/6b096ba3800950be5cc67749
😎 Deploy Preview https://deploy-preview-355--ascoding11.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants