docs(tunnel-vision): add design spec for survivor tunnel vision - #172
Draft
TheMeinerLP wants to merge 5 commits into
Draft
docs(tunnel-vision): add design spec for survivor tunnel vision#172TheMeinerLP wants to merge 5 commits into
TheMeinerLP wants to merge 5 commits into
Conversation
Vignette that narrows the survivor's view as stamina drops and the Slender closes in. Rendered as an action bar HUD overlay because per-player post effects only become possible with Minecraft 26.3; the renderer interface keeps that path open. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The screen edges darken and pulse like a heartbeat as stamina drains and the slender closes in. Rendered as an action bar overlay in a pack font, because Minecraft 26.2 has no per-player post effect; TunnelVisionRenderer is the seam a post-effect implementation slots into once 26.3 lands. The service listens for the round lifecycle itself rather than reaching into GameStartListener and friends, and stays off entirely when no resource pack is configured — without the pack the font is missing and survivors would see an empty box. /tunnelvision previews stages and intensities from the lobby to calibrate the glyphs. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Glyphs larger than 256x256 in texture resolution are dropped silently, which is what produced the missing-glyph box on the first try.
The action bar anchors a glyph to the bottom edge, so the vignette had to be recalibrated for every window size and read as darkness welling up from below. Titles render centred and at 4x scale: centring is now ascent = height/2 - 3 whatever the resolution, and the times are sent once per player so the overlay neither fades nor pumps between updates. Minecraft cannot animate a font texture, so the heartbeat is the server walking through frames. Sixteen instead of eight make that read as motion, with the pulse depth expressed as a share of the scale so it stays equally deep.
Contributor
Job Summary for GradleBuild PR :: build
|
Contributor
Job Summary for GradleBuild PR :: build
|
Contributor
Job Summary for GradleBuild PR :: build
|
Contributor
Test results240 files 240 suites 1m 46s ⏱️ For more details on these failures, see this check. Results for commit 8571acb. |
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.
Vignette that narrows the survivor's view as stamina drops and the Slender
closes in. Rendered as an action bar HUD overlay because per-player post
effects only become possible with Minecraft 26.3; the renderer interface
keeps that path open.
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Types of changes
What types of changes does your code introduce to this project?
Put an
xin the boxes that applyChecklist
Put an
xin the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any ofthem, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you
did and what alternatives you considered, etc...