Repository navigation
Replay clips for Slipstream, Boostball and Driftfall - #355
Merged
Merged
Conversation
- **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
✅ Deploy Preview for cosmic-dasik-e73c56 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for ascoding11 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
e63334287a3deaa3/replay.js; one script tag and three one-line calls (start/end/stop) in each ofslipstream/,boostball/anddrop-zone/index.html; README; What's new.Generated by Claude Code