@quenty/camera 14.39.0 → 14.40.1
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 +10 -10
- package/src/Client/CameraStack.lua +1 -1
- package/src/Client/CameraStackService.lua +2 -2
- package/src/Client/Effects/DefaultCamera.lua +1 -1
- package/src/Client/Effects/ZoomedCamera.lua +2 -2
- package/src/Client/Utility/CameraStateTweener.lua +8 -4
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.40.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@14.40.0...@quenty/camera@14.40.1) (2026-05-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @quenty/camera
|
|
9
|
+
|
|
10
|
+
# [14.40.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@14.39.0...@quenty/camera@14.40.0) (2026-05-29)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @quenty/camera
|
|
13
|
+
|
|
6
14
|
# [14.39.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/camera@14.38.2...@quenty/camera@14.39.0) (2026-05-18)
|
|
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.
|
|
3
|
+
"version": "14.40.1",
|
|
4
4
|
"description": "Quenty's camera system for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -31,27 +31,27 @@
|
|
|
31
31
|
"@quenty/acceltween": "2.7.0",
|
|
32
32
|
"@quenty/baseobject": "10.13.0",
|
|
33
33
|
"@quenty/cframeutils": "5.5.6",
|
|
34
|
-
"@quenty/cubicspline": "10.12.
|
|
35
|
-
"@quenty/draw": "7.14.
|
|
34
|
+
"@quenty/cubicspline": "10.12.1",
|
|
35
|
+
"@quenty/draw": "7.14.1",
|
|
36
36
|
"@quenty/ducktype": "5.11.0",
|
|
37
|
-
"@quenty/inputobjectutils": "4.
|
|
37
|
+
"@quenty/inputobjectutils": "4.30.1",
|
|
38
38
|
"@quenty/loader": "10.11.0",
|
|
39
39
|
"@quenty/maid": "3.9.0",
|
|
40
40
|
"@quenty/math": "2.7.5",
|
|
41
41
|
"@quenty/nevermore-test-runner": "1.4.0",
|
|
42
|
-
"@quenty/qframe": "10.
|
|
43
|
-
"@quenty/rx": "13.28.
|
|
44
|
-
"@quenty/servicebag": "11.18.
|
|
42
|
+
"@quenty/qframe": "10.22.1",
|
|
43
|
+
"@quenty/rx": "13.28.3",
|
|
44
|
+
"@quenty/servicebag": "11.18.1",
|
|
45
45
|
"@quenty/spring": "10.12.0",
|
|
46
|
-
"@quenty/valueobject": "13.
|
|
46
|
+
"@quenty/valueobject": "13.31.1",
|
|
47
47
|
"@quenty/vector3utils": "10.11.0",
|
|
48
48
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@quenty/camerastoryutils": "10.
|
|
51
|
+
"@quenty/camerastoryutils": "10.21.1"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "598b2b62b36bdcbdbbd56f7db10c399831cc6eba"
|
|
57
57
|
}
|
|
@@ -76,7 +76,7 @@ function CameraStack.PrintCameraStack(self: CameraStack): ()
|
|
|
76
76
|
end
|
|
77
77
|
|
|
78
78
|
--[=[
|
|
79
|
-
Gets the camera
|
|
79
|
+
Gets the camera currently on the top of the stack
|
|
80
80
|
@return CameraEffect
|
|
81
81
|
]=]
|
|
82
82
|
function CameraStack.GetTopCamera(self: CameraStack): CameraEffectUtils.CameraLike
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--!nonstrict
|
|
2
2
|
--[=[
|
|
3
3
|
Holds camera states and allows for the last camera state to be retrieved. Also
|
|
4
|
-
initializes an impulse and default camera
|
|
4
|
+
initializes an impulse and default camera at the bottom of the stack. Is a singleton.
|
|
5
5
|
|
|
6
6
|
@class CameraStackService
|
|
7
7
|
]=]
|
|
@@ -173,7 +173,7 @@ function CameraStackService.GetRawDefaultCamera(self: CameraStackService): Defau
|
|
|
173
173
|
end
|
|
174
174
|
|
|
175
175
|
--[=[
|
|
176
|
-
Gets the camera
|
|
176
|
+
Gets the camera currently on the top of the stack
|
|
177
177
|
@return CameraEffect
|
|
178
178
|
]=]
|
|
179
179
|
function CameraStackService.GetTopCamera(self: CameraStackService): CameraEffectUtils.CameraLike
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
--!strict
|
|
2
2
|
--[=[
|
|
3
|
-
Hack to maintain default camera control by binding before and after the camera update cycle
|
|
3
|
+
Hack to maintain default camera control by binding before and after the camera update cycle.
|
|
4
4
|
This allows other cameras to build off of the "default" camera while maintaining the same Roblox control scheme.
|
|
5
5
|
|
|
6
6
|
This camera is automatically setup by the [CameraStackService](/api/CameraStackService).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
--!strict
|
|
2
2
|
--[=[
|
|
3
3
|
Allow freedom of movement around a current place, much like the classic script works now.
|
|
4
|
-
Not intended to be
|
|
5
|
-
Intended to be used with a SummedCamera, relative.
|
|
4
|
+
Not intended to be used with the current character script.
|
|
5
|
+
Intended to be used with a [SummedCamera], relative.
|
|
6
6
|
|
|
7
7
|
```lua
|
|
8
8
|
local zoom = ZoomedCamera.new()
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
--!strict
|
|
2
2
|
--[=[
|
|
3
3
|
Makes transitions between states easier. Uses the `CameraStackService` to tween in and
|
|
4
|
-
out a new camera state Call `:Show()` and `:Hide()` to do so, and make sure to
|
|
5
|
-
call `:Destroy()` after usage
|
|
4
|
+
out a new camera state. Call `:Show()` and `:Hide()` to do so, and make sure to
|
|
5
|
+
call `:Destroy()` after usage.
|
|
6
6
|
|
|
7
7
|
@class CameraStateTweener
|
|
8
8
|
]=]
|
|
@@ -89,7 +89,7 @@ end
|
|
|
89
89
|
|
|
90
90
|
--[=[
|
|
91
91
|
Shows the camera to fade in.
|
|
92
|
-
@param doNotAnimate
|
|
92
|
+
@param doNotAnimate boolean? -- Optional, defaults to animating
|
|
93
93
|
]=]
|
|
94
94
|
function CameraStateTweener.Show(self: CameraStateTweener, doNotAnimate: boolean?)
|
|
95
95
|
self:SetTarget(1, doNotAnimate)
|
|
@@ -97,7 +97,7 @@ end
|
|
|
97
97
|
|
|
98
98
|
--[=[
|
|
99
99
|
Hides the camera to fade in.
|
|
100
|
-
@param doNotAnimate
|
|
100
|
+
@param doNotAnimate boolean? -- Optional, defaults to animating
|
|
101
101
|
]=]
|
|
102
102
|
function CameraStateTweener.Hide(self: CameraStateTweener, doNotAnimate: boolean?)
|
|
103
103
|
self:SetTarget(0, doNotAnimate)
|
|
@@ -158,6 +158,10 @@ function CameraStateTweener.GetCameraBelow(self: CameraStateTweener): CameraEffe
|
|
|
158
158
|
return self._cameraBelow
|
|
159
159
|
end
|
|
160
160
|
|
|
161
|
+
--[=[
|
|
162
|
+
Sets the epsilon to stop animating
|
|
163
|
+
@param epsilon number?
|
|
164
|
+
]=]
|
|
161
165
|
function CameraStateTweener:SetEpsilon(epsilon: number?)
|
|
162
166
|
self._fadeBetween.Epsilon = epsilon
|
|
163
167
|
end
|