Untitled

 avatar
unknown
plain_text
3 years ago
398 B
16
Indexable
if(room == rm_play) {
    if !alarm[0] {
        alarm[0] = 4 * room_speed;

        repeat(6) {
            var xx = choose(irandom_range(0,room_width*0.3), irandom_range(room_width*0.7, room_width);

            var yy = choose(irandom_range(0,room_height\*0.3), irandom_range(room_height*0.7, room_height);
            instance_create_layer(xx, yy, "Instances", o_EnemyBoi);
        };
    };
};
Editor is loading...