For a maze implemented with a tile map where the paths are the same size as the sprite there’s some unpredictable behaviour with trying to move the sprite down turnings. I’ve demonstrated this in this video (animated gif). A lot of the time I can make the turn by holding down the turn direction key and walking past it (effectively using a diagonal) but this doesn’t always work and sometimes many attempts fail. When I’m having trouble manoeuvring I press
A to indicate this with
Denied! message. This is the beta beta simulator (
Watching the D-pad closely reveals which keys I am pressing in the simulator.
Here’s the code:
I expanded the
move with buttons block to show the default speed. I tried that at
40,40 and it appeared to improve the ability to navigate around the maze which suggests the discrete nature of the movement may be causing this. I don’t know if this is a bug or a feature but it’s certainly a potential cause of frustrating gameplay and difficult to explain to novice programmers.
What’s the best workaround here? Reduce the size of the player sprite slightly?