Skip to content

Smooth Dynamic Chat Shifting Animations #228

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

Open
wants to merge 6 commits into
base: 1.21.4
Choose a base branch
from

Conversation

radioactive-exe
Copy link
Contributor

@radioactive-exe radioactive-exe commented Apr 26, 2025

Chat height LERPs now, based on SmootherStep

  • Added LERPing of the chat height/position
  • Added configurable animation length
  • Added config. builder for floats
    ~ Updated readme/lang files

Animation can be disabled when the player sets chatAnimTime to 0, following the logic you implemented with the dynamic shifting and the shifting amount initially.
Comments are left throughout the code to explain the why's and where's.

Let me know if there's anything I can change

In action:
https://imgur.com/a/w2ZBaqZ

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