@quenty/particleengine 7.6.0 → 7.7.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,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
+ # [7.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@7.6.0...@quenty/particleengine@7.7.0) (2023-05-26)
7
+
8
+
9
+ ### Features
10
+
11
+ * Initial refactor of guis to use ValueObject instead of ValueObject ([723aba0](https://github.com/Quenty/NevermoreEngine/commit/723aba0208cae7e06c9d8bf2d8f0092d042d70ea))
12
+
13
+
14
+
15
+
16
+
6
17
  # [7.6.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/particleengine@7.5.1...@quenty/particleengine@7.6.0) (2023-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/particleengine
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/particleengine",
3
- "version": "7.6.0",
3
+ "version": "7.7.0",
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": "3306212248c310731931ad45d8b86dc7247f2a5d"
36
+ "gitHead": "11058e90e51ea83d3dad6ae9abe59cc19c36b94b"
37
37
  }
@@ -95,11 +95,11 @@ function ParticleEngineClient:Add(p)
95
95
  return
96
96
  end
97
97
 
98
- p.Position = p.Position or Vector3.new()
99
- p.Velocity = p.Velocity or Vector3.new()
98
+ p.Position = p.Position or Vector3.zero
99
+ p.Velocity = p.Velocity or Vector3.zero
100
100
  p.Size = p.Size or Vector2.new(0.2,0.2)
101
- p.Bloom = p.Bloom or Vector2.new()
102
- p.Gravity = p.Gravity or Vector3.new()
101
+ p.Bloom = p.Bloom or Vector2.zero
102
+ p.Gravity = p.Gravity or Vector3.zero
103
103
  p.Color = p.Color or Color3.new(1,1,1)
104
104
  p.Transparency = p.Transparency or 0.5
105
105
 
@@ -150,7 +150,7 @@ function ParticleEngineClient:_updatePosVel(p, dt, t)
150
150
  if p.WindResistance then
151
151
  wind = (particleWind(t, p.Position)*self._windSpeed - p.Velocity)*p.WindResistance
152
152
  else
153
- wind = Vector3.new()
153
+ wind = Vector3.zero
154
154
  end
155
155
 
156
156
  p.Velocity = p.Velocity + (p.Gravity + wind)*dt
@@ -40,10 +40,10 @@ function ParticleEngineServer:ParticleNew(p)
40
40
  assert(self._remoteEvent, "Not initialized")
41
41
 
42
42
  p.Position = p.Position or error("No Position")
43
- p.Velocity = p.Velocity or Vector3.new()
43
+ p.Velocity = p.Velocity or Vector3.zero
44
44
  p.Size = p.Size or Vector2.new(0.2,0.2)
45
45
  p.Bloom = p.Bloom or Vector2.new(0,0)
46
- p.Gravity = p.Gravity or Vector3.new()
46
+ p.Gravity = p.Gravity or Vector3.zero
47
47
  p.LifeTime = p.LifeTime;
48
48
  p.Color = p.Color or Color3.new(1,1,1)
49
49
  p.Transparency = p.Transparency or 0.5