From 849057cececfca30911bafb3022c0b3eff306027 Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Dev Date: Mon, 25 Dec 2017 15:30:42 +0500 Subject: [PATCH] update --- assets/config.json | 2 +- assets/effects/O-func.json | 4 +- assets/effects/S-func.json | 4 +- assets/effects/chaotic.json | 116 ++++ assets/effects/confetti.json | 861 ++++++++++++++++++++++++++++ assets/effects/magic-stars.json | 16 +- assets/effects/sine-comets.json | 4 +- assets/effects/sine-sparks.json | 4 +- assets/effects/sparkler-looped.json | 4 +- assets/effects/sparkler.json | 10 +- assets/effects/test.json | 420 +++++++++++++- assets/textures/circle-white.png | Bin 2589 -> 4185 bytes 12 files changed, 1407 insertions(+), 38 deletions(-) create mode 100755 assets/effects/chaotic.json create mode 100755 assets/effects/confetti.json diff --git a/assets/config.json b/assets/config.json index 0d41564..b083e4e 100755 --- a/assets/config.json +++ b/assets/config.json @@ -1,3 +1,3 @@ { - "effect": "effects/magic-stars.json" + "effect": "effects/confetti.json" } \ No newline at end of file diff --git a/assets/effects/O-func.json b/assets/effects/O-func.json index 0a4b40b..efb0329 100755 --- a/assets/effects/O-func.json +++ b/assets/effects/O-func.json @@ -8,7 +8,9 @@ "maxParticles": 300, "preloading": 100, + "texturePath": "textures/spark.png", + "textureSize": [ 10, 10 ], "hasInertion": "false", "gravity": [0, 0, 0], @@ -88,7 +90,7 @@ "scale": { - "value": [ 10, 10 ] + "value": 1 }, "color": diff --git a/assets/effects/S-func.json b/assets/effects/S-func.json index 02696c9..72d4afb 100755 --- a/assets/effects/S-func.json +++ b/assets/effects/S-func.json @@ -8,7 +8,9 @@ "maxParticles": 300, "preloading": 100, + "texturePath": "textures/spark.png", + "textureSize": [ 10, 10 ], "hasInertion": "false", "gravity": [0, 0, 0], @@ -80,7 +82,7 @@ "scale": { - "value": [ 10, 10 ] + "value": 1 }, "color": diff --git a/assets/effects/chaotic.json b/assets/effects/chaotic.json new file mode 100755 index 0000000..0fdf188 --- /dev/null +++ b/assets/effects/chaotic.json @@ -0,0 +1,116 @@ +{ + "emitters": + [ + { + "maxParticles": 300, + "preloading": 100, + + "texturePath": "textures/spark.png", + "textureSize": [ 10, 10 ], + + "hasInertion": "false", + "gravity": [0, 0, 0], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0, + "value": 0 + }, + { + "t": 1, + "value": 5 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 0, 360 ] + }, + + "lifeTime": + { + "value": 3 + }, + + "coords_system": "PARTICLE_EFFECT", + "offset_axis_system": "PARTICLE_EFFECT", + "coords_axis_system": "PARTICLE_BIRTH", + "rotation_system": "PARTICLE_EFFECT", + + "coords": + { + "interpolation": "CUBIC_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0] + }, + { + "t": 3.000, + "value": [ 500, 0, 0] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 10, 0, 0] + }, + { + "t": 0.025, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.125, + "value": [ 0, 10, 0] + }, + { + "t": 0.25, + "value": [ -10, 0, 0] + }, + { + "t": 0.375, + "value": [ 0, -10, 0] + }, + { + "t": 0.475, + "value": [ 9.5, -3, 0] + }, + { + "t": 0.5, + "value": [ 10, 0, 0] + } + ] + }, + + "rotation": + { + "value": [ 0, 0, 0 ] + }, + + "scale": + { + "value": 1 + }, + + "color": + { + "value": [ 1, 1, 0, 1 ] + } + } + ] +} \ No newline at end of file diff --git a/assets/effects/confetti.json b/assets/effects/confetti.json new file mode 100755 index 0000000..495f8a5 --- /dev/null +++ b/assets/effects/confetti.json @@ -0,0 +1,861 @@ +{ + "emitters": + [ + { + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/star-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 15 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 0] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_BIRTH", + "rotation_system": "PARTICLE_ITSELF", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 100, 0, 0 ], + "max": [ 200, 0, 0 ] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timeline": + [ + { + "t": 0.00, + "value": [ 10, 0, 0] + }, + { + "t": 0.05, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.25, + "value": [ 0, 10, 0] + }, + { + "t": 0.5, + "value": [ -10, 0, 0] + }, + { + "t": 0.75, + "value": [ 0, -10, 0] + }, + { + "t": 0.95, + "value": [ 9.5, -3, 0] + }, + { + "t": 1.0, + "value": [ 10, 0, 0] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 0, 1, 0, 1 ] + } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/rect-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 15 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 0] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_BIRTH", + "rotation_system": "PARTICLE_EFFECT", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 100, 0, 0 ], + "max": [ 200, 0, 0 ] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timeline": + [ + { + "t": 0.00, + "value": [ 10, 0, 0] + }, + { + "t": 0.05, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.25, + "value": [ 0, 10, 0] + }, + { + "t": 0.5, + "value": [ -10, 0, 0] + }, + { + "t": 0.75, + "value": [ 0, -10, 0] + }, + { + "t": 0.95, + "value": [ 9.5, -3, 0] + }, + { + "t": 1.0, + "value": [ 10, 0, 0] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 1, 0, 0, 1 ] + } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/circle-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 15 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 0] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_BIRTH", + "rotation_system": "PARTICLE_EFFECT", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 100, 0, 0 ], + "max": [ 200, 0, 0 ] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timeline": + [ + { + "t": 0.00, + "value": [ 10, 0, 0] + }, + { + "t": 0.05, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.25, + "value": [ 0, 10, 0] + }, + { + "t": 0.5, + "value": [ -10, 0, 0] + }, + { + "t": 0.75, + "value": [ 0, -10, 0] + }, + { + "t": 0.95, + "value": [ 9.5, -3, 0] + }, + { + "t": 1.0, + "value": [ 10, 0, 0] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 0, 0, 1, 1 ] + } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/star-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 15 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 0] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_BIRTH", + "rotation_system": "PARTICLE_EFFECT", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 100, 0, 0 ], + "max": [ 200, 0, 0 ] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timeline": + [ + { + "t": 0.00, + "value": [ 10, 0, 0] + }, + { + "t": 0.05, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.25, + "value": [ 0, 10, 0] + }, + { + "t": 0.5, + "value": [ -10, 0, 0] + }, + { + "t": 0.75, + "value": [ 0, -10, 0] + }, + { + "t": 0.95, + "value": [ 9.5, -3, 0] + }, + { + "t": 1.0, + "value": [ 10, 0, 0] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 1, 1, 0, 1 ] + } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/rect-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 15 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 0] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_BIRTH", + "rotation_system": "PARTICLE_EFFECT", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 100, 0, 0 ], + "max": [ 200, 0, 0 ] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timeline": + [ + { + "t": 0.00, + "value": [ 10, 0, 0] + }, + { + "t": 0.05, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.25, + "value": [ 0, 10, 0] + }, + { + "t": 0.5, + "value": [ -10, 0, 0] + }, + { + "t": 0.75, + "value": [ 0, -10, 0] + }, + { + "t": 0.95, + "value": [ 9.5, -3, 0] + }, + { + "t": 1.0, + "value": [ 10, 0, 0] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 0, 1, 1, 1 ] + } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/circle-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 15 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 0] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_BIRTH", + "rotation_system": "PARTICLE_EFFECT", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 100, 0, 0 ], + "max": [ 200, 0, 0 ] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timeline": + [ + { + "t": 0.00, + "value": [ 10, 0, 0] + }, + { + "t": 0.05, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.25, + "value": [ 0, 10, 0] + }, + { + "t": 0.5, + "value": [ -10, 0, 0] + }, + { + "t": 0.75, + "value": [ 0, -10, 0] + }, + { + "t": 0.95, + "value": [ 9.5, -3, 0] + }, + { + "t": 1.0, + "value": [ 10, 0, 0] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 1, 0, 1, 1 ] + } + } + ] +} \ No newline at end of file diff --git a/assets/effects/magic-stars.json b/assets/effects/magic-stars.json index be5416c..895dd21 100755 --- a/assets/effects/magic-stars.json +++ b/assets/effects/magic-stars.json @@ -1,13 +1,11 @@ { - "name": "Sparkler - бенгальский огонь", - "emitters": [ { - "name": "Magic Star", - "preloading": 20, + "texturePath": "textures/magic-star.png", + "textureSize": [ 22.625, 12.5 ], "hasInertion": "false", "gravity": [0, 0, 0], @@ -73,7 +71,7 @@ "timeline": [ { - "value": [ 22.625, 12.5 ] + "value": 1 } ] }, @@ -92,7 +90,9 @@ "maxParticles": 110, "preloading": 110, + "texturePath": "textures/spark-white.png", + "textureSize": [ 10, 10 ], "gravity": [0, -100, 0], @@ -153,7 +153,7 @@ "scale": { - "value": [ 10, 10 ] + "value": 1 }, "color": @@ -184,7 +184,9 @@ "maxParticles": 300, "preloading": 300, + "texturePath": "textures/spark-white.png", + "textureSize": [ 10, 10 ], "hasInertion": "true", "gravity": [0, -100, 0], @@ -246,7 +248,7 @@ "scale": { - "value": [ 10, 10 ] + "value": 1 }, "color": diff --git a/assets/effects/sine-comets.json b/assets/effects/sine-comets.json index 5892f56..9d504a5 100755 --- a/assets/effects/sine-comets.json +++ b/assets/effects/sine-comets.json @@ -8,7 +8,9 @@ "maxParticles": 300, "preloading": 100, + "texturePath": "textures/comet.png", + "textureSize": [ 20, 7.12 ], "hasInertion": "false", "gravity": [0, 0, 0], @@ -96,7 +98,7 @@ "scale": { - "value": [ 20, 7.12 ] + "value": 1 }, "color": diff --git a/assets/effects/sine-sparks.json b/assets/effects/sine-sparks.json index a4f7657..abdc99e 100755 --- a/assets/effects/sine-sparks.json +++ b/assets/effects/sine-sparks.json @@ -8,7 +8,9 @@ "maxParticles": 300, "preloading": 100, + "texturePath": "textures/spark.png", + "textureSize": [ 10, 10 ], "hasInertion": "false", "gravity": [0, 0, 0], @@ -96,7 +98,7 @@ "scale": { - "value": [ 10, 10 ] + "value": 1 }, "color": diff --git a/assets/effects/sparkler-looped.json b/assets/effects/sparkler-looped.json index 2096bf0..c32aa3c 100755 --- a/assets/effects/sparkler-looped.json +++ b/assets/effects/sparkler-looped.json @@ -8,7 +8,9 @@ "maxParticles": 2000, "preloading": 2000, + "texturePath": "textures/spark-white.png", + "textureSize": [ 10, 10 ], "hasInertion": "false", "gravity": [0, 0, 0], @@ -79,7 +81,7 @@ "scale": { - "value": [ 10, 10 ] + "value": 1 }, "color": diff --git a/assets/effects/sparkler.json b/assets/effects/sparkler.json index fefb11c..8ba67b7 100755 --- a/assets/effects/sparkler.json +++ b/assets/effects/sparkler.json @@ -6,9 +6,11 @@ { "name": "Spark", - "maxParticles": 1000, - "preloading": 1000, + "maxParticles": 1100, + "preloading": 1100, + "texturePath": "textures/spark-white.png", + "textureSize": [ 10, 10 ], "hasInertion": "false", "gravity": [0, 0, 0], @@ -27,7 +29,7 @@ }, { "t": 1.000, - "value": 200 + "value": 1000 } ] }, @@ -71,7 +73,7 @@ "scale": { - "value": [ 10, 10 ] + "value": 1 }, "color": diff --git a/assets/effects/test.json b/assets/effects/test.json index d7c8a00..34fc40e 100755 --- a/assets/effects/test.json +++ b/assets/effects/test.json @@ -1,15 +1,12 @@ { - "name": "Sparkler - бенгальский огонь", - "emitters": [ { - "name": "Magic Star", - "maxParticles": 10000, "preloading": 1000, "texturePath": "textures/star-white.png", + "textureSize": [ 5, 5 ], "gravity": [ 0, -100, 0 ], @@ -17,7 +14,18 @@ "spawnTotal": { - "value": 50 + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 5 + } + ] }, "spawnRange": @@ -31,9 +39,10 @@ "max": 10 }, - "coords_system": "PARTICLE_EFFECT", + "coords_system": "PARTICLE_BIRTH", "coords_axis_system": "PARTICLE_BIRTH", - "rotation_system": "PARTICLE_EFFECT", + "offset_axis_system": "PARTICLE_ITSELF", + "rotation_system": "PARTICLE_ITSELF", "coords": { @@ -47,7 +56,44 @@ { "t": 1.000, "min": [ 150, 0, 0 ], - "max": [ 150, 0, 0 ] + "max": [ 300, 0, 0 ] + } + ] + }, + + "offset": + { + "interpolation": "CUBIC_SPLINE", + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.00, + "value": [ 10, 0, 0] + }, + { + "t": 0.05, + "value": [ 9.5, 3, 0] + }, + { + "t": 0.25, + "value": [ 0, 10, 0] + }, + { + "t": 0.5, + "value": [ -10, 0, 0] + }, + { + "t": 0.75, + "value": [ 0, -10, 0] + }, + { + "t": 0.95, + "value": [ 9.5, -3, 0] + }, + { + "t": 1.0, + "value": [ 10, 0, 0] } ] }, @@ -80,7 +126,8 @@ "timeline": [ { - "value": [ 10, 10 ] + "min": 1, + "max": 2 } ] }, @@ -96,7 +143,8 @@ "maxParticles": 10000, "preloading": 1000, - "texturePath": "textures/circle-white.png", + "texturePath": "textures/rect-white.png", + "textureSize": [ 5, 5 ], "gravity": [ 0, -100, 0 ], @@ -104,7 +152,18 @@ "spawnTotal": { - "value": 50 + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 5 + } + ] }, "spawnRange": @@ -118,9 +177,10 @@ "max": 10 }, - "coords_system": "PARTICLE_EFFECT", + "coords_system": "PARTICLE_BIRTH", "coords_axis_system": "PARTICLE_BIRTH", - "rotation_system": "PARTICLE_EFFECT", + "offset_axis_system": "PARTICLE_ITSELF", + "rotation_system": "PARTICLE_ITSELF", "coords": { @@ -134,7 +194,7 @@ { "t": 1.000, "min": [ 150, 0, 0 ], - "max": [ 150, 0, 0 ] + "max": [ 300, 0, 0 ] } ] }, @@ -167,7 +227,8 @@ "timeline": [ { - "value": [ 10, 10 ] + "min": 1, + "max": 2 } ] }, @@ -183,7 +244,8 @@ "maxParticles": 10000, "preloading": 1000, - "texturePath": "textures/rect-white.png", + "texturePath": "textures/circle-white.png", + "textureSize": [ 5, 5 ], "gravity": [ 0, -100, 0 ], @@ -191,7 +253,18 @@ "spawnTotal": { - "value": 50 + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 5 + } + ] }, "spawnRange": @@ -205,9 +278,10 @@ "max": 10 }, - "coords_system": "PARTICLE_EFFECT", + "coords_system": "PARTICLE_BIRTH", "coords_axis_system": "PARTICLE_BIRTH", - "rotation_system": "PARTICLE_EFFECT", + "offset_axis_system": "PARTICLE_ITSELF", + "rotation_system": "PARTICLE_ITSELF", "coords": { @@ -221,7 +295,7 @@ { "t": 1.000, "min": [ 150, 0, 0 ], - "max": [ 150, 0, 0 ] + "max": [ 300, 0, 0 ] } ] }, @@ -254,7 +328,8 @@ "timeline": [ { - "value": [ 10, 10 ] + "min": 1, + "max": 2 } ] }, @@ -263,6 +338,309 @@ { "value": [ 0, 0, 1, 1 ] } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/star-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 5 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 180 ] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_ITSELF", + "rotation_system": "PARTICLE_ITSELF", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 150, 0, 0 ], + "max": [ 300, 0, 0 ] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 1, 1, 0, 1 ] + } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/rect-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 5 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 180 ] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_ITSELF", + "rotation_system": "PARTICLE_ITSELF", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 150, 0, 0 ], + "max": [ 300, 0, 0 ] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 0, 1, 1, 1 ] + } + }, + { + "name": "Magic Star", + + "maxParticles": 10000, + "preloading": 1000, + + "texturePath": "textures/circle-white.png", + "textureSize": [ 5, 5 ], + + "gravity": [ 0, -100, 0 ], + + "spawnRange_system": "PARTICLE_EFFECT", + + "spawnTotal": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": 0 + }, + { + "t": 1.000, + "value": 5 + } + ] + }, + + "spawnRange": + { + "value": [ 0, 0, 360, 180 ] + }, + + "lifeTime": + { + "min": 10, + "max": 10 + }, + + "coords_system": "PARTICLE_BIRTH", + "coords_axis_system": "PARTICLE_BIRTH", + "offset_axis_system": "PARTICLE_ITSELF", + "rotation_system": "PARTICLE_ITSELF", + + "coords": + { + "interpolation": "LINEAR_SPLINE", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 0, 0 ] + }, + { + "t": 1.000, + "min": [ 150, 0, 0 ], + "max": [ 300, 0, 0 ] + } + ] + }, + + "rotation": + { + "interpolation": "LINEAR_SPLINE", + "timeOffset": + { + "min": 0, + "max": 1 + }, + "timelineType": "LOOPED", + "timeline": + [ + { + "t": 0.000, + "value": [ 0, 45, 0 ] + }, + { + "t": 1.000, + "value": [ 360, 45, 0 ] + } + ] + }, + + "scale": + { + "interpolation": "DISCRETE", + "timeline": + [ + { + "min": 1, + "max": 2 + } + ] + }, + + "color": + { + "value": [ 1, 0, 1, 1 ] + } } ] } \ No newline at end of file diff --git a/assets/textures/circle-white.png b/assets/textures/circle-white.png index d3eb9a9cd3a040d85cb05524afe70a8677e40f67..cdb82add50df06f4f86f4de42fa559ba3f49df75 100755 GIT binary patch literal 4185 zcmdT|YgAKL7EY%xl_`Q&QQ9bos1!qL<tk5qQO901-wL{N+1#*nR}?y>8v&XX3biiA6a*0-|w8g z_qV^Z&rZ$;`g^^z!g2)$gL#MSO$x$bUfT{n%icmQX)I1M`gkLHH)S^lb0yDYKJrcU z`|{)72a_-u(@yYtZOt~HFHz%qXiq4#FX1SZ8krb{IUX4s4>`m~K~|0qA3E&#q)&PE z2nMrKNha;ye=>YrlkhY(mDY8F;XX1PSLybJ?Q(Zvll`2>yKCa^ryOoAW)B9|+ecQu zS9rzexJ&Tm&lf7bCe`1v%B~4B zd;0IDSnX~@qpLTh4xZdKDxaJp9txkMbqpo(m}7RBm>*1Evns&;?Xyj;Z+uBgS%x|L z%nY;Yp*3dnRS%5!kt|I9?Y}+%$&N{z*xAp<3T^nqE%N;qDHl1}MWeg+(H=w+Hc@$V ze#wzp|2;_UOnjW+EFC+ah_qaF*3b}EwNn_aEW!#a8>>gB z1J_HCfGl`{RTE$0aGrMnz%!W6A>Gq2;KXi<{AUAmJ49wWGag0~4Bfgzr+g_d%R)m)nu+|gLcY7LC|Iua&Iqp}cBe|>7B-_T7;7oE9?zl6VY92rz! z{SmSe&JpklX59#N{lr$Ur#xV*6r>v*(n#AH^!>%L7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