Drippy Loading Screen

Drippy Loading Screen

64M Downloads

Animated images prematurely restart

Closed this issue ยท 1 comments

commented

Describe the bug
When attempting to use a non-looping animated image on the loading screen, the animation will restart itself briefly before closing the loading screen regardless of its Restart Animated Textures When Opening Screen setting.

To Reproduce

  1. Create a new layout for the loading screen or edit an existing one
  2. Add an image element set to a non-looping FMA animation. An example using the Mojang Studios logo is attached: 7jn1qh.fma
  3. Save and enable the layout, and trigger the loading screen (e.g. reloading resource packs, starting game)
  4. Observe animation restarting itself before the screen is fully closed

Expected behavior
An animation should not restart before the screen is fully closed. I attempted to work around this by disabling a variable when the screen closes and setting the load requirements of the animation to that variable, but the close hook seemingly triggers after the animation has already restarted.

Game Log
https://gist.github.com/ClaytonTDM/271dcd05da325e3ab3773b054832a225

Screenshots
https://github.com/user-attachments/assets/44e1f467-8d2d-462d-99b5-c9a26ae6cfc8

Basic Information (please complete the following information):

  • OS: NixOS 25.11 (Xantusia)
  • Drippy Version: 3.0.15
  • FancyMenu Version: 3.7.1
  • Fabric Version: 0.717.3
  • Minecraft Version: 1.21.8
  • Active Mods: Minimum requirements (Drippy Loading Screen, Fabric API, FancyMenu, Konkrete, Melody)
commented

That's not a bug, but a limitation of how Minecraft works. Animated images get reloaded in the (re)loading screen, so they will at some point restart, because they just got reloaded. There is no way to fix this.