particle hit effect

This commit is contained in:
alexander.biryukov committed 2018-04-02 13:46:31 +05:00
1 parent 2b875dfc2d
commit 6bd38df453
13 files changed
+427 -18

No files matched your search

+4 -1
View File
@@ -1,3 +1,6 @@
{
"effect": "effects/ball-hit-spark.json"
"lefteffect": "effects/ball-hit-spark-l.json",
"righteffect": "effects/ball-hit-spark-r.json",
"topeffect": "effects/ball-hit-spark-t.json",
"boteffect": "effects/ball-hit-spark-b.json"
}
+85
View File
@@ -0,0 +1,85 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"maxParticles": 11,
"preloading": 11,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.01,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 270, 0, 175 ]
},
"lifeTime":
{
"min": 0.02,
"max": 0.15
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 10, 0, 0 ]
},
{
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.5
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}
+85
View File
@@ -0,0 +1,85 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"maxParticles": 11,
"preloading": 11,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.01,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 175 ]
},
"lifeTime":
{
"min": 0.02,
"max": 0.15
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 10, 0, 0 ]
},
{
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.5
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}
@@ -6,8 +6,8 @@
{
"name": "Spark",
"maxParticles": 5,
"preloading": 5,
"maxParticles": 11,
"preloading": 11,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
@@ -28,21 +28,21 @@
"value": 0
},
{
"t": 0.050,
"value": 50
"t": 0.01,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 170 ]
"value": [ 0, 0, 0, 175 ]
},
"lifeTime":
{
"min": 0.05,
"max": 0.1
"min": 0.02,
"max": 0.15
},
"coords_system": "PARTICLE_BIRTH",
@@ -51,17 +51,17 @@
"coords":
{
"interpolation": "LINEAR_SPLINE",
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
"value": [ 10, 0, 0 ]
},
{
"t": 2,
"min": [ 300, 0, 0 ],
"max": [ 600, 0, 0 ]
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
}
]
},
@@ -73,7 +73,7 @@
"scale":
{
"value": 1
"value": 0.5
},
"color":
+85
View File
@@ -0,0 +1,85 @@
{
"name": "Simple Sparkler",
"emitters":
[
{
"name": "Spark",
"maxParticles": 11,
"preloading": 11,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.01,
"value": 20
}
]
},
"spawnRange":
{
"value": [ 0, 90, 0, 175 ]
},
"lifeTime":
{
"min": 0.02,
"max": 0.15
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_EFFECT",
"coords":
{
"interpolation": "CUBIC_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 10, 0, 0 ]
},
{
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.5
},
"color":
{
"value": [ 1, 1, 0, 1 ]
}
}
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.