kubrubik GML |
1 | speed = 5; image_angle = 180; sprite_index = sRIP; room_goto(Room2); instance_destroy(other); randomize(); direction = irandom_range(45, 135); var bullet = instance_create_layer(x, y, layer, oLaser); effect_create_above(ef_explosion, x, y, 2, c_yellow); for (i = 0; i < N; i++) sum += i; tick = tick + 1; if tick mod 30 == 0 y += vmove; dist = point_distance(x, y, oHero.x, oHero.y). |
Комментарии