Hello, I have a 256x256 barrier obj that appears ontop of the player. How would I make it so that nothing can get in or out. I was thinking of spawning dense turfs or objects around what the perimeter would be, but I thought that there would be an easier way. I have tried bound_width and bound_height to no success.
Copyright © 2024 BYOND Software.
All rights reserved.
With pixel movement, Cross() and Uncross() are the things to use. However, Uncross() only applies to cases when a movable will be stepping out of bounds completely, not when it's stepping partially out. So you might want one obj that's the outer barrier and disallows Cross(), and another slightly smaller one that's the inner barrier and disallows Uncross().