ludum-dare-23/objects/obj_mook/Collision_obj_shot.gml

14 lines
222 B
Plaintext

score += 250
sound_play(snd_enemyhit)
repeat(10)
{
iii = instance_create(x,y,obj_deathparticle)
with(iii)
{
speed = random(4)
direction = random(360)
}
}
instance_destroy()