A
Artwark
Guest
So I have two powerups that spawn randomly and this is how they are spawned
Create Event
The problem with this is that they spawn near the edges and halfway outside the room and they also spawn at the score and pause menu which is disorienting.
I want it so that they will spawn only at these points but its random. How do I do this?
Create Event
Code:
randomize();
instance_create(irandom_range(50,room_width),irandom_range(50,room_height),obj_shield);
randomize();
instance_create(irandom_range(50,room_width),irandom_range(50,room_height),obj_powerup);
I want it so that they will spawn only at these points but its random. How do I do this?