ludum-dare-23/objects/obj_girl/Collision_obj_enemy.gml

17 lines
314 B
Plaintext
Executable File

if global.girlinvuln < 0
{
global.girlhp -= 1
global.girlinvuln = 150
sound_play(snd_playerhit)
repeat (25)
{
iii = instance_create(x,y,obj_deathparticle)
with (iii)
{
speed = random(4) + 1
direction = random(360)
}
}
}