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

[PORT] Better Ghost Selection #1333

Conversation

Absolucy
Copy link
Collaborator

@Absolucy Absolucy commented Mar 2, 2024

About The Pull Request

Ports tgstation#80283

Currently blocked by #1386 fixed!

Why It's Good For The Game

Way easier to see what role is available, you get a nice pic of the role and get it's name in big text, you can cancel "never for this round", and you can cancel signing up for a role before the timer is up

Screenshots

2024-03-02 (1709389495) ~ dreamseeker
2024-03-02 (1709437765) ~ dreamseeker

Changelog

🆑
refactor: Ghost roles now offer ghosts a clickable poll button. Ghosts can select a role, deselect it, alt-click it for "Never For This Round", can cancel "Never", can see the countdown, and can see how many other people are signed up for the role poll.
fix: Admins can now properly force events to fire.
/:cl:

@Absolucy Absolucy force-pushed the hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here branch 2 times, most recently from 7b10c95 to 2a3a03b Compare March 3, 2024 03:49
@Absolucy Absolucy marked this pull request as ready for review March 3, 2024 03:50
@Absolucy Absolucy marked this pull request as draft March 5, 2024 07:41
@Absolucy Absolucy force-pushed the hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here branch from 2a3a03b to 3644750 Compare March 5, 2024 19:33
@Absolucy Absolucy marked this pull request as ready for review March 6, 2024 22:15
@Absolucy Absolucy force-pushed the hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here branch from 3644750 to 2d1daba Compare March 7, 2024 05:59
@Absolucy
Copy link
Collaborator Author

Absolucy commented Mar 7, 2024

Seems to be ready, haven't seen any issues so far.

@Absolucy Absolucy marked this pull request as draft March 13, 2024 21:14
@Absolucy Absolucy marked this pull request as ready for review March 14, 2024 01:42
…ject Zomboid) (tgstation#81833)

## About The Pull Request

Changes the easing and slows down status alert animations.


https://github.com/tgstation/tgstation/assets/51863163/3e5a7789-5c38-446d-9c9c-197fe1a320d2

## Why It's Good For The Game

I was playing Project Zomboid a while back, a game which has a similar
alert system that we have (in that they stack up on the right side of
the screen), and I wondered "why don't our screen alerts animate, why do
they just pop up?"

And the answer to that is they do animate. But their animation is...
0.25 seconds long. Which is at worst, not noticeable, and at best,
glitchy looking.

So I just... changed the easing and slowed it down a bit. 

Now, when an alert enters the screen, it does a little bounce. 

I believe this will make screen alerts a bit less unpleasant to look at
and a bit more noticeable for newer players. This also has a neat effect
(as demonstrated in the video) of making "updating" alerts stand out a
bit more. Before when something like "wounded" would update, it would
just appear to be glitching out of the right side of the screen. Now it
wiggles to show you it's updated.

And of course, this can be played with in the future. If we wanted to go
full Zomboid style we can scale the power of the bounce down for less
important alerts / scale it up for more pertinent alerts. Or bounce
things which are actively a hazard like pressure or fire or temperature.

Also, we can give alerts a bit more of a static order. In the demo video
it swaps around which is kinda ugly, but we can fix that.

## Changelog

:cl: Melbert
add: The animation that plays when an alert pops up on your screen is
different.
/:cl:
 into hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here
 into hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here
 into hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here
 into hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here
 into hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here
@dwasint dwasint merged commit 201a43e into Monkestation:master Mar 19, 2024
19 checks passed
@Absolucy Absolucy deleted the hahaha-im-fucking-unstoppable-im-amazing-im-the-goddess-of-coding-here branch March 19, 2024 19:15
github-actions bot added a commit that referenced this pull request Mar 19, 2024
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.

3 participants