Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

name darkened after being shot + removed icon from sidebar #1983

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

Jaro32768
Copy link

Changes

After someone gets shot they name gets darkened (same as if they leave) to prevent people getting influenced by dead people leaving. Their icon from right sidebar also gets removed for seated players (people not seated in the game can still see a location of the dead person on the sidebar).

Screenshots

name darkened after being shot and removed icon from sidebar


Tested Locally

  • This PR has been tested locally, and ensured to not cause any breaking changes

Tests

  • This PR does not require tests

Changelog

  • Changelog Section below has been updated with Changelog entry

Changelog Entry (delete this section if this PR does not need a changelog entry)

  • New Feature

  • Minor Change

Changelog Headline: Dead players no longer show as present in the lobby.

Changelog Details: Dead players get their name darkened and they get icon removed from sidebar. People not involved in the lobby can still see their icon in the sidebar.

@Jaro32768 Jaro32768 changed the title Jaro32768 name darkened after being shot + removed icon from sidebar name darkened after being shot + removed icon from sidebar Jul 13, 2023
@@ -360,7 +360,8 @@ $eloValues: (1500 0.3 1 0.3) (1600 0.3 1 0.5) (1849 0 1 0.7) (1850 1 1 0.7) (190
.card-container.flipped {
transform: rotateY(180deg);
}
.player-number.leftgame {
.player-number.leftgame,
.player-number.isDead {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the design pattern of different classes for different uses but shouldn't there be a visual distinction of dead and still sitting? Or is this to prevent the metagaming of knowing when someone leaves after being shot?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the intent was to prevent meta gaming when someone gets shot and leaves, icon will still show for people not in the lobby. I figured it would be better for people not in a lobby to still see that this player is still in a lobby.

Also, it's been a while so I do not remember if I tested that or not, but it's probably a good idea to test if it still works properly when the player quits the entire site.

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