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

19 lines
314 B
Plaintext
Executable File

if active
{
score += 10
life -= 1
iii = instance_create(x+125,y+100,obj_deathparticle)
with (iii)
{
speed = random(7)
direction = random(360)
}
if life < 0
{
instance_destroy()
sound_play(snd_bossdead)
score += 10000
}
}