ludum-dare-22/objects/obj_meteormed/Destroy_0.gml

14 lines
286 B
Plaintext
Raw Normal View History

global.kills += 1
if global.kills >= 10*(global.mult+1)
{
global.kills = 0
global.mult += 1
global.mesmult = 20
sound_play(snd_multiplierup)
}
global.scores += 50*global.mult
repeat (3)
instance_create(x,y,obj_meteorsmall)
sound_play(snd_enemyexplode)