With this (otherwise perfect for me) script you are able to move through walls occasionally.
If the speed is lower than 256, the player can move through walls easily, but even at 256 the player can still move through walls. Is it possible to make the collision detector always position itself before the player moves to it?
I hate to bump the topic, but I have a sticking point in my game because I do not want there to be a bug where player can run through walls, and I need grid based smooth movement.
If you turn on the visibility of the green sprite, collision detector, you can plainly see how the character moves faster than the detector sprite allowing you to at times enter the collision object (wall). Is there any work around for this?
It's easier to reproduce if you lower the speed variable, but even at 256 you can still at times move through walls.Greg2012-08-10 01:27:03