Code: Select all
data:extend({
{
type = "particle",
name = "alien-explosion",
flags = {},
life_time = 150,
pictures = {
{
filename = "__F-mod__/resources/particles/alien-explosion.png",
priority = "extra-high",
frame_width = 91,
frame_height = 45,
frame_count = 13,
},
},
shadows = {
{
filename = "__F-mod__/resources/particles/blank.png",
priority = "extra-high",
frame_width = 91,
frame_height = 45,
frame_count = 12,
},
}
},
})
Im using this command on the console:
game.createentity({position=game.player.character.getselected().position,name="alien-explosion",movement={0,0},frame_speed=2,vertical_speed=0,height=0})
The animation stops at a frame (different deppending on the frame_speed), what can I do to make it look good? D:
Also, my game randomly crashes when using that command :S