Bob Thulfram
What do you mean by overshoot a corner when moving? You overlap a wall? If you do I'd like to see a screenshot 'cause in my mind that's pretty unlikely.
Also what do you mean by "360 degree vector with angles" ?
Sorry for not being clear. What I'm trying to say is that when I press an arrow key, I want the red square to move 32 pixels and then stop, wait, and then see if the same arrow key is still being pressed. I want to do this so I move square by square, and make it easy to change direction while keeping on the grid. I've noticed that if I hold down the key too long, the red square can overshoot the right or left turn I wanted to make. Maybe it is just a subtle timing issue.
I'll think about it a bit more and play with the code. I want to emphasize that this is really helpful code and should be the first part of a tutorial on how to make maze games (I haven't found one yet).
What also fascinates me is that a sprite isn't constricted to move in one of 8 directions. But I guess the grid restricts me to one of four directions, right.
Again, thanks, Yann, and I'm very grateful you took the time to share a code sample that illuminates the unique way that Construct works.