Hello everyone, I am trying to make a sliding puzzle type game where you move a set number of tiles for each step, depending on the level, and have to reach the goal. I'm using the Move To behaviour to make the player move in a tile-based level using: Player.X + 128 * MaxSteps. 128 being the tile size. I'm using "stop at solid" to prevent it from going past walls.
This works just fine at first, but the issue is that it frequently gets stuck when in contact with a wall. It doesn't even seem consistent, with it getting stuck in different walls every playtest, which makes it even more confusing to me. I have linked the project file below. I'd appreciate any help or any suggestions if there's a better way to achieve this movement with something other than MoveTo 😊 Thank you!
drive.google.com/file/d/1h3WSVpXjdOQmAWIC-_ul6njWpsTGuRQT/view