TRP
Member
Hi there!
Having a bit of trouble making objects appear only in a certain area. Like below image
I'm using this:
instance_create_layer(random(room_width -500),random(room_height -500),"Instances",obj_enemy);
They create but everywhere. Even at the very edges of the room. I'm obviously missing something.
Thanks for any help!
Having a bit of trouble making objects appear only in a certain area. Like below image
I'm using this:
instance_create_layer(random(room_width -500),random(room_height -500),"Instances",obj_enemy);
They create but everywhere. Even at the very edges of the room. I'm obviously missing something.
Thanks for any help!