I’m working on some collision within my game. It’s basic, but it works. I have some code so that when the character moves left or right, the sprite flips on the horizontal axis. It works, but when you go up to a wall and press “D,” you get stuck in the wall. For reference, I added a picture of my movement and collision code with the bug itself.
#Help with collisions
1 messages · Page 1 of 1 (latest)
Check the origin of your sprite