Finalize ParticleSystem, add angular velocity, multiple emitters, GetBool for IDataReader, use Lerp in LerpColor.
This commit is contained in:
20
TestGame/Resources/fire_effect.toml
Normal file
20
TestGame/Resources/fire_effect.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
# Fire effect example
|
||||
[ParticleEmitterSettings]
|
||||
|
||||
Local = true
|
||||
MaxParticles = 128
|
||||
EmitRadius = 8
|
||||
Explosiveness = 0
|
||||
LifeTime = 1.0
|
||||
Direction = [0.0, -1.0]
|
||||
LinearVelocity = 200
|
||||
LinearVelocityDamping = 0.0
|
||||
AngularVelocity = 230
|
||||
AngularVelocityDamping = 0.0
|
||||
AngularVelocityRandom = 1.0
|
||||
Gravity = [0.0, 0.0]
|
||||
LinearVelocityRandom = 0.5
|
||||
ScaleBegin = 0.1
|
||||
ScaleEnd = 5.0
|
||||
ColorBegin = [255, 162, 0]
|
||||
ColorEnd = [64, 64, 64, 0]
|
||||
@@ -1,14 +0,0 @@
|
||||
[ParticleEmitterSettings]
|
||||
|
||||
MaxParticles = 1024
|
||||
EmitRadius = 128
|
||||
Explosiveness = 1.0
|
||||
LifeTime = 2.0
|
||||
Direction = [0.0, -1.0]
|
||||
LinearVelocity = 200
|
||||
Gravity = [0.0, 0.0]
|
||||
LinearVelocityRandom = 0.5
|
||||
ScaleBegin = 1.0
|
||||
ScaleEnd = 5.0
|
||||
ColorBegin = [255, 0, 0, 0]
|
||||
ColorEnd = [0, 255, 0, 255]
|
||||
Reference in New Issue
Block a user