@quenty/acceltween 2.6.0-canary.0a5db80.0 → 2.6.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 +31 -1
- package/LICENSE.md +1 -1
- package/default.project.json +8 -1
- package/package.json +5 -2
- package/src/Shared/AccelTween.lua +10 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,37 @@
|
|
|
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
|
-
# [2.6.0
|
|
6
|
+
# [2.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/acceltween@2.5.5...@quenty/acceltween@2.6.0) (2026-01-16)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Add SetTarget method to AccelTween ([9d151f0](https://github.com/Quenty/NevermoreEngine/commit/9d151f06f170e5510dc28fb6f9de1bfae161f8dd))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.5.5](https://github.com/Quenty/NevermoreEngine/compare/@quenty/acceltween@2.5.4...@quenty/acceltween@2.5.5) (2026-01-12)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* Fix dependency installation process for pnpm ([9651b09](https://github.com/Quenty/NevermoreEngine/commit/9651b09af34f252ef3f9c7c539793cc878dd8cba))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [2.5.4](https://github.com/Quenty/NevermoreEngine/compare/@quenty/acceltween@2.5.3...@quenty/acceltween@2.5.4) (2026-01-10)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @quenty/acceltween
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [2.5.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/acceltween@2.5.2...@quenty/acceltween@2.5.3) (2025-04-10)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @quenty/acceltween
|
|
9
39
|
|
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2026 James Onnen (Quenty)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/default.project.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acceltween",
|
|
3
|
-
"globIgnorePaths": [
|
|
3
|
+
"globIgnorePaths": [
|
|
4
|
+
"**/.package-lock.json",
|
|
5
|
+
"**/.pnpm",
|
|
6
|
+
"**/.pnpm-workspace-state-v1.json",
|
|
7
|
+
"**/.modules.yaml",
|
|
8
|
+
"**/.ignored",
|
|
9
|
+
"**/.ignored_*"
|
|
10
|
+
],
|
|
4
11
|
"tree": {
|
|
5
12
|
"$path": "src"
|
|
6
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/acceltween",
|
|
3
|
-
"version": "2.6.0
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "AccelTween implementation for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"url": "https://www.patreon.com/quenty"
|
|
22
22
|
},
|
|
23
23
|
"license": "MIT",
|
|
24
|
+
"scripts": {
|
|
25
|
+
"preinstall": "npx only-allow pnpm"
|
|
26
|
+
},
|
|
24
27
|
"contributors": [
|
|
25
28
|
"Quenty",
|
|
26
29
|
"AxisAngles"
|
|
@@ -28,5 +31,5 @@
|
|
|
28
31
|
"publishConfig": {
|
|
29
32
|
"access": "public"
|
|
30
33
|
},
|
|
31
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "8d2e7927e4399b4297a04d474d29bdd85692051d"
|
|
32
35
|
}
|
|
@@ -64,7 +64,7 @@ export type AccelTween = typeof(setmetatable(
|
|
|
64
64
|
_y1: number,
|
|
65
65
|
_a1: number,
|
|
66
66
|
},
|
|
67
|
-
{ __index = AccelTween }
|
|
67
|
+
{} :: typeof({ __index = AccelTween })
|
|
68
68
|
))
|
|
69
69
|
|
|
70
70
|
--[=[
|
|
@@ -99,6 +99,15 @@ function AccelTween.new(maxaccel: number?): AccelTween
|
|
|
99
99
|
return self :: any
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
+
function AccelTween.SetTarget(self: AccelTween, target: number, doNotAnimate: boolean?): ()
|
|
103
|
+
self.t = target
|
|
104
|
+
|
|
105
|
+
if doNotAnimate then
|
|
106
|
+
self.p = target
|
|
107
|
+
self.v = 0
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
102
111
|
function AccelTween:__index(index)
|
|
103
112
|
if AccelTween[index] then
|
|
104
113
|
return AccelTween[index]
|