Repository navigation
feat: demo-ready replay overlay - #35
Merged
Merged
Conversation
… kept on screen, edge status
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.
Summary
Makes
poolguard-replay --renderoutput usable as a demo video.hud_scale()is shared by the HUD and the per-track boxes and labels.RAISEDrow lists every event raised so far, with its time, e.g.RAISED EDGE 0.0s | ENTRY 1.2s | SUBMERSION 37.0s. Repeats of one event collapse to the first plus a count. The status line only shows the current frame, so the armed entry ondrowning-test.mp4(raised mid-jump at 1.2 s) used to flash for a fraction of a second.EDGE — N at the pool edge while armed(orange) for thePERSON_AT_EDGEevent from feat: edge margin for entry and submersion, from the first armed footage #34, ranked below the entry alarm and the running submersion clock.Decision log entry added.
Test plan
ruff check,ruff format --checkpytest(all extras): scaling, alarm row and edge status tests written first and seen failingdrowning-test.mp4armed and checked frames at 640x360: edge at 0.3 s,RAISED EDGE 0.0s | ENTRY 1.2skept while he is under,SUBMERSION 37.0swith a full red meter at 37.5 s. Events unchanged from feat: edge margin for entry and submersion, from the first armed footage #34.