B
BubbleMage123
Guest
Hello! I've been working with a glitch in my game where the characters get stuck in each other, which looks like this:
After some testing, I found that it related to the clamp code I have:
So my question is: Is there an alternative to clamping the room or manually outlining the room in solid blocks?
I looked online and didn't find much help Any help is appreciated, even if there's a reference to somewhere else. Thanks!
After some testing, I found that it related to the clamp code I have:
Code:
x=clamp(x, 0, room_width);
y=clamp(y, 0, room_height);
I looked online and didn't find much help Any help is appreciated, even if there's a reference to somewhere else. Thanks!
Last edited by a moderator: