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

14 lines
285 B
Plaintext

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 += 100*global.mult
repeat (3)
instance_create(x,y,obj_meteormed)
sound_play(snd_enemyexplode)