H
Holy Moly
Guest
I need to make enemies stay in their start position when out of view, and when their start point is not visible; so the player doesen't see enemies "magically" spawning in the same place every time they leave the screen. This is what I already have:
outside view 0 event:
For some reason, the enemy jumps to start, even when it's start position is inside of view. I need them to do this only if their start position is out of view, so it doesn't look strange...
outside view 0 event:
Code:
if (xstart < view_xview) || (ystart > view_yview) ||
(xstart > view_xview + view_wview) ||
(ystart > view_yview + view_hview) {
x = xstart;
y = ystart;
}