end of level particle effect

This commit is contained in:
alexander.biryukov committed 2018-04-03 14:47:08 +05:00
1 parent 6bd38df453
commit c97c179199
13 files changed
+809 -72

No files matched your search

+2 -1
View File
@@ -2,5 +2,6 @@
"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"
"boteffect": "effects/ball-hit-spark-b.json",
"lvlFinish": "effects/magic-stars-firework.json"
}
+99 -10
View File
@@ -6,8 +6,7 @@
{
"name": "Spark",
"maxParticles": 11,
"preloading": 11,
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
@@ -28,7 +27,7 @@
"value": 0
},
{
"t": 0.01,
"t": 0.05,
"value": 20
}
]
@@ -41,8 +40,8 @@
"lifeTime":
{
"min": 0.02,
"max": 0.15
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
@@ -56,12 +55,12 @@
[
{
"t": 0.000,
"value": [ 10, 0, 0 ]
"value": [ 0, -3, 0 ]
},
{
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
@@ -73,13 +72,103 @@
"scale":
{
"value": 0.5
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}
+99 -10
View File
@@ -6,8 +6,7 @@
{
"name": "Spark",
"maxParticles": 11,
"preloading": 11,
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
@@ -28,7 +27,7 @@
"value": 0
},
{
"t": 0.01,
"t": 0.05,
"value": 20
}
]
@@ -41,8 +40,8 @@
"lifeTime":
{
"min": 0.02,
"max": 0.15
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
@@ -56,12 +55,12 @@
[
{
"t": 0.000,
"value": [ 10, 0, 0 ]
"value": [ 3, 0, 0 ]
},
{
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
@@ -73,13 +72,103 @@
"scale":
{
"value": 0.5
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}
+99 -10
View File
@@ -6,8 +6,7 @@
{
"name": "Spark",
"maxParticles": 11,
"preloading": 11,
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
@@ -28,7 +27,7 @@
"value": 0
},
{
"t": 0.01,
"t": 0.05,
"value": 20
}
]
@@ -41,8 +40,8 @@
"lifeTime":
{
"min": 0.02,
"max": 0.15
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
@@ -56,12 +55,12 @@
[
{
"t": 0.000,
"value": [ 10, 0, 0 ]
"value": [ -3, 0, 0 ]
},
{
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
@@ -73,13 +72,103 @@
"scale":
{
"value": 0.5
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}
+99 -10
View File
@@ -6,8 +6,7 @@
{
"name": "Spark",
"maxParticles": 11,
"preloading": 11,
"preloading": 5,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
@@ -28,7 +27,7 @@
"value": 0
},
{
"t": 0.01,
"t": 0.05,
"value": 20
}
]
@@ -41,8 +40,8 @@
"lifeTime":
{
"min": 0.02,
"max": 0.15
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
@@ -56,12 +55,12 @@
[
{
"t": 0.000,
"value": [ 10, 0, 0 ]
"value": [ 0, 3, 0 ]
},
{
"t": 0.15,
"min": [ 60, 0, 0 ],
"max": [ 100, 0, 0 ]
"t": 0.1,
"min": [ 10, 0, 0 ],
"max": [ 70, 0, 0 ]
}
]
},
@@ -73,13 +72,103 @@
"scale":
{
"value": 0.5
"value": 0.4
},
"color":
{
"value": [ 1, 1, 0, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 6,
"preloading": 6,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -100, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 0.08,
"value": 6
}
]
},
"spawnRange":
{
"value": [ 0, 180, 0, 160 ]
},
"lifeTime":
{
"min": 0.01,
"max": 0.1
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.1,
"min": [ 0, 0, 0 ],
"max": [ 80, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 0.2
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 0.100,
"value": [ 1, 0.5, 0, 1 ]
}
]
}
}
]
}
]
}
+275
View File
@@ -0,0 +1,275 @@
{
"emitters":
[
{
"preloading": 4,
"texturePath": "textures/magic-star.png",
"textureSize": [ 22.625, 12.5 ],
"hasInertion": "false",
"gravity": [0, 0, 0],
"spawnRange_system": "PARTICLE_EFFECT",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"timelineType": "LIMITED",
"timeline":
[
{
"t": 0,
"value": 0
},
{
"t": 1,
"value": 4
}
]
},
"spawnRange":
{
"value": [ 0, 90, 0, 60 ]
},
"lifeTime":
{
"min": 0.5,
"max": 2
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 0.500,
"min": [ 60, 0, 0 ],
"max": [ 160, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"interpolation": "DISCRETE",
"timeline":
[
{
"value": 0.8
}
]
},
"color":
{
"value": [ 1, 1, 1, 1 ]
},
"emitters":
[
{
"name": "Spark",
"maxParticles": 110,
"preloading": 110,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"gravity": [0, -200, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "LINEAR_SPLINE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 1,
"value": 50
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 1,
"max": 1.98
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 0, 0, 0 ],
"max": [ 50, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 1, 1, 1 ]
},
{
"t": 1.000,
"value": [ 0, 0, 1, 1 ]
},
{
"t": 1.200,
"value": [ 0, 0, 1, 0 ]
}
]
}
},
{
"name": "Spark",
"maxParticles": 300,
"preloading": 300,
"texturePath": "textures/spark-white.png",
"textureSize": [ 10, 10 ],
"hasInertion": "true",
"gravity": [0, -500, 0],
"spawnRange_system": "PARTICLE_BIRTH",
"spawnTotal":
{
"interpolation": "DISCRETE",
"matchDeathTime": "true",
"timeline":
[
{
"t": 0.000,
"value": 0
},
{
"t": 2.000,
"value": 300
}
]
},
"spawnRange":
{
"value": [ 0, 0, 0, 360 ]
},
"lifeTime":
{
"min": 1,
"max": 2
},
"coords_system": "PARTICLE_BIRTH",
"coords_axis_system": "PARTICLE_BIRTH",
"rotation_system": "PARTICLE_BIRTH",
"coords":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 0, 0, 0 ]
},
{
"t": 1.000,
"min": [ 25, 0, 0 ],
"max": [ 300, 0, 0 ]
}
]
},
"rotation":
{
"value": [ 0, 0, 0 ]
},
"scale":
{
"value": 1
},
"color":
{
"interpolation": "LINEAR_SPLINE",
"timeline":
[
{
"t": 0.000,
"value": [ 1, 1, 0, 1 ]
},
{
"t": 1.000,
"value": [ 1, 0, 0, 1 ]
},
{
"t": 1.200,
"value": [ 1, 0, 0, 0 ]
}
]
}
}
]
}
]
}