@quenty/particleengine 13.4.0 → 13.4.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 +11 -0
- package/package.json +2 -2
- package/src/Client/ParticleEngineClient.lua +6 -3
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
|
+
## [13.4.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@13.4.0...@quenty/particleengine@13.4.1) (2024-05-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Particle engine works with ServiceBag ([293968f](https://github.com/Quenty/NevermoreEngine/commit/293968f18eb090def80d590b0908d2d0d25d758c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [13.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@13.3.0...@quenty/particleengine@13.4.0) (2024-05-09)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/particleengine",
|
|
3
|
-
"version": "13.4.
|
|
3
|
+
"version": "13.4.1",
|
|
4
4
|
"description": "Adds GUI based particle engine to Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "4955d2477353af4833f444483d41428faa446a4f"
|
|
37
37
|
}
|
|
@@ -31,7 +31,9 @@ local function newFrame(name)
|
|
|
31
31
|
return frame
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
function ParticleEngineClient:Init(
|
|
34
|
+
function ParticleEngineClient:Init(serviceBag)
|
|
35
|
+
self._serviceBag = assert(serviceBag, "No serviceBag")
|
|
36
|
+
|
|
35
37
|
PromiseGetRemoteEvent(ParticleEngineConstants.REMOTE_EVENT_NAME):Then(function(remoteEvent)
|
|
36
38
|
self._remoteEvent = remoteEvent
|
|
37
39
|
|
|
@@ -40,7 +42,6 @@ function ParticleEngineClient:Init(screen)
|
|
|
40
42
|
end)
|
|
41
43
|
end)
|
|
42
44
|
|
|
43
|
-
self._screen = screen or error("No screen")
|
|
44
45
|
self._player = Players.LocalPlayer or error("No LocalPlayer")
|
|
45
46
|
|
|
46
47
|
self._lastUpdateTime = tick()
|
|
@@ -57,8 +58,10 @@ function ParticleEngineClient:Init(screen)
|
|
|
57
58
|
self:_update()
|
|
58
59
|
debug.profileend()
|
|
59
60
|
end)
|
|
61
|
+
end
|
|
60
62
|
|
|
61
|
-
|
|
63
|
+
function ParticleEngineClient:SetScreenGui(screenGui)
|
|
64
|
+
self._screen = screenGui
|
|
62
65
|
end
|
|
63
66
|
|
|
64
67
|
-- Removes a particle
|