metadata
Okay thanks to the suggestion from Danny\_Phantom\_ I figured out how to make “boundaries” and I thought I’d share my code with others in case they need some direction.
The code below makes it so that if the OBJECT goes beyond the 600 range width of the stage, then the OBJECT is “teleported” back to the position of 600, making it impossible to ever really go pass the 600 range width.
if (\_x \> 600)
{
\_x = 600
}
|