I tried the projectile prototype but it's shaking like wild.
Any idea?
Code: Select all
{
type = "projectile",
name = "explosion-1",
flags = {"not-on-map","placeable-off-grid"},
--collision_box = {{-0.05, -0.25}, {0.05, 0.25}},
acceleration = 0,
direction_only = true, -- tire nao persegue -- tiro reto
rotatable = true,
action =
{
type = "direct",
action_delivery =
{
type = "instant",
target_effects =
{
{
type = "damage",
damage = {amount = 50 , type = "electric"}
}
}
}
},
animation =
{
filename = "__explosions__/graphics/1.png",
width = 409,
height = 343,
frame_count = 25,
line_length = 5,
animation_speed = 0.4,
scale = 1.2,
},
light = {intensity = 0.6, size = 10,color=blue},
speed = 0
}