Skip to content

Knock-out: the game's busy seal is kept hidden while the player lies down - #339

Closed
Kharote wants to merge 2 commits into
mainfrom
fix/knockout-busy-seal
Closed

Kharote wants to merge 2 commits into
mainfrom
fix/knockout-busy-seal

Conversation

@Kharote

@Kharote Kharote commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

What this changes

After dying, players said the game went to a loading screen. A knocked-out player sees the view dimmed to the server's vision (black at 0), and some seconds in the game shows its busy seal (its Progress element) in the corner and keeps showing it while the player lies there: the black screen with the seal reads as a loading screen that never ends. KCDS already keeps away the knock-out screen's own seal (UI element 0xAF); this one is another element.

  • While the local player lies knocked out (or is kept down by the server), the game's Progress element is hidden whenever it shows, looked at four times a second.
  • New native_ui::hide_if_shown(name) for it.

How it was tested

Kit, one game, player.setHealth(0, { fall: true }) then /revive after 25 s. A client script logged which of the game's full-screen elements showed: before the change Progress came about 8 s after the knock-out and stayed (the seal bottom right on every screenshot from 10 s); with it, the game showed it twice and it was hidden within a quarter second each time, the screenshots at 15 s and 25 s show no seal, and the revive got the player up as before.

Checklist

  • I read CONTRIBUTING.md and agree that my contribution is licensed as it says.
  • The change is my own work: no code, assets or dumps that are not mine or that come from the game.
  • python Dev/tools/format_source.py --check passes.
  • Tests cover the change, and the checks of this pull request pass.
  • Public behaviour that changed is documented (KCD-Synced/KCDS-DOCS) or needs no docs.

@Kharote Kharote mentioned this pull request Nov 24, 2026
5 tasks done
@Kharote

Kharote commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator Author

Shipped in 1.2.1 (#349, release v1.2.1).

@Kharote Kharote closed this Nov 24, 2026
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.

1 participant