[effect."small explosion"] sprite = "effect::explosion::small" lifetime = "inherit" inherit_velocity = "target" size = 8.0 size_rng = 1.6 angle_rng = 360 velocity_scale_parent = 1.0 fade = 0.2 fade_rng = 0.1 [effect."large explosion"] sprite = "effect::explosion::large" lifetime = "inherit" inherit_velocity = "target" size = 25.0 size_rng = 5.0 angle_rng = 360 velocity_scale_parent = 1.0 fade = 0.2 fade_rng = 0.1 [effect."huge explosion"] sprite = "effect::explosion::huge" lifetime = "inherit" inherit_velocity = "target" size = 50.0 size_rng = 10.0 angle_rng = 360 velocity_scale_parent = 1.0 fade = 0.2 fade_rng = 0.1 [effect."blue spark"] sprite = "effect::spark::blue" 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"] sprite = "effect::spark::yellow" 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"] sprite = "effect::spark::red" 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 # Every effect has a parent, some effects have a target [effect."blaster impact"] sprite = "effect::blaster" lifetime = "inherit" # number in seconds or inherit from sprite lifetime_rng = 0.0 # Random variation of lifetime (up to this value) size = 3.0 # sprite size, in game units size_rng = 1.0 # random size variation angle = 0.0 # absolute starting angle. always added to parent angle. angle_rng = 0.0 # Starting angle randomness (up to this value) # 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 direction_rng = 0.0 # Random variation of travel direction, in degrees, applied to velocity vector (/2 each side?) fade = 0.2 fade_rng = 0.1 # TODO: # effect probabilities & variants # sprite lifetime/fps variation (and effects inherit lifetime later)