@quenty/animations 8.19.2-canary.b2c1d09.0 → 8.20.1-canary.955a85f.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [8.19.2-canary.b2c1d09.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/animations@8.19.1...@quenty/animations@8.19.2-canary.b2c1d09.0) (2025-08-29)
6
+ ## [8.20.1-canary.955a85f.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/animations@8.20.0...@quenty/animations@8.20.1-canary.955a85f.0) (2025-09-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix animation stopping at 0 frames ([955a85f](https://github.com/Quenty/NevermoreEngine/commit/955a85fe61a9de5e3128086e155fa5c218e0b59a))
12
+
13
+
14
+
15
+
16
+
17
+ # [8.20.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/animations@8.19.1...@quenty/animations@8.20.0) (2025-08-29)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/animations
9
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/animations",
3
- "version": "8.19.2-canary.b2c1d09.0",
3
+ "version": "8.20.1-canary.955a85f.0",
4
4
  "description": "Utility methods for playing back animations on Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -30,15 +30,15 @@
30
30
  "@quenty/humanoidanimatorutils": "3.2.0",
31
31
  "@quenty/loader": "10.9.0",
32
32
  "@quenty/maid": "3.5.0",
33
- "@quenty/promise": "10.11.1-canary.b2c1d09.0",
34
- "@quenty/promisemaid": "5.11.1-canary.b2c1d09.0",
33
+ "@quenty/promise": "10.12.0",
34
+ "@quenty/promisemaid": "5.12.0",
35
35
  "@quenty/rbxasset": "5.9.0",
36
- "@quenty/rx": "13.18.2-canary.b2c1d09.0",
36
+ "@quenty/rx": "13.19.0",
37
37
  "@quenty/signal": "7.11.1",
38
- "@quenty/valueobject": "13.18.2-canary.b2c1d09.0"
38
+ "@quenty/valueobject": "13.19.0"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "b2c1d09e0117fab1b9de4bf9ae8eec626d6e0f7d"
43
+ "gitHead": "955a85fe61a9de5e3128086e155fa5c218e0b59a"
44
44
  }
@@ -8,6 +8,7 @@
8
8
 
9
9
  local require = require(script.Parent.loader).load(script)
10
10
 
11
+ local AnimationPromiseUtils = require("AnimationPromiseUtils")
11
12
  local AnimationUtils = require("AnimationUtils")
12
13
  local BaseObject = require("BaseObject")
13
14
  local EnumUtils = require("EnumUtils")
@@ -286,6 +287,16 @@ function AnimationSlotPlayer.Play(
286
287
  end
287
288
  end)
288
289
 
290
+ if not track.Looped then
291
+ -- This is a hack to ensure that animations stop at a set rate instead of roblox's weird default faded time
292
+ maid:GivePromise(AnimationPromiseUtils.promiseLoaded(track)):Then(function()
293
+ -- This is very very sad...
294
+ maid:GiveTask(task.delay(track.Length - track.TimePosition - 2 / 60, function()
295
+ track:Stop(fadeTime or self._defaultFadeTime.Value)
296
+ end))
297
+ end)
298
+ end
299
+
289
300
  maid:GiveTask(function()
290
301
  local stopFadeTime = fadeTime or self._defaultFadeTime.Value
291
302
  track:AdjustWeight(0, stopFadeTime)