@zaisma/effects 0.0.0-stage → 1.0.1

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.
Files changed (123) hide show
  1. package/EFFECT-FILES.md +301 -0
  2. package/LICENSE.txt +93 -0
  3. package/README.md +63 -2
  4. package/batches/chunks.js +294 -0
  5. package/batches/marks.js +160 -0
  6. package/batches/ribbons.js +233 -0
  7. package/batches/shared.js +155 -0
  8. package/batches/sprites.js +447 -0
  9. package/batches/warps.js +222 -0
  10. package/budget.js +115 -0
  11. package/debris.js +173 -0
  12. package/emit.js +143 -0
  13. package/flashes.js +113 -0
  14. package/format.js +365 -0
  15. package/index.d.ts +373 -0
  16. package/index.js +1168 -0
  17. package/library/bubbles_rising.json +47 -0
  18. package/library/bullet_impact.json +588 -0
  19. package/library/campfire.json +235 -0
  20. package/library/candle_flame.json +100 -0
  21. package/library/confetti.json +165 -0
  22. package/library/dash_burst.json +73 -0
  23. package/library/debris_glass.json +96 -0
  24. package/library/debris_metal.json +106 -0
  25. package/library/debris_stone.json +106 -0
  26. package/library/debris_wood.json +101 -0
  27. package/library/dust_motes.json +51 -0
  28. package/library/dust_puff.json +49 -0
  29. package/library/electric_sparks.json +175 -0
  30. package/library/embers_drift.json +55 -0
  31. package/library/exhaust_puff.json +62 -0
  32. package/library/explosion_air.json +232 -0
  33. package/library/explosion_large.json +373 -0
  34. package/library/explosion_magic.json +266 -0
  35. package/library/explosion_medium.json +289 -0
  36. package/library/explosion_small.json +289 -0
  37. package/library/explosion_water.json +177 -0
  38. package/library/falling_leaves.json +54 -0
  39. package/library/fire_burst.json +185 -0
  40. package/library/fire_large.json +279 -0
  41. package/library/fireball.json +288 -0
  42. package/library/fireflies.json +51 -0
  43. package/library/firework_burst.json +127 -0
  44. package/library/footstep.json +270 -0
  45. package/library/fountain_spray.json +80 -0
  46. package/library/frost_burst.json +202 -0
  47. package/library/ground_mist.json +50 -0
  48. package/library/ground_slam.json +122 -0
  49. package/library/heat_haze.json +24 -0
  50. package/library/hit_blade.json +150 -0
  51. package/library/hit_block.json +157 -0
  52. package/library/hit_critical.json +293 -0
  53. package/library/hit_heavy.json +211 -0
  54. package/library/hit_light.json +122 -0
  55. package/library/hit_magic.json +114 -0
  56. package/library/impact.json +417 -0
  57. package/library/impact_heavy.json +279 -0
  58. package/library/index.json +464 -0
  59. package/library/jump_puff.json +46 -0
  60. package/library/landing_heavy.json +105 -0
  61. package/library/landing_puff.json +75 -0
  62. package/library/level_up.json +164 -0
  63. package/library/lightning_arc.json +90 -0
  64. package/library/lightning_strike.json +387 -0
  65. package/library/magic_aura.json +127 -0
  66. package/library/magic_bolt.json +107 -0
  67. package/library/magic_bolt_impact.json +181 -0
  68. package/library/magic_cast.json +115 -0
  69. package/library/magic_charge.json +91 -0
  70. package/library/magic_heal.json +123 -0
  71. package/library/magic_shield.json +89 -0
  72. package/library/magic_teleport.json +177 -0
  73. package/library/mark_bullet_hole.json +20 -0
  74. package/library/mark_crack.json +18 -0
  75. package/library/mark_footprint.json +20 -0
  76. package/library/mark_frost.json +18 -0
  77. package/library/mark_puddle.json +18 -0
  78. package/library/mark_scorch.json +18 -0
  79. package/library/mark_slash.json +18 -0
  80. package/library/mark_splat.json +18 -0
  81. package/library/pickup_collect.json +117 -0
  82. package/library/pickup_glow.json +76 -0
  83. package/library/poison_cloud.json +107 -0
  84. package/library/portal.json +328 -0
  85. package/library/shockwave_air.json +71 -0
  86. package/library/shockwave_ground.json +95 -0
  87. package/library/slide_dust.json +48 -0
  88. package/library/smoke_column.json +93 -0
  89. package/library/smoke_puff.json +48 -0
  90. package/library/smoke_screen.json +87 -0
  91. package/library/sparks_burst.json +85 -0
  92. package/library/sparks_fountain.json +93 -0
  93. package/library/sparks_shower.json +89 -0
  94. package/library/splash_large.json +181 -0
  95. package/library/splash_small.json +111 -0
  96. package/library/steam_vent.json +64 -0
  97. package/library/summon_circle.json +494 -0
  98. package/library/swim_splash.json +77 -0
  99. package/library/torch_flame.json +219 -0
  100. package/library/trail_blade.json +39 -0
  101. package/library/trail_blade_fire.json +90 -0
  102. package/library/trail_dash.json +80 -0
  103. package/library/trail_magic.json +94 -0
  104. package/library/trail_projectile.json +31 -0
  105. package/library/trail_smoke.json +125 -0
  106. package/library/warp_pulse.json +22 -0
  107. package/library/warp_ripple.json +23 -0
  108. package/library/water_ripple.json +69 -0
  109. package/library/waterfall_mist.json +95 -0
  110. package/looks.js +162 -0
  111. package/motion.js +145 -0
  112. package/online.d.ts +79 -0
  113. package/online.js +32 -0
  114. package/package.json +69 -4
  115. package/partners.js +255 -0
  116. package/piece.json +415 -0
  117. package/piece.json.js +416 -0
  118. package/server.d.ts +55 -0
  119. package/server.js +26 -0
  120. package/shapes.js +269 -0
  121. package/sync.js +528 -0
  122. package/tables.js +109 -0
  123. package/weather.js +289 -0
@@ -0,0 +1,106 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "debris_metal",
4
+ "summary": "Metal torn apart: plates and scraps clattering down among sparks.",
5
+ "family": "debris",
6
+ "elements": [
7
+ {
8
+ "element_kind": "debris",
9
+ "material": "metal",
10
+ "count": 10,
11
+ "from_radius_m": 0.3,
12
+ "direction_kind": "along",
13
+ "spread_deg": 65,
14
+ "speed_m_per_sec": 6,
15
+ "speed_variation_pct": 50,
16
+ "size_m": 0.26,
17
+ "size_variation_pct": 50,
18
+ "life_sec": 5,
19
+ "bounce_pct": 50,
20
+ "colors": [
21
+ "#8a9098",
22
+ "#6a7078",
23
+ "#a8aeb4"
24
+ ],
25
+ "spin_deg_per_sec": 700
26
+ },
27
+ {
28
+ "element_kind": "particles",
29
+ "material": "spark",
30
+ "emit": {
31
+ "burst_count": 26
32
+ },
33
+ "move": {
34
+ "direction_kind": "along",
35
+ "speed_m_per_sec": 8,
36
+ "speed_variation_pct": 60,
37
+ "drag_per_sec": 1.2,
38
+ "gravity_pct": 100,
39
+ "spread_deg": 75
40
+ },
41
+ "fade": {
42
+ "life_sec": 0.6,
43
+ "life_variation_pct": 50,
44
+ "size_over_life_m": [
45
+ 0.06,
46
+ 0.025
47
+ ],
48
+ "size_variation_pct": 40,
49
+ "colors_over_life": [
50
+ "#fff6d8",
51
+ "#ffb040",
52
+ "#ff5a10"
53
+ ],
54
+ "opacity_over_life_pct": [
55
+ 100,
56
+ 100,
57
+ 0
58
+ ],
59
+ "glow_pct": 380,
60
+ "facing_kind": "velocity",
61
+ "streak_duration_sec": 0.05
62
+ }
63
+ },
64
+ {
65
+ "element_kind": "particles",
66
+ "material": "glow",
67
+ "emit": {
68
+ "burst_count": 1
69
+ },
70
+ "move": {
71
+ "speed_m_per_sec": 0
72
+ },
73
+ "fade": {
74
+ "life_sec": 0.1,
75
+ "life_variation_pct": 0,
76
+ "size_over_life_m": [
77
+ 0.2,
78
+ 0.9,
79
+ 0.5
80
+ ],
81
+ "size_variation_pct": 0,
82
+ "colors_over_life": [
83
+ "#fff6d0"
84
+ ],
85
+ "opacity_over_life_pct": [
86
+ 100,
87
+ 60,
88
+ 0
89
+ ],
90
+ "glow_pct": 150
91
+ }
92
+ },
93
+ {
94
+ "element_kind": "flash",
95
+ "color": "#ffd090",
96
+ "strength_lux": 10,
97
+ "radius_m": 6,
98
+ "duration_sec": 0.14,
99
+ "strength_over_life_pct": [
100
+ 100,
101
+ 45,
102
+ 0
103
+ ]
104
+ }
105
+ ]
106
+ }
@@ -0,0 +1,106 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "debris_stone",
4
+ "summary": "A wall or a rock breaking: chunks of stone that fly, bounce and come to rest, in a burst of dust.",
5
+ "family": "debris",
6
+ "elements": [
7
+ {
8
+ "element_kind": "debris",
9
+ "material": "stone",
10
+ "count": 18,
11
+ "from_radius_m": 0.4,
12
+ "direction_kind": "along",
13
+ "spread_deg": 60,
14
+ "speed_m_per_sec": 5.5,
15
+ "speed_variation_pct": 50,
16
+ "size_m": 0.18,
17
+ "size_variation_pct": 60,
18
+ "life_sec": 5,
19
+ "colors": [
20
+ "#8a857c",
21
+ "#6c6862",
22
+ "#a39c92"
23
+ ],
24
+ "bounce_effect_name": "dust_puff"
25
+ },
26
+ {
27
+ "element_kind": "particles",
28
+ "material": "dust",
29
+ "emit": {
30
+ "burst_count": 10,
31
+ "from_kind": "sphere",
32
+ "from_radius_m": 0.4
33
+ },
34
+ "move": {
35
+ "direction_kind": "outward",
36
+ "speed_m_per_sec": 2.6,
37
+ "speed_variation_pct": 45,
38
+ "drag_per_sec": 2.5,
39
+ "gravity_pct": -4,
40
+ "wind_pct": 100,
41
+ "turbulence_m": 0.3,
42
+ "turbulence_per_sec": 0.8
43
+ },
44
+ "fade": {
45
+ "life_sec": 1.4,
46
+ "life_variation_pct": 30,
47
+ "size_over_life_m": [
48
+ 0.4,
49
+ 1.2,
50
+ 1.6
51
+ ],
52
+ "size_variation_pct": 30,
53
+ "colors_over_life": [
54
+ "#b0aaa0",
55
+ "#c8c2b8"
56
+ ],
57
+ "opacity_over_life_pct": [
58
+ 0,
59
+ 60,
60
+ 30,
61
+ 0
62
+ ],
63
+ "spin_deg_per_sec": 25
64
+ }
65
+ },
66
+ {
67
+ "element_kind": "particles",
68
+ "material": "stone",
69
+ "emit": {
70
+ "burst_count": 24,
71
+ "from_kind": "sphere",
72
+ "from_radius_m": 0.3
73
+ },
74
+ "move": {
75
+ "direction_kind": "along",
76
+ "spread_deg": 70,
77
+ "speed_m_per_sec": 6,
78
+ "speed_variation_pct": 60,
79
+ "gravity_pct": 100
80
+ },
81
+ "fade": {
82
+ "life_sec": 0.9,
83
+ "size_over_life_m": [
84
+ 0.05,
85
+ 0.04
86
+ ],
87
+ "size_variation_pct": 60,
88
+ "colors_over_life": [
89
+ "#9a948a"
90
+ ],
91
+ "opacity_over_life_pct": [
92
+ 100,
93
+ 100,
94
+ 0
95
+ ],
96
+ "spin_deg_per_sec": 600
97
+ }
98
+ },
99
+ {
100
+ "element_kind": "shake",
101
+ "strength_pct": 14,
102
+ "duration_sec": 0.2,
103
+ "radius_m": 10
104
+ }
105
+ ]
106
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "debris_wood",
4
+ "summary": "A crate or a door smashed: planks and splinters flying, with a little dust.",
5
+ "family": "debris",
6
+ "elements": [
7
+ {
8
+ "element_kind": "debris",
9
+ "material": "wood",
10
+ "count": 14,
11
+ "from_radius_m": 0.4,
12
+ "direction_kind": "along",
13
+ "spread_deg": 70,
14
+ "speed_m_per_sec": 5,
15
+ "speed_variation_pct": 50,
16
+ "size_m": 0.34,
17
+ "size_variation_pct": 50,
18
+ "life_sec": 5,
19
+ "bounce_pct": 30,
20
+ "colors": [
21
+ "#a07a4a",
22
+ "#8a6238",
23
+ "#b89060"
24
+ ],
25
+ "spin_deg_per_sec": 500
26
+ },
27
+ {
28
+ "element_kind": "particles",
29
+ "material": "wood",
30
+ "emit": {
31
+ "burst_count": 26,
32
+ "from_kind": "sphere",
33
+ "from_radius_m": 0.3
34
+ },
35
+ "move": {
36
+ "direction_kind": "along",
37
+ "spread_deg": 80,
38
+ "speed_m_per_sec": 5.5,
39
+ "speed_variation_pct": 60,
40
+ "gravity_pct": 100,
41
+ "drag_per_sec": 0.8
42
+ },
43
+ "fade": {
44
+ "life_sec": 0.9,
45
+ "size_over_life_m": [
46
+ 0.09,
47
+ 0.08
48
+ ],
49
+ "size_variation_pct": 60,
50
+ "colors_over_life": [
51
+ "#b89060"
52
+ ],
53
+ "opacity_over_life_pct": [
54
+ 100,
55
+ 100,
56
+ 0
57
+ ],
58
+ "spin_deg_per_sec": 700
59
+ }
60
+ },
61
+ {
62
+ "element_kind": "particles",
63
+ "material": "dust",
64
+ "emit": {
65
+ "burst_count": 6,
66
+ "from_kind": "sphere",
67
+ "from_radius_m": 0.3
68
+ },
69
+ "move": {
70
+ "direction_kind": "outward",
71
+ "speed_m_per_sec": 1.8,
72
+ "speed_variation_pct": 45,
73
+ "drag_per_sec": 2.5,
74
+ "gravity_pct": -4,
75
+ "wind_pct": 100,
76
+ "turbulence_m": 0.3,
77
+ "turbulence_per_sec": 0.8
78
+ },
79
+ "fade": {
80
+ "life_sec": 1,
81
+ "life_variation_pct": 30,
82
+ "size_over_life_m": [
83
+ 0.3,
84
+ 0.9,
85
+ 1.2
86
+ ],
87
+ "size_variation_pct": 30,
88
+ "colors_over_life": [
89
+ "#c8b090",
90
+ "#d8c8b0"
91
+ ],
92
+ "opacity_over_life_pct": [
93
+ 0,
94
+ 45,
95
+ 0
96
+ ],
97
+ "spin_deg_per_sec": 25
98
+ }
99
+ }
100
+ ]
101
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "dust_motes",
4
+ "summary": "Specks of dust hanging in still air, catching the light: a barn, a tomb, a sunbeam.",
5
+ "family": "ambient",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "importance": "low",
9
+ "elements": [
10
+ {
11
+ "element_kind": "particles",
12
+ "material": "dust",
13
+ "emit": {
14
+ "per_sec": 22,
15
+ "from_kind": "box",
16
+ "from_size_m": [
17
+ 6,
18
+ 3,
19
+ 6
20
+ ]
21
+ },
22
+ "move": {
23
+ "direction_kind": "random",
24
+ "speed_m_per_sec": 0.04,
25
+ "turbulence_m": 0.3,
26
+ "turbulence_per_sec": 0.2,
27
+ "wind_pct": 20
28
+ },
29
+ "fade": {
30
+ "life_sec": 7,
31
+ "life_variation_pct": 30,
32
+ "size_over_life_m": [
33
+ 0.014,
34
+ 0.02
35
+ ],
36
+ "size_variation_pct": 50,
37
+ "colors_over_life": [
38
+ "#fff4d8"
39
+ ],
40
+ "opacity_over_life_pct": [
41
+ 0,
42
+ 55,
43
+ 55,
44
+ 0
45
+ ],
46
+ "glow_pct": 180
47
+ },
48
+ "shape": "soft"
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "dust_puff",
4
+ "summary": "One small puff of dust: where a bit of rubble lands, a door slams, something is set down.",
5
+ "family": "smoke",
6
+ "importance": "low",
7
+ "elements": [
8
+ {
9
+ "element_kind": "particles",
10
+ "material": "dust",
11
+ "emit": {
12
+ "burst_count": 4,
13
+ "from_kind": "sphere",
14
+ "from_radius_m": 0.05
15
+ },
16
+ "move": {
17
+ "direction_kind": "along",
18
+ "speed_m_per_sec": 0.9,
19
+ "speed_variation_pct": 45,
20
+ "drag_per_sec": 3,
21
+ "gravity_pct": -4,
22
+ "wind_pct": 100,
23
+ "turbulence_m": 0.3,
24
+ "turbulence_per_sec": 0.8,
25
+ "spread_deg": 70
26
+ },
27
+ "fade": {
28
+ "life_sec": 0.6,
29
+ "life_variation_pct": 30,
30
+ "size_over_life_m": [
31
+ 0.1,
32
+ 0.35,
33
+ 0.45
34
+ ],
35
+ "size_variation_pct": 30,
36
+ "colors_over_life": [
37
+ "#c8b498",
38
+ "#d8c8b0"
39
+ ],
40
+ "opacity_over_life_pct": [
41
+ 0,
42
+ 45,
43
+ 0
44
+ ],
45
+ "spin_deg_per_sec": 25
46
+ }
47
+ }
48
+ ]
49
+ }
@@ -0,0 +1,175 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "electric_sparks",
4
+ "summary": "Electricity crackling at one spot: short jagged arcs that strike out every way, a hot white core and a few sparks.",
5
+ "family": "sparks",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "elements": [
9
+ {
10
+ "element_kind": "beam",
11
+ "segment_count": 7,
12
+ "jitter_m": 0.07,
13
+ "spread_deg": 115,
14
+ "tip_width_pct": 15,
15
+ "colors_over_life": [
16
+ "#e4eeff",
17
+ "#80b0ff",
18
+ "#e4eeff"
19
+ ],
20
+ "glow_pct": 440,
21
+ "life_sec": 1,
22
+ "width_m": 0.05,
23
+ "reach_m": 0.7,
24
+ "rejitter_per_sec": 18,
25
+ "opacity_over_life_pct": [
26
+ 100,
27
+ 50,
28
+ 100,
29
+ 70
30
+ ]
31
+ },
32
+ {
33
+ "element_kind": "beam",
34
+ "segment_count": 7,
35
+ "jitter_m": 0.07,
36
+ "spread_deg": 115,
37
+ "tip_width_pct": 15,
38
+ "colors_over_life": [
39
+ "#e4eeff",
40
+ "#80b0ff",
41
+ "#e4eeff"
42
+ ],
43
+ "glow_pct": 440,
44
+ "life_sec": 0.4,
45
+ "start_delay_sec": 0.1,
46
+ "width_m": 0.04,
47
+ "reach_m": 0.55,
48
+ "rejitter_per_sec": 24,
49
+ "opacity_over_life_pct": [
50
+ 100,
51
+ 100,
52
+ 0
53
+ ]
54
+ },
55
+ {
56
+ "element_kind": "beam",
57
+ "segment_count": 7,
58
+ "jitter_m": 0.07,
59
+ "spread_deg": 115,
60
+ "tip_width_pct": 15,
61
+ "colors_over_life": [
62
+ "#e4eeff",
63
+ "#80b0ff",
64
+ "#e4eeff"
65
+ ],
66
+ "glow_pct": 440,
67
+ "life_sec": 0.45,
68
+ "start_delay_sec": 0.5,
69
+ "width_m": 0.04,
70
+ "reach_m": 0.6,
71
+ "rejitter_per_sec": 22,
72
+ "opacity_over_life_pct": [
73
+ 100,
74
+ 80,
75
+ 0
76
+ ]
77
+ },
78
+ {
79
+ "element_kind": "beam",
80
+ "segment_count": 10,
81
+ "jitter_m": 0.12,
82
+ "spread_deg": 115,
83
+ "tip_width_pct": 15,
84
+ "colors_over_life": [
85
+ "#e4eeff",
86
+ "#80b0ff",
87
+ "#e4eeff"
88
+ ],
89
+ "glow_pct": 440,
90
+ "life_sec": 0.12,
91
+ "start_delay_sec": 0.78,
92
+ "width_m": 0.03,
93
+ "reach_m": 1.2,
94
+ "rejitter_per_sec": 30,
95
+ "opacity_over_life_pct": [
96
+ 100,
97
+ 100
98
+ ]
99
+ },
100
+ {
101
+ "element_kind": "particles",
102
+ "material": "glow",
103
+ "emit": {
104
+ "per_sec": 30
105
+ },
106
+ "move": {
107
+ "speed_m_per_sec": 0,
108
+ "is_attached": true
109
+ },
110
+ "fade": {
111
+ "life_sec": 0.06,
112
+ "life_variation_pct": 40,
113
+ "size_over_life_m": [
114
+ 0.3,
115
+ 0.45
116
+ ],
117
+ "size_variation_pct": 40,
118
+ "colors_over_life": [
119
+ "#ffffff",
120
+ "#a8ccff"
121
+ ],
122
+ "opacity_over_life_pct": [
123
+ 100,
124
+ 0
125
+ ],
126
+ "glow_pct": 320
127
+ }
128
+ },
129
+ {
130
+ "element_kind": "particles",
131
+ "material": "spark",
132
+ "emit": {
133
+ "per_sec": 18
134
+ },
135
+ "move": {
136
+ "direction_kind": "random",
137
+ "speed_m_per_sec": 2.8,
138
+ "speed_variation_pct": 60,
139
+ "gravity_pct": 80,
140
+ "drag_per_sec": 2
141
+ },
142
+ "fade": {
143
+ "life_sec": 0.3,
144
+ "life_variation_pct": 50,
145
+ "size_over_life_m": [
146
+ 0.035,
147
+ 0.018
148
+ ],
149
+ "colors_over_life": [
150
+ "#ffffff",
151
+ "#a0c8ff"
152
+ ],
153
+ "opacity_over_life_pct": [
154
+ 100,
155
+ 0
156
+ ],
157
+ "glow_pct": 380,
158
+ "facing_kind": "velocity",
159
+ "streak_duration_sec": 0.04
160
+ }
161
+ },
162
+ {
163
+ "element_kind": "flash",
164
+ "color": "#a8c8ff",
165
+ "strength_lux": 9,
166
+ "radius_m": 5,
167
+ "duration_sec": 1,
168
+ "strength_over_life_pct": [
169
+ 100,
170
+ 100
171
+ ],
172
+ "flicker_pct": 80
173
+ }
174
+ ]
175
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "embers_drift",
4
+ "summary": "Embers floating up across an area: the air over a fire, a burning land, a forge.",
5
+ "family": "ambient",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "importance": "low",
9
+ "elements": [
10
+ {
11
+ "element_kind": "particles",
12
+ "material": "ember",
13
+ "emit": {
14
+ "per_sec": 14,
15
+ "from_kind": "box",
16
+ "from_size_m": [
17
+ 9,
18
+ 1.5,
19
+ 9
20
+ ]
21
+ },
22
+ "move": {
23
+ "direction_kind": "up",
24
+ "spread_deg": 30,
25
+ "speed_m_per_sec": 0.5,
26
+ "speed_variation_pct": 60,
27
+ "gravity_pct": -3,
28
+ "turbulence_m": 0.9,
29
+ "turbulence_per_sec": 0.6,
30
+ "wind_pct": 100
31
+ },
32
+ "fade": {
33
+ "life_sec": 5,
34
+ "life_variation_pct": 40,
35
+ "size_over_life_m": [
36
+ 0.05,
37
+ 0.07,
38
+ 0.03
39
+ ],
40
+ "colors_over_life": [
41
+ "#ffd070",
42
+ "#ff6a1a",
43
+ "#902008"
44
+ ],
45
+ "opacity_over_life_pct": [
46
+ 0,
47
+ 100,
48
+ 100,
49
+ 0
50
+ ],
51
+ "glow_pct": 320
52
+ }
53
+ }
54
+ ]
55
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "effect_format_version_number": 1,
3
+ "name": "exhaust_puff",
4
+ "summary": "Exhaust along its direction: an engine, a thruster idling. Grey puffs and heat.",
5
+ "family": "smoke",
6
+ "is_looping": true,
7
+ "duration_sec": 1,
8
+ "importance": "low",
9
+ "elements": [
10
+ {
11
+ "element_kind": "particles",
12
+ "material": "smoke",
13
+ "emit": {
14
+ "per_sec": 18
15
+ },
16
+ "move": {
17
+ "direction_kind": "along",
18
+ "spread_deg": 8,
19
+ "speed_m_per_sec": 3,
20
+ "speed_variation_pct": 30,
21
+ "drag_per_sec": 2.5,
22
+ "gravity_pct": -5,
23
+ "wind_pct": 100
24
+ },
25
+ "fade": {
26
+ "life_sec": 0.7,
27
+ "life_variation_pct": 30,
28
+ "size_over_life_m": [
29
+ 0.1,
30
+ 0.4,
31
+ 0.55
32
+ ],
33
+ "size_variation_pct": 30,
34
+ "colors_over_life": [
35
+ "#4a4642",
36
+ "#6a6662",
37
+ "#8a8682"
38
+ ],
39
+ "opacity_over_life_pct": [
40
+ 0,
41
+ 40,
42
+ 0
43
+ ],
44
+ "spin_deg_per_sec": 40
45
+ }
46
+ },
47
+ {
48
+ "element_kind": "warp",
49
+ "warp_kind": "haze",
50
+ "life_sec": 1,
51
+ "radius_over_life_m": [
52
+ 0.4,
53
+ 0.4
54
+ ],
55
+ "strength_over_life_pct": [
56
+ 30,
57
+ 30
58
+ ],
59
+ "minimum_quality_level": "medium"
60
+ }
61
+ ]
62
+ }