![FancyMenu [Fabric] [MOVED TO NEW PROJECT]](https://media.forgecdn.net/avatars/thumbnails/310/137/256/256/637397690731730986.png)
Add option to "Progress Bar" element to turn off smooth filling animation
BredyAK opened this issue ยท 4 comments
Describe your idea
Currently I found that when the value of the progress bar element changes, the progress will change dynamically at a fixed refresh rate, which can make the progress change have a smooth transition effect. This is great, but it does not perform well in some fast-changing situations, such as the following video demonstrating the horse's jump charge bar.
java.2025-02-19.21-45-27-919_2.mp4
Obviously, the player wants to jump when the charge bar reaches the maximum value to reach the maximum jump height, but because the progress bar refresh rate is too low, this moment is not displayed as expected. Therefore, it may be a better choice to let the menu maker specify an appropriate refresh rate (in millseconds). For example, when the refresh rate is 0, it will cause the progress bar to change instantly, thus accurately capturing any changes in progress, but it will be more abrupt. The menu maker will find a balance from this.
PS: The charge bar in the video is made with unreleased Spiffy HUD v3 Alpha 1 mod.
Isn't that just the Vanilla bar you show in the video?
The orange bar at the center of the screen is a Progress Bar element, and is linked with placeholder Current Mount Jump Meter (Percent)
. And the bars at the left of the bottom is some other unrelated progress bars. And the elements at the center of the bottom is all vanilla elements.