@quenty/particleengine 4.0.0-canary.236.5597d0a.0 → 4.0.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,7 +3,55 @@
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
- # [4.0.0-canary.236.5597d0a.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.2.0...@quenty/particleengine@4.0.0-canary.236.5597d0a.0) (2021-12-18)
6
+ # [4.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.6.0...@quenty/particleengine@4.0.0) (2022-03-06)
7
+
8
+ **Note:** Version bump only for package @quenty/particleengine
9
+
10
+
11
+
12
+
13
+
14
+ # [3.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.5.1...@quenty/particleengine@3.6.0) (2022-01-17)
15
+
16
+ **Note:** Version bump only for package @quenty/particleengine
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.5.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.5.0...@quenty/particleengine@3.5.1) (2022-01-16)
23
+
24
+ **Note:** Version bump only for package @quenty/particleengine
25
+
26
+
27
+
28
+
29
+
30
+ # [3.5.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.4.0...@quenty/particleengine@3.5.0) (2022-01-07)
31
+
32
+ **Note:** Version bump only for package @quenty/particleengine
33
+
34
+
35
+
36
+
37
+
38
+ # [3.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.3.1...@quenty/particleengine@3.4.0) (2022-01-03)
39
+
40
+ **Note:** Version bump only for package @quenty/particleengine
41
+
42
+
43
+
44
+
45
+
46
+ ## [3.3.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.3.0...@quenty/particleengine@3.3.1) (2021-12-30)
47
+
48
+ **Note:** Version bump only for package @quenty/particleengine
49
+
50
+
51
+
52
+
53
+
54
+ # [3.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@3.2.0...@quenty/particleengine@3.3.0) (2021-12-18)
7
55
 
8
56
  **Note:** Version bump only for package @quenty/particleengine
9
57
 
package/README.md CHANGED
@@ -1,21 +1,21 @@
1
1
  ## Particle Engine
2
2
  <div align="center">
3
- <a href="http://quenty.github.io/api/">
4
- <img src="https://img.shields.io/badge/docs-website-green.svg" alt="Documentation" />
3
+ <a href="http://quenty.github.io/NevermoreEngine/">
4
+ <img src="https://github.com/Quenty/NevermoreEngine/actions/workflows/docs.yml/badge.svg" alt="Documentation status" />
5
5
  </a>
6
6
  <a href="https://discord.gg/mhtGUS8">
7
- <img src="https://img.shields.io/badge/discord-nevermore-blue.svg" alt="Discord" />
7
+ <img src="https://img.shields.io/discord/385151591524597761?color=5865F2&label=discord&logo=discord&logoColor=white" alt="Discord" />
8
8
  </a>
9
9
  <a href="https://github.com/Quenty/NevermoreEngine/actions">
10
10
  <img src="https://github.com/Quenty/NevermoreEngine/actions/workflows/build.yml/badge.svg" alt="Build and release status" />
11
11
  </a>
12
12
  </div>
13
13
 
14
- Adds GUI based particles to Roblox. This is legacy code and is not maintained to the same level of quality as other libraries might be. In general, favor Roblox's particle system instead of this one.
14
+ Adds GUI based particles to Roblox. This is legacy code and is not maintained to the same level of quality as other libraries might be. In general, favor Roblox's particle system instead of this one. However, historically, this library was created before such particle systems were available for use.
15
+
16
+ <div align="center"><a href="https://quenty.github.io/NevermoreEngine/api/ParticleEngineClient">View docs →</a></div>
15
17
 
16
18
  ## Installation
17
19
  ```
18
20
  npm install @quenty/particleengine --save
19
- ```
20
-
21
- However, historically, this library was created before such particle systems were available for use.
21
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/particleengine",
3
- "version": "4.0.0-canary.236.5597d0a.0",
3
+ "version": "4.0.0",
4
4
  "description": "Adds GUI based particle engine to Roblox",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -26,12 +26,12 @@
26
26
  "AxisAngles"
27
27
  ],
28
28
  "dependencies": {
29
- "@quenty/loader": "3.1.1",
30
- "@quenty/remoting": "4.0.0-canary.236.5597d0a.0",
31
- "@quenty/table": "2.1.0"
29
+ "@quenty/loader": "^4.0.0",
30
+ "@quenty/remoting": "^4.0.0",
31
+ "@quenty/table": "^2.1.1"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "5597d0abdadd88f369f1401a558a8d6d1a1c5aab"
36
+ "gitHead": "dd428cab58282c975a4c082957dc8f58e3186905"
37
37
  }
@@ -1,5 +1,9 @@
1
- --- Legacy code written by AxisAngles to simulate particles with Guis
2
- -- @module ParticleEngine
1
+ --[=[
2
+ Legacy code written by AxisAngles to simulate particles with Guis
3
+
4
+ @client
5
+ @class ParticleEngineClient
6
+ ]=]
3
7
 
4
8
  local require = require(script.Parent.loader).load(script)
5
9
 
@@ -56,7 +60,7 @@ function ParticleEngineClient:Init(screen)
56
60
  return self
57
61
  end
58
62
 
59
- --- Removes a particle
63
+ -- Removes a particle
60
64
  function ParticleEngineClient:Remove(p)
61
65
  if self._particles[p] then
62
66
  self._particles[p] = nil
@@ -151,7 +155,7 @@ function ParticleEngineClient:_updatePosVel(p, dt, t)
151
155
  p.Velocity = p.Velocity + (p.Gravity + wind)*dt
152
156
  end
153
157
 
154
- --- Handles both priority and regular particles
158
+ -- Handles both priority and regular particles
155
159
  -- @return boolean alive, true if still fine
156
160
  function ParticleEngineClient:_updateParticle(particle, t, dt)
157
161
  if particle.LifeTime - t <= 0 then
@@ -221,7 +225,7 @@ function ParticleEngineClient:_updateRender()
221
225
  self:_updateScreenInfo(camera)
222
226
 
223
227
  local cameraInverse = camera.CFrame:inverse()
224
- local cameraPosition = camera.CFrame.p
228
+ local cameraPosition = camera.CFrame.Position
225
229
 
226
230
  local frameIndex, frame = next(self._particleFrames)
227
231
  for particle in pairs(self._particles) do
@@ -1,5 +1,9 @@
1
- --- Handles replication on the server side
2
- -- @module ParticleEngineServer
1
+ --[=[
2
+ Handles replication on the server side
3
+
4
+ @server
5
+ @class ParticleEngineServer
6
+ ]=]
3
7
 
4
8
  local require = require(script.Parent.loader).load(script)
5
9
 
@@ -1,6 +1,6 @@
1
- ---
2
- -- @module ParticleEngineConstants
3
- -- @author Quenty
1
+ --[=[
2
+ @class ParticleEngineConstants
3
+ ]=]
4
4
 
5
5
  local require = require(script.Parent.loader).load(script)
6
6