D
Deleted member 22576
Unconfirmed Member
Code:
Create Event:
set the horizontal speed to -6
Step Event:
if x is less than 0
jump to position (705,random(room_height))
Howdy everyone. So here is what I want to do.
So I'm making a scrolling shooter, and using the code above I now have my objects scroll along with the background and reset at a random position on the Y-axis so they can scroll back along and give the appearance of motion. I'm sure you're all familiar with this concept.
Well it works fine, but I just realized that on the top and bottom of my room/screen is a border texture that I don't want objects to appear on top of.
So I guess I want something like (705,random(but only in between coordinates 64 and 384))
But I'm assuming thats not going to work as is..