@quenty/camera 14.7.2 → 14.7.3-canary.497.9e2859c.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 +8 -0
- package/package.json +16 -16
- package/src/Client/CameraStack.lua +2 -2
- package/src/Client/CameraState.lua +1 -1
- package/src/Client/Effects/FadeBetween/FadeBetweenCamera.lua +2 -2
- package/src/Client/Effects/FadeBetween/FadeBetweenCamera2.lua +2 -2
- package/src/Client/Effects/FadeBetween/FadeBetweenCamera3.lua +2 -2
- package/src/Client/Effects/FadeBetween/FadeBetweenCamera4.lua +2 -2
- package/src/Client/Effects/ImpulseCamera.lua +1 -1
- package/src/Client/Effects/SummedCamera.lua +1 -1
- package/src/Client/Utility/CameraFrame.lua +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
## [14.7.3-canary.497.9e2859c.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@14.7.2...@quenty/camera@14.7.3-canary.497.9e2859c.0) (2024-09-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/camera
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [14.7.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@14.7.1...@quenty/camera@14.7.2) (2024-09-22)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @quenty/camera
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/camera",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.3-canary.497.9e2859c.0",
|
|
4
4
|
"description": "Quenty's camera system for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,25 +25,25 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/acceltween": "
|
|
29
|
-
"@quenty/baseobject": "
|
|
30
|
-
"@quenty/cframeutils": "
|
|
31
|
-
"@quenty/cubicspline": "
|
|
32
|
-
"@quenty/ducktype": "
|
|
33
|
-
"@quenty/inputobjectutils": "
|
|
34
|
-
"@quenty/loader": "
|
|
35
|
-
"@quenty/maid": "
|
|
36
|
-
"@quenty/math": "
|
|
37
|
-
"@quenty/qframe": "
|
|
38
|
-
"@quenty/servicebag": "
|
|
39
|
-
"@quenty/spring": "
|
|
40
|
-
"@quenty/vector3utils": "
|
|
28
|
+
"@quenty/acceltween": "2.5.0",
|
|
29
|
+
"@quenty/baseobject": "10.4.1-canary.497.9e2859c.0",
|
|
30
|
+
"@quenty/cframeutils": "5.5.0",
|
|
31
|
+
"@quenty/cubicspline": "10.4.1-canary.497.9e2859c.0",
|
|
32
|
+
"@quenty/ducktype": "5.4.1-canary.497.9e2859c.0",
|
|
33
|
+
"@quenty/inputobjectutils": "4.6.1-canary.497.9e2859c.0",
|
|
34
|
+
"@quenty/loader": "10.4.1-canary.497.9e2859c.0",
|
|
35
|
+
"@quenty/maid": "3.3.0",
|
|
36
|
+
"@quenty/math": "2.7.0",
|
|
37
|
+
"@quenty/qframe": "10.4.1-canary.497.9e2859c.0",
|
|
38
|
+
"@quenty/servicebag": "11.5.2-canary.497.9e2859c.0",
|
|
39
|
+
"@quenty/spring": "10.4.2-canary.497.9e2859c.0",
|
|
40
|
+
"@quenty/vector3utils": "10.4.1-canary.497.9e2859c.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@quenty/camerastoryutils": "
|
|
43
|
+
"@quenty/camerastoryutils": "10.4.1-canary.497.9e2859c.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "9e2859c1924d409f38f9f8e8e822abd8b4ebdb55"
|
|
49
49
|
}
|
|
@@ -84,7 +84,7 @@ function CameraStack:GetTopState()
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
if #self._stack > 10 then
|
|
87
|
-
warn(("[CameraStack] - Stack is bigger than 10 in CameraStack (%d)"
|
|
87
|
+
warn(string.format("[CameraStack] - Stack is bigger than 10 in CameraStack (%d)", #self._stack))
|
|
88
88
|
end
|
|
89
89
|
local topState = self._stack[#self._stack]
|
|
90
90
|
|
|
@@ -124,7 +124,7 @@ function CameraStack:GetNewStateBelow()
|
|
|
124
124
|
return self._stack[1].CameraState
|
|
125
125
|
end
|
|
126
126
|
else
|
|
127
|
-
warn(("[CameraStack] - Could not get state from %q, returning default"
|
|
127
|
+
warn(string.format("[CameraStack] - Could not get state from %q, returning default", tostring(_stateToUse)))
|
|
128
128
|
return self._stack[1].CameraState
|
|
129
129
|
end
|
|
130
130
|
end), function(newStateToUse)
|
|
@@ -80,7 +80,7 @@ function CameraState:__newindex(index, value)
|
|
|
80
80
|
elseif index == "CameraFrame" or index == "CameraFrameDerivative" then
|
|
81
81
|
rawset(self, index, value)
|
|
82
82
|
else
|
|
83
|
-
error(("'%s' is not a valid index of CameraState"
|
|
83
|
+
error(string.format("'%s' is not a valid index of CameraState", tostring(index)))
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
86
|
|
|
@@ -50,7 +50,7 @@ function FadeBetweenCamera:__newindex(index, value)
|
|
|
50
50
|
elseif index == "CameraA" or index == "CameraB" then
|
|
51
51
|
rawset(self, index, value)
|
|
52
52
|
else
|
|
53
|
-
error(("%q is not a valid member of FadeBetweenCamera"
|
|
53
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera", tostring(index)))
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -123,7 +123,7 @@ function FadeBetweenCamera:__index(index)
|
|
|
123
123
|
elseif FadeBetweenCamera[index] then
|
|
124
124
|
return FadeBetweenCamera[index]
|
|
125
125
|
else
|
|
126
|
-
error(("%q is not a valid member of FadeBetweenCamera"
|
|
126
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera", tostring(index)))
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
@@ -62,7 +62,7 @@ function FadeBetweenCamera2:__newindex(index, value)
|
|
|
62
62
|
self._time0 = now
|
|
63
63
|
rawset(self, index, value)
|
|
64
64
|
else
|
|
65
|
-
error(("%q is not a valid member of FadeBetweenCamera2"
|
|
65
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera2", tostring(index)))
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
68
|
|
|
@@ -89,7 +89,7 @@ function FadeBetweenCamera2:__index(index)
|
|
|
89
89
|
elseif FadeBetweenCamera2[index] then
|
|
90
90
|
return FadeBetweenCamera2[index]
|
|
91
91
|
else
|
|
92
|
-
error(("%q is not a valid member of FadeBetweenCamera2"
|
|
92
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera2", tostring(index)))
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -53,7 +53,7 @@ function FadeBetweenCamera3:__newindex(index, value)
|
|
|
53
53
|
elseif index == "CameraA" or index == "CameraB" then
|
|
54
54
|
rawset(self, index, value)
|
|
55
55
|
else
|
|
56
|
-
error(("%q is not a valid member of FadeBetweenCamera3"
|
|
56
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera3", tostring(index)))
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -131,7 +131,7 @@ function FadeBetweenCamera3:__index(index)
|
|
|
131
131
|
elseif FadeBetweenCamera3[index] then
|
|
132
132
|
return FadeBetweenCamera3[index]
|
|
133
133
|
else
|
|
134
|
-
error(("%q is not a valid member of FadeBetweenCamera3"
|
|
134
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera3", tostring(index)))
|
|
135
135
|
end
|
|
136
136
|
end
|
|
137
137
|
|
|
@@ -58,7 +58,7 @@ function FadeBetweenCamera4:__newindex(index, value)
|
|
|
58
58
|
self._state0, self._position0 = self:_computeCameraState(position)
|
|
59
59
|
rawset(self, index, value)
|
|
60
60
|
else
|
|
61
|
-
error(("%q is not a valid member of FadeBetweenCamera4"
|
|
61
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera4", tostring(index)))
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
@@ -88,7 +88,7 @@ function FadeBetweenCamera4:__index(index)
|
|
|
88
88
|
elseif FadeBetweenCamera4[index] then
|
|
89
89
|
return FadeBetweenCamera4[index]
|
|
90
90
|
else
|
|
91
|
-
error(("%q is not a valid member of FadeBetweenCamera4"
|
|
91
|
+
error(string.format("%q is not a valid member of FadeBetweenCamera4", tostring(index)))
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
|
|
@@ -120,7 +120,7 @@ function ImpulseCamera:__newindex(index, value)
|
|
|
120
120
|
assert(type(value) == "number", "Bad value")
|
|
121
121
|
self._defaultSpring.Speed = value
|
|
122
122
|
else
|
|
123
|
-
error(("%q is not a valid member of impulse camera"
|
|
123
|
+
error(string.format("%q is not a valid member of impulse camera", tostring(index)))
|
|
124
124
|
end
|
|
125
125
|
end
|
|
126
126
|
|
|
@@ -93,7 +93,7 @@ function SummedCamera:__index(index)
|
|
|
93
93
|
elseif SummedCamera[index] then
|
|
94
94
|
return SummedCamera[index]
|
|
95
95
|
else
|
|
96
|
-
error(("[SummedCamera] - '%s' is not a valid member"
|
|
96
|
+
error(string.format("[SummedCamera] - '%s' is not a valid member", tostring(index)))
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -79,7 +79,7 @@ function CameraFrame:__index(index)
|
|
|
79
79
|
elseif CameraFrame[index] then
|
|
80
80
|
return CameraFrame[index]
|
|
81
81
|
else
|
|
82
|
-
error(("'%s' is not a valid index of CameraState"
|
|
82
|
+
error(string.format("'%s' is not a valid index of CameraState", tostring(index)))
|
|
83
83
|
end
|
|
84
84
|
end
|
|
85
85
|
|
|
@@ -99,7 +99,7 @@ function CameraFrame:__newindex(index, value)
|
|
|
99
99
|
elseif index == "FieldOfView" or index == "QFrame" then
|
|
100
100
|
rawset(self, index, value)
|
|
101
101
|
else
|
|
102
|
-
error(("'%s' is not a valid index of CameraState"
|
|
102
|
+
error(string.format("'%s' is not a valid index of CameraState", tostring(index)))
|
|
103
103
|
end
|
|
104
104
|
end
|
|
105
105
|
|