Pfap
Member
I've been trying to come up with a way to make a screen wrapper much like gml's built in function.
Except, I want to wrap instances in a defined area on screen. I figured I could just snap the instance to the other side of the screen, but it feels jarring. In the past I've done stuff with a wall_obj at a higher depth that the instance I want to wrap can hide behind before getting snapped, but it feels hacky and in my current project just creates a bit of an eye sore. I'm sure I'll think of something, but does anybody have any suggestions?
Code:
move_wrap(hor, vert, margin);