@quenty/flipbook 9.17.3 → 9.17.4-canary.11a5dcf.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,6 +3,17 @@
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
+ ## [9.17.4-canary.11a5dcf.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/flipbook@9.17.3...@quenty/flipbook@9.17.4-canary.11a5dcf.0) (2025-05-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Additional type checking updates ([05ba29a](https://github.com/Quenty/NevermoreEngine/commit/05ba29a03efc9f3feed74b34f1d9dfb237496214))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [9.17.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/flipbook@9.17.2...@quenty/flipbook@9.17.3) (2025-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/flipbook
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/flipbook",
3
- "version": "9.17.3",
3
+ "version": "9.17.4-canary.11a5dcf.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.3",
29
- "@quenty/ducktype": "^5.8.4",
30
- "@quenty/instanceutils": "^13.17.3",
31
- "@quenty/loader": "^10.8.3",
32
- "@quenty/maid": "^3.4.3",
33
- "@quenty/promise": "^10.10.4",
34
- "@quenty/rx": "^13.17.3",
35
- "@quenty/sprites": "^13.16.3",
36
- "@quenty/uiobjectutils": "^6.16.3",
37
- "@quenty/valueobject": "^13.17.3"
28
+ "@quenty/baseobject": "10.8.4-canary.11a5dcf.0",
29
+ "@quenty/ducktype": "5.8.5-canary.11a5dcf.0",
30
+ "@quenty/instanceutils": "13.17.4-canary.11a5dcf.0",
31
+ "@quenty/loader": "10.8.4-canary.11a5dcf.0",
32
+ "@quenty/maid": "3.4.4-canary.11a5dcf.0",
33
+ "@quenty/promise": "10.10.5-canary.11a5dcf.0",
34
+ "@quenty/rx": "13.17.4-canary.11a5dcf.0",
35
+ "@quenty/sprites": "13.16.4-canary.11a5dcf.0",
36
+ "@quenty/uiobjectutils": "6.16.4-canary.11a5dcf.0",
37
+ "@quenty/valueobject": "13.17.4-canary.11a5dcf.0"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "b06c070ae91d5dab7bd8de6e290ad2caabb15d8f"
42
+ "gitHead": "11a5dcf7d4c7a0bfbf3337e97d30e8346ea09d3f"
43
43
  }
@@ -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
@@ -6,7 +6,7 @@
6
6
  local require = require(script.Parent.loader).load(script)
7
7
 
8
8
  local Flipbook = require("Flipbook")
9
- local _ServiceBag = require("ServiceBag")
9
+ local ServiceBag = require("ServiceBag")
10
10
 
11
11
  local FlipbookLibrary = {}
12
12
  FlipbookLibrary.__index = FlipbookLibrary
@@ -24,7 +24,7 @@ function FlipbookLibrary.new(serviceName, register)
24
24
  return self
25
25
  end
26
26
 
27
- function FlipbookLibrary:Init(serviceBag: _ServiceBag.ServiceBag)
27
+ function FlipbookLibrary:Init(serviceBag: ServiceBag.ServiceBag)
28
28
  assert(self ~= FlipbookLibrary, "Should construct new FlipbookLibrary")
29
29
  assert(not self._spritesheets, "Already initialized")
30
30
  self._serviceBag = assert(serviceBag, "No serviceBag")
@@ -77,4 +77,4 @@ function FlipbookLibrary:Register(flipbookName, theme, flipbook)
77
77
  self._spritesheets[flipbookName][theme] = flipbook
78
78
  end
79
79
 
80
- return FlipbookLibrary
80
+ return FlipbookLibrary
@@ -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"
@@ -187,7 +187,7 @@ end
187
187
  Observes if the flipbook is playing
188
188
  @return Observable<boolean>
189
189
  ]=]
190
- function FlipbookPlayer:ObserveIsPlaying(): _Observable.Observable<boolean>
190
+ function FlipbookPlayer:ObserveIsPlaying(): Observable.Observable<boolean>
191
191
  return self._isPlaying:Observe()
192
192
  end
193
193
 
@@ -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 = require(game:GetService("ServerScriptService"):FindFirstChild("LoaderUtils", true).Parent).bootstrapStory(script)
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(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)
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