@quenty/radial-image 9.19.0-canary.544.de8fcee.0 → 9.19.1-canary.545.2374fb2.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 +20 -1
- package/package.json +9 -9
- package/src/Client/RadialImage.lua +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,26 @@
|
|
|
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.19.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/radial-image@9.19.0...@quenty/radial-image@9.19.1-canary.545.2374fb2.0) (2025-04-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [9.19.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/radial-image@9.18.2...@quenty/radial-image@9.19.0) (2025-04-02)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @quenty/radial-image
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [9.18.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/radial-image@9.18.1...@quenty/radial-image@9.18.2) (2025-03-31)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @quenty/radial-image
|
|
9
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/radial-image",
|
|
3
|
-
"version": "9.19.
|
|
3
|
+
"version": "9.19.1-canary.545.2374fb2.0",
|
|
4
4
|
"description": "Quenty's radial image system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"Quenty"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@quenty/baseobject": "10.8.0",
|
|
30
|
-
"@quenty/blend": "12.18.
|
|
31
|
-
"@quenty/loader": "10.8.0",
|
|
32
|
-
"@quenty/maid": "3.4.0",
|
|
33
|
-
"@quenty/math": "2.7.
|
|
34
|
-
"@quenty/rx": "13.17.
|
|
35
|
-
"@quenty/valueobject": "13.17.
|
|
29
|
+
"@quenty/baseobject": "10.8.1-canary.545.2374fb2.0",
|
|
30
|
+
"@quenty/blend": "12.18.1-canary.545.2374fb2.0",
|
|
31
|
+
"@quenty/loader": "10.8.1-canary.545.2374fb2.0",
|
|
32
|
+
"@quenty/maid": "3.4.1-canary.545.2374fb2.0",
|
|
33
|
+
"@quenty/math": "2.7.2-canary.545.2374fb2.0",
|
|
34
|
+
"@quenty/rx": "13.17.1-canary.545.2374fb2.0",
|
|
35
|
+
"@quenty/valueobject": "13.17.1-canary.545.2374fb2.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
|
|
41
41
|
}
|
|
@@ -98,7 +98,7 @@ end
|
|
|
98
98
|
Sets the image to use for this radial image
|
|
99
99
|
@param image string
|
|
100
100
|
]=]
|
|
101
|
-
function RadialImage:SetImage(image)
|
|
101
|
+
function RadialImage:SetImage(image: string)
|
|
102
102
|
assert(type(image) == "string", "Bad image")
|
|
103
103
|
|
|
104
104
|
self._image.Value = image
|
|
@@ -108,7 +108,7 @@ end
|
|
|
108
108
|
Sets the percent we're at
|
|
109
109
|
@param percent number
|
|
110
110
|
]=]
|
|
111
|
-
function RadialImage:SetPercent(percent)
|
|
111
|
+
function RadialImage:SetPercent(percent: number)
|
|
112
112
|
assert(type(percent) == "number", "Bad percent")
|
|
113
113
|
|
|
114
114
|
self._percent.Value = percent
|
|
@@ -118,7 +118,7 @@ end
|
|
|
118
118
|
Sets the total transparency of the radial image
|
|
119
119
|
@param transparency number
|
|
120
120
|
]=]
|
|
121
|
-
function RadialImage:SetTransparency(transparency)
|
|
121
|
+
function RadialImage:SetTransparency(transparency: number)
|
|
122
122
|
assert(type(transparency) == "number", "Bad transparency")
|
|
123
123
|
|
|
124
124
|
self._transparency.Value = transparency
|
|
@@ -128,7 +128,7 @@ end
|
|
|
128
128
|
Sets the enabled transparency for the radial image
|
|
129
129
|
@param transparency number
|
|
130
130
|
]=]
|
|
131
|
-
function RadialImage:SetEnabledTransparency(transparency)
|
|
131
|
+
function RadialImage:SetEnabledTransparency(transparency: number)
|
|
132
132
|
assert(type(transparency) == "number", "Bad transparency")
|
|
133
133
|
|
|
134
134
|
self._enabledTransparency.Value = transparency
|
|
@@ -138,7 +138,7 @@ end
|
|
|
138
138
|
Sets the disabled transparency
|
|
139
139
|
@param transparency number
|
|
140
140
|
]=]
|
|
141
|
-
function RadialImage:SetDisabledTransparency(transparency)
|
|
141
|
+
function RadialImage:SetDisabledTransparency(transparency: number)
|
|
142
142
|
assert(type(transparency) == "number", "Bad transparency")
|
|
143
143
|
|
|
144
144
|
self._disabledTransparency.Value = transparency
|
|
@@ -183,9 +183,9 @@ function RadialImage:_render()
|
|
|
183
183
|
-- this is an issue because clips descendants tends towards floor
|
|
184
184
|
-- pixel clipping.
|
|
185
185
|
if size.x % 2 ~= 0 then
|
|
186
|
-
return UDim2.new(0.5, 1, 1, 0)
|
|
186
|
+
return UDim2.new(0.5, 1, 1, 0)
|
|
187
187
|
else
|
|
188
|
-
return UDim2.new(0.5, 0, 1, 0)
|
|
188
|
+
return UDim2.new(0.5, 0, 1, 0)
|
|
189
189
|
end
|
|
190
190
|
end);
|
|
191
191
|
Position = UDim2.new(0, 0, 0, 0);
|
|
@@ -208,7 +208,7 @@ function RadialImage:_render()
|
|
|
208
208
|
NumberSequenceKeypoint.new(0.5, disabled);
|
|
209
209
|
NumberSequenceKeypoint.new(0.5001, enabled);
|
|
210
210
|
NumberSequenceKeypoint.new(1, enabled);
|
|
211
|
-
})
|
|
211
|
+
})
|
|
212
212
|
end);
|
|
213
213
|
Color = Blend.Computed(
|
|
214
214
|
self._enabledColor,
|
|
@@ -219,7 +219,7 @@ function RadialImage:_render()
|
|
|
219
219
|
ColorSequenceKeypoint.new(0.5, disabled);
|
|
220
220
|
ColorSequenceKeypoint.new(0.5001, enabled);
|
|
221
221
|
ColorSequenceKeypoint.new(1, enabled);
|
|
222
|
-
})
|
|
222
|
+
})
|
|
223
223
|
end);
|
|
224
224
|
Rotation = Blend.Computed(self._percent, function(percent)
|
|
225
225
|
local mapped = math.clamp(Math.map(percent, 0.5, 1, 0, 1), 0, 1)
|
|
@@ -254,7 +254,7 @@ function RadialImage:_render()
|
|
|
254
254
|
NumberSequenceKeypoint.new(0.5, disabled);
|
|
255
255
|
NumberSequenceKeypoint.new(0.5001, enabled);
|
|
256
256
|
NumberSequenceKeypoint.new(1, enabled);
|
|
257
|
-
})
|
|
257
|
+
})
|
|
258
258
|
end);
|
|
259
259
|
Color = Blend.Computed(
|
|
260
260
|
self._enabledColor,
|
|
@@ -265,7 +265,7 @@ function RadialImage:_render()
|
|
|
265
265
|
ColorSequenceKeypoint.new(0.5, disabled);
|
|
266
266
|
ColorSequenceKeypoint.new(0.5001, enabled);
|
|
267
267
|
ColorSequenceKeypoint.new(1, enabled);
|
|
268
|
-
})
|
|
268
|
+
})
|
|
269
269
|
end);
|
|
270
270
|
Rotation = Blend.Computed(self._percent, function(percent)
|
|
271
271
|
local mapped = math.clamp(Math.map(percent, 0, 0.5, 0, 1), 0, 1)
|
|
@@ -274,7 +274,7 @@ function RadialImage:_render()
|
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
};
|
|
277
|
-
}
|
|
277
|
+
}
|
|
278
278
|
end
|
|
279
279
|
|
|
280
280
|
return RadialImage
|