@quenty/flipbook 9.18.0-canary.ae8d76d.0 → 9.18.1-canary.4ea661c.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,15 @@
|
|
|
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
|
-
|
|
6
|
+
## [9.18.1-canary.4ea661c.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/flipbook@9.18.0...@quenty/flipbook@9.18.1-canary.4ea661c.0) (2025-08-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/flipbook
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [9.18.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/flipbook@9.17.3...@quenty/flipbook@9.18.0) (2025-05-10)
|
|
7
15
|
|
|
8
16
|
|
|
9
17
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/flipbook",
|
|
3
|
-
"version": "9.18.
|
|
3
|
+
"version": "9.18.1-canary.4ea661c.0",
|
|
4
4
|
"description": "Handles playing back animated spritesheets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,19 +25,19 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/baseobject": "10.
|
|
29
|
-
"@quenty/ducktype": "5.
|
|
30
|
-
"@quenty/instanceutils": "13.18.
|
|
31
|
-
"@quenty/loader": "10.
|
|
32
|
-
"@quenty/maid": "3.
|
|
33
|
-
"@quenty/promise": "10.11.0
|
|
34
|
-
"@quenty/rx": "13.18.
|
|
35
|
-
"@quenty/sprites": "13.17.
|
|
36
|
-
"@quenty/uiobjectutils": "6.17.
|
|
37
|
-
"@quenty/valueobject": "13.18.
|
|
28
|
+
"@quenty/baseobject": "10.9.0",
|
|
29
|
+
"@quenty/ducktype": "5.9.0",
|
|
30
|
+
"@quenty/instanceutils": "13.18.1-canary.4ea661c.0",
|
|
31
|
+
"@quenty/loader": "10.9.0",
|
|
32
|
+
"@quenty/maid": "3.5.0",
|
|
33
|
+
"@quenty/promise": "10.11.0",
|
|
34
|
+
"@quenty/rx": "13.18.1-canary.4ea661c.0",
|
|
35
|
+
"@quenty/sprites": "13.17.1-canary.4ea661c.0",
|
|
36
|
+
"@quenty/uiobjectutils": "6.17.1-canary.4ea661c.0",
|
|
37
|
+
"@quenty/valueobject": "13.18.1-canary.4ea661c.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "4ea661c3fb52b8a3843c7d879c98c1de8a733798"
|
|
43
43
|
}
|
package/src/Client/Flipbook.lua
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
local require = require(script.Parent.loader).load(script)
|
|
8
8
|
|
|
9
|
-
local Sprite = require("Sprite")
|
|
10
9
|
local DuckTypeUtils = require("DuckTypeUtils")
|
|
10
|
+
local Sprite = require("Sprite")
|
|
11
11
|
|
|
12
12
|
--[=[
|
|
13
13
|
@interface FlipbookData
|
|
@@ -191,4 +191,4 @@ function Flipbook.GetFrameCount(self: Flipbook): number
|
|
|
191
191
|
return self._frameCount
|
|
192
192
|
end
|
|
193
193
|
|
|
194
|
-
return Flipbook
|
|
194
|
+
return Flipbook
|
|
@@ -11,10 +11,10 @@ local RunService = game:GetService("RunService")
|
|
|
11
11
|
local BaseObject = require("BaseObject")
|
|
12
12
|
local Flipbook = require("Flipbook")
|
|
13
13
|
local Maid = require("Maid")
|
|
14
|
+
local Observable = require("Observable")
|
|
14
15
|
local Promise = require("Promise")
|
|
15
16
|
local Rx = require("Rx")
|
|
16
17
|
local ValueObject = require("ValueObject")
|
|
17
|
-
local Observable = require("Observable")
|
|
18
18
|
|
|
19
19
|
local FlipbookPlayer = setmetatable({}, BaseObject)
|
|
20
20
|
FlipbookPlayer.ClassName = "FlipbookPlayer"
|
|
@@ -285,4 +285,4 @@ function FlipbookPlayer:_updateToFrame(flipbook: Flipbook.Flipbook, frame: numbe
|
|
|
285
285
|
end
|
|
286
286
|
end
|
|
287
287
|
|
|
288
|
-
return FlipbookPlayer
|
|
288
|
+
return FlipbookPlayer
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
@class Flipbook.story
|
|
3
3
|
]]
|
|
4
4
|
|
|
5
|
-
local require =
|
|
5
|
+
local require =
|
|
6
|
+
require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
|
|
6
7
|
|
|
7
8
|
local Flipbook = require("Flipbook")
|
|
8
9
|
local FlipbookPlayer = require("FlipbookPlayer")
|
|
@@ -83,96 +84,141 @@ return function(target: Instance)
|
|
|
83
84
|
uiListLayout.SortOrder = Enum.SortOrder.LayoutOrder
|
|
84
85
|
uiListLayout.Parent = container
|
|
85
86
|
|
|
86
|
-
makeLabel(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
87
|
+
makeLabel(
|
|
88
|
+
maid,
|
|
89
|
+
Flipbook.new({
|
|
90
|
+
image = "rbxassetid://5085366281",
|
|
91
|
+
rows = 6,
|
|
92
|
+
columns = 6,
|
|
93
|
+
frameCount = 34,
|
|
94
|
+
imageRectSize = Vector2.new(85.33333, 85.33333),
|
|
95
|
+
frameRate = 20,
|
|
96
|
+
restFrame = 1,
|
|
97
|
+
}),
|
|
98
|
+
container,
|
|
99
|
+
false
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
makeLabel(
|
|
103
|
+
maid,
|
|
104
|
+
Flipbook.new({
|
|
105
|
+
image = "rbxassetid://5085366281",
|
|
106
|
+
rows = 6,
|
|
107
|
+
columns = 6,
|
|
108
|
+
frameCount = 34,
|
|
109
|
+
imageRectSize = Vector2.new(85.33333, 85.33333),
|
|
110
|
+
frameRate = 20,
|
|
111
|
+
restFrame = 1,
|
|
112
|
+
}),
|
|
113
|
+
container,
|
|
114
|
+
true
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
makeLabel(
|
|
118
|
+
maid,
|
|
119
|
+
Flipbook.new({
|
|
120
|
+
image = "rbxassetid://8966463176",
|
|
121
|
+
rows = 6,
|
|
122
|
+
columns = 6,
|
|
123
|
+
imageRectSize = Vector2.new(170, 170),
|
|
124
|
+
frameRate = 50,
|
|
125
|
+
restFrame = 1,
|
|
126
|
+
}),
|
|
127
|
+
container,
|
|
128
|
+
false
|
|
129
|
+
)
|
|
130
|
+
|
|
131
|
+
makeLabel(
|
|
132
|
+
maid,
|
|
133
|
+
Flipbook.new({
|
|
134
|
+
image = "rbxassetid://9234616869",
|
|
135
|
+
rows = 10,
|
|
136
|
+
columns = 10,
|
|
137
|
+
frameCount = 92,
|
|
138
|
+
imageRectSize = Vector2.new(102, 102),
|
|
139
|
+
frameRate = 50,
|
|
140
|
+
restFrame = 1,
|
|
141
|
+
}),
|
|
142
|
+
container,
|
|
143
|
+
false
|
|
144
|
+
)
|
|
145
|
+
|
|
146
|
+
makeButton(
|
|
147
|
+
maid,
|
|
148
|
+
Flipbook.new({
|
|
149
|
+
image = "rbxassetid://9234616869",
|
|
150
|
+
rows = 10,
|
|
151
|
+
columns = 10,
|
|
152
|
+
frameCount = 92,
|
|
153
|
+
imageRectSize = Vector2.new(102, 102),
|
|
154
|
+
frameRate = 60,
|
|
155
|
+
restFrame = 1,
|
|
156
|
+
}),
|
|
157
|
+
container,
|
|
158
|
+
false
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
makeButton(
|
|
162
|
+
maid,
|
|
163
|
+
Flipbook.new({
|
|
164
|
+
image = "rbxassetid://5085366281",
|
|
165
|
+
rows = 6,
|
|
166
|
+
columns = 6,
|
|
167
|
+
frameCount = 34,
|
|
168
|
+
imageRectSize = Vector2.new(85.33333, 85.33333),
|
|
169
|
+
frameRate = 20,
|
|
170
|
+
restFrame = 1,
|
|
171
|
+
}),
|
|
172
|
+
container,
|
|
173
|
+
true
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
makeLabel(
|
|
177
|
+
maid,
|
|
178
|
+
Flipbook.new({
|
|
179
|
+
image = "rbxassetid://9234616869",
|
|
180
|
+
rows = 10,
|
|
181
|
+
columns = 10,
|
|
182
|
+
frameCount = 92,
|
|
183
|
+
imageRectSize = Vector2.new(102, 102),
|
|
184
|
+
frameRate = 50,
|
|
185
|
+
restFrame = 1,
|
|
186
|
+
}),
|
|
187
|
+
container,
|
|
188
|
+
false
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
makeLabel(
|
|
192
|
+
maid,
|
|
193
|
+
Flipbook.new({
|
|
194
|
+
image = "rbxassetid://12273540121",
|
|
195
|
+
rows = 7,
|
|
196
|
+
columns = 7,
|
|
197
|
+
frameCount = 45,
|
|
198
|
+
imageRectSize = Vector2.new(146, 146),
|
|
199
|
+
frameRate = 30,
|
|
200
|
+
restFrame = 1,
|
|
201
|
+
}),
|
|
202
|
+
container,
|
|
203
|
+
false
|
|
204
|
+
)
|
|
205
|
+
|
|
206
|
+
makeLabel(
|
|
207
|
+
maid,
|
|
208
|
+
Flipbook.new({
|
|
209
|
+
image = "rbxassetid://9234650028",
|
|
210
|
+
columns = 9,
|
|
211
|
+
rows = 8,
|
|
212
|
+
frameCount = 66,
|
|
213
|
+
imageRectSize = Vector2.new(113, 113),
|
|
214
|
+
frameRate = 60,
|
|
215
|
+
restFrame = 1,
|
|
216
|
+
}),
|
|
217
|
+
container,
|
|
218
|
+
false
|
|
219
|
+
)
|
|
174
220
|
|
|
175
221
|
return function()
|
|
176
222
|
maid:DoCleaning()
|
|
177
223
|
end
|
|
178
|
-
end
|
|
224
|
+
end
|