@quenty/flipbook 9.17.4-canary.559.9f38947.0 → 9.18.0-canary.559.b31717d.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,7 @@
|
|
|
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.0-canary.559.b31717d.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/flipbook@9.17.3...@quenty/flipbook@9.18.0-canary.559.b31717d.0) (2025-05-10)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/flipbook",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.18.0-canary.559.b31717d.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.8.
|
|
29
|
-
"@quenty/ducktype": "5.8.
|
|
30
|
-
"@quenty/instanceutils": "13.
|
|
31
|
-
"@quenty/loader": "10.8.
|
|
32
|
-
"@quenty/maid": "3.4.
|
|
33
|
-
"@quenty/promise": "10.
|
|
34
|
-
"@quenty/rx": "13.
|
|
35
|
-
"@quenty/sprites": "13.
|
|
36
|
-
"@quenty/uiobjectutils": "6.
|
|
37
|
-
"@quenty/valueobject": "13.
|
|
28
|
+
"@quenty/baseobject": "10.8.3",
|
|
29
|
+
"@quenty/ducktype": "5.8.4",
|
|
30
|
+
"@quenty/instanceutils": "13.18.0-canary.559.b31717d.0",
|
|
31
|
+
"@quenty/loader": "10.8.3",
|
|
32
|
+
"@quenty/maid": "3.4.3",
|
|
33
|
+
"@quenty/promise": "10.11.0-canary.559.b31717d.0",
|
|
34
|
+
"@quenty/rx": "13.18.0-canary.559.b31717d.0",
|
|
35
|
+
"@quenty/sprites": "13.17.0-canary.559.b31717d.0",
|
|
36
|
+
"@quenty/uiobjectutils": "6.17.0-canary.559.b31717d.0",
|
|
37
|
+
"@quenty/valueobject": "13.18.0-canary.559.b31717d.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "b31717d8c9f7620c457f5018a2affa760a65334a"
|
|
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 DuckTypeUtils = require("DuckTypeUtils")
|
|
10
9
|
local Sprite = require("Sprite")
|
|
10
|
+
local DuckTypeUtils = require("DuckTypeUtils")
|
|
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")
|
|
15
14
|
local Promise = require("Promise")
|
|
16
15
|
local Rx = require("Rx")
|
|
17
16
|
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,8 +2,7 @@
|
|
|
2
2
|
@class Flipbook.story
|
|
3
3
|
]]
|
|
4
4
|
|
|
5
|
-
local require =
|
|
6
|
-
require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
|
|
5
|
+
local require = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
|
|
7
6
|
|
|
8
7
|
local Flipbook = require("Flipbook")
|
|
9
8
|
local FlipbookPlayer = require("FlipbookPlayer")
|
|
@@ -84,141 +83,96 @@ return function(target: Instance)
|
|
|
84
83
|
uiListLayout.SortOrder = Enum.SortOrder.LayoutOrder
|
|
85
84
|
uiListLayout.Parent = container
|
|
86
85
|
|
|
87
|
-
makeLabel(
|
|
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
|
-
|
|
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
|
-
)
|
|
86
|
+
makeLabel(maid, Flipbook.new({
|
|
87
|
+
image = "rbxassetid://5085366281";
|
|
88
|
+
rows = 6;
|
|
89
|
+
columns = 6;
|
|
90
|
+
frameCount = 34;
|
|
91
|
+
imageRectSize = Vector2.new(85.33333, 85.33333);
|
|
92
|
+
frameRate = 20;
|
|
93
|
+
restFrame = 1;
|
|
94
|
+
}), container, false)
|
|
95
|
+
|
|
96
|
+
makeLabel(maid, Flipbook.new({
|
|
97
|
+
image = "rbxassetid://5085366281";
|
|
98
|
+
rows = 6;
|
|
99
|
+
columns = 6;
|
|
100
|
+
frameCount = 34;
|
|
101
|
+
imageRectSize = Vector2.new(85.33333, 85.33333);
|
|
102
|
+
frameRate = 20;
|
|
103
|
+
restFrame = 1;
|
|
104
|
+
}), container, true)
|
|
105
|
+
|
|
106
|
+
makeLabel(maid, Flipbook.new({
|
|
107
|
+
image = "rbxassetid://8966463176";
|
|
108
|
+
rows = 6;
|
|
109
|
+
columns = 6;
|
|
110
|
+
imageRectSize = Vector2.new(170, 170);
|
|
111
|
+
frameRate = 50;
|
|
112
|
+
restFrame = 1;
|
|
113
|
+
}), container, false)
|
|
114
|
+
|
|
115
|
+
makeLabel(maid, Flipbook.new({
|
|
116
|
+
image = "rbxassetid://9234616869";
|
|
117
|
+
rows = 10;
|
|
118
|
+
columns = 10;
|
|
119
|
+
frameCount = 92;
|
|
120
|
+
imageRectSize = Vector2.new(102, 102);
|
|
121
|
+
frameRate = 50;
|
|
122
|
+
restFrame = 1;
|
|
123
|
+
}), container, false)
|
|
124
|
+
|
|
125
|
+
makeButton(maid, Flipbook.new({
|
|
126
|
+
image = "rbxassetid://9234616869";
|
|
127
|
+
rows = 10;
|
|
128
|
+
columns = 10;
|
|
129
|
+
frameCount = 92;
|
|
130
|
+
imageRectSize = Vector2.new(102, 102);
|
|
131
|
+
frameRate = 60;
|
|
132
|
+
restFrame = 1;
|
|
133
|
+
}), container, false)
|
|
134
|
+
|
|
135
|
+
makeButton(maid, Flipbook.new({
|
|
136
|
+
image = "rbxassetid://5085366281";
|
|
137
|
+
rows = 6;
|
|
138
|
+
columns = 6;
|
|
139
|
+
frameCount = 34;
|
|
140
|
+
imageRectSize = Vector2.new(85.33333, 85.33333);
|
|
141
|
+
frameRate = 20;
|
|
142
|
+
restFrame = 1;
|
|
143
|
+
}), container, true)
|
|
144
|
+
|
|
145
|
+
makeLabel(maid, Flipbook.new({
|
|
146
|
+
image = "rbxassetid://9234616869";
|
|
147
|
+
rows = 10;
|
|
148
|
+
columns = 10;
|
|
149
|
+
frameCount = 92;
|
|
150
|
+
imageRectSize = Vector2.new(102, 102);
|
|
151
|
+
frameRate = 50;
|
|
152
|
+
restFrame = 1;
|
|
153
|
+
}), container, false)
|
|
154
|
+
|
|
155
|
+
makeLabel(maid, Flipbook.new({
|
|
156
|
+
image = "rbxassetid://12273540121";
|
|
157
|
+
rows = 7;
|
|
158
|
+
columns = 7;
|
|
159
|
+
frameCount = 45;
|
|
160
|
+
imageRectSize = Vector2.new(146, 146);
|
|
161
|
+
frameRate = 30;
|
|
162
|
+
restFrame = 1;
|
|
163
|
+
}), container, false)
|
|
164
|
+
|
|
165
|
+
makeLabel(maid, Flipbook.new({
|
|
166
|
+
image = "rbxassetid://9234650028";
|
|
167
|
+
columns = 9;
|
|
168
|
+
rows = 8;
|
|
169
|
+
frameCount = 66;
|
|
170
|
+
imageRectSize = Vector2.new(113, 113);
|
|
171
|
+
frameRate = 60;
|
|
172
|
+
restFrame = 1;
|
|
173
|
+
}), container, false)
|
|
220
174
|
|
|
221
175
|
return function()
|
|
222
176
|
maid:DoCleaning()
|
|
223
177
|
end
|
|
224
|
-
end
|
|
178
|
+
end
|