ludum-dare-22/objects/obj_player/Mouse_50.gml

15 lines
294 B
Plaintext

global.sups = pointsdirection + 180 + random(20)-10
repeat (3)
{
var iii = instance_create(x + 30*cos(global.sups),y - 30*sin(global.sups),obj_card)
with (iii)
{
direction = global.sups
speed = 20
z = 30
}
}
sound_play(snd_playershoot)