2024-01-05 12:09:59 -08:00
|
|
|
[effect."small explosion"]
|
2024-01-23 18:44:32 -08:00
|
|
|
sprite = "effect::explosion::small"
|
2024-01-05 12:09:59 -08:00
|
|
|
lifetime = "inherit"
|
|
|
|
inherit_velocity = "target"
|
2024-01-05 18:04:30 -08:00
|
|
|
size = 8.0
|
2024-01-06 16:01:02 -08:00
|
|
|
size_rng = 1.6
|
|
|
|
angle_rng = 360
|
|
|
|
velocity_scale_parent = 1.0
|
2024-01-07 12:15:34 -08:00
|
|
|
fade = 0.2
|
|
|
|
fade_rng = 0.1
|
2024-01-06 16:01:02 -08:00
|
|
|
|
2024-01-05 18:04:30 -08:00
|
|
|
|
|
|
|
[effect."large explosion"]
|
2024-01-23 18:44:32 -08:00
|
|
|
sprite = "effect::explosion::large"
|
2024-01-05 18:04:30 -08:00
|
|
|
lifetime = "inherit"
|
|
|
|
inherit_velocity = "target"
|
|
|
|
size = 25.0
|
2024-01-06 16:01:02 -08:00
|
|
|
size_rng = 5.0
|
|
|
|
angle_rng = 360
|
|
|
|
velocity_scale_parent = 1.0
|
2024-01-07 12:15:34 -08:00
|
|
|
fade = 0.2
|
|
|
|
fade_rng = 0.1
|
2024-01-06 16:01:02 -08:00
|
|
|
|
2024-01-05 12:09:59 -08:00
|
|
|
|
|
|
|
[effect."huge explosion"]
|
2024-01-23 18:44:32 -08:00
|
|
|
sprite = "effect::explosion::huge"
|
2024-01-05 12:09:59 -08:00
|
|
|
lifetime = "inherit"
|
|
|
|
inherit_velocity = "target"
|
2024-01-05 18:04:30 -08:00
|
|
|
size = 50.0
|
2024-01-06 16:01:02 -08:00
|
|
|
size_rng = 10.0
|
|
|
|
angle_rng = 360
|
|
|
|
velocity_scale_parent = 1.0
|
2024-01-07 12:15:34 -08:00
|
|
|
fade = 0.2
|
|
|
|
fade_rng = 0.1
|
|
|
|
|
|
|
|
|
|
|
|
[effect."blue spark"]
|
2024-01-23 18:44:32 -08:00
|
|
|
sprite = "effect::spark::blue"
|
2024-01-07 12:15:34 -08:00
|
|
|
lifetime = 0.5
|
|
|
|
lifetime_rng = 0.5
|
|
|
|
inherit_velocity = "parent"
|
|
|
|
size = 4.0
|
|
|
|
size_rng = 2.0
|
|
|
|
angle_rng = 360
|
|
|
|
angvel_rng = 0.0
|
|
|
|
velocity_scale_parent = 1.0
|
|
|
|
fade = 0.2
|
|
|
|
fade_rng = 0.1
|
|
|
|
|
|
|
|
[effect."yellow spark"]
|
2024-01-23 18:44:32 -08:00
|
|
|
sprite = "effect::spark::yellow"
|
2024-01-07 12:15:34 -08:00
|
|
|
lifetime = "inherit"
|
|
|
|
inherit_velocity = "parent"
|
|
|
|
size = 4.0
|
|
|
|
size_rng = 2.0
|
|
|
|
angle_rng = 360
|
|
|
|
angvel_rng = 0.0
|
|
|
|
velocity_scale_parent = 1.0
|
|
|
|
fade = 0.2
|
|
|
|
fade_rng = 0.1
|
|
|
|
|
|
|
|
[effect."red spark"]
|
2024-01-23 18:44:32 -08:00
|
|
|
sprite = "effect::spark::red"
|
2024-01-07 12:15:34 -08:00
|
|
|
lifetime = "inherit"
|
|
|
|
inherit_velocity = "parent"
|
|
|
|
size = 4.0
|
|
|
|
size_rng = 1.0
|
|
|
|
angle_rng = 360
|
|
|
|
angvel_rng = 0.0
|
|
|
|
velocity_scale_parent = 1.0
|
|
|
|
fade = 0.2
|
|
|
|
fade_rng = 0.1
|
2024-01-06 16:01:02 -08:00
|
|
|
|
2024-01-05 12:09:59 -08:00
|
|
|
|
2024-01-06 16:01:02 -08:00
|
|
|
# Every effect has a parent, some effects have a target
|
2024-01-05 19:56:32 -08:00
|
|
|
[effect."blaster impact"]
|
2024-01-23 18:44:32 -08:00
|
|
|
sprite = "effect::blaster"
|
|
|
|
lifetime = "inherit" # number in seconds or inherit from sprite
|
|
|
|
lifetime_rng = 0.0 # Random variation of lifetime (up to this value)
|
2024-01-06 16:01:02 -08:00
|
|
|
|
|
|
|
size = 3.0 # sprite size, in game units
|
|
|
|
size_rng = 1.0 # random size variation
|
|
|
|
|
2024-01-07 12:39:03 -08:00
|
|
|
angle = 0.0 # absolute starting angle. always added to parent angle.
|
|
|
|
angle_rng = 0.0 # Starting angle randomness (up to this value)
|
2024-01-06 16:01:02 -08:00
|
|
|
|
|
|
|
# Does not affect velocity, only sprite angle
|
|
|
|
angvel_rng = 0.0 # Angvel randomness, applied to angvel
|
|
|
|
angvel = 0.0 # Angular velocity at creation
|
|
|
|
|
|
|
|
|
|
|
|
# Total velocity is sum of parent + target velocities with scale applied
|
|
|
|
velocity_scale_parent = 0.0 # Multiply velocity by this value
|
|
|
|
velocity_scale_parent_rng = 0.0 # random variation of scale
|
|
|
|
velocity_scale_target = 1.0
|
|
|
|
velocity_scale_target_rng = 1.0
|
|
|
|
|
2024-01-07 12:39:03 -08:00
|
|
|
direction_rng = 0.0 # Random variation of travel direction, in degrees, applied to velocity vector (/2 each side?)
|
2024-01-05 12:09:59 -08:00
|
|
|
|
2024-01-07 12:15:34 -08:00
|
|
|
fade = 0.2
|
|
|
|
fade_rng = 0.1
|
2024-01-05 12:09:59 -08:00
|
|
|
|
|
|
|
# TODO:
|
|
|
|
# effect probabilities & variants
|
2024-01-06 16:01:02 -08:00
|
|
|
# sprite lifetime/fps variation (and effects inherit lifetime later)
|