> Type #1: Tile-based (pure) > Character movement is limited to tiles, so you can never stand halfway between two tiles. […] > Examples: Prince of Persia That is absolutely false. You can stand on any pixel in Prince of Persia. It’s when I find stupid errors like these that I start to question the entire article they appear in.
As I remember, when you step slowly from the middle of a tile, you always end up on the edge of that tile. And if there is a chasm and you try to step once again, you almost trip and regain balance. If there is no chasm, you step to the middle of the next tile.
Re: Guide to implementing 2D platformers (2012)
#11IIRC, you can adjust your position quite precisely by crouching, which has a side effect of making you move forward a tiny little bit. Yes, stepping towards a chasm will make you stop at the edge, but that does not alter the fact that your position is definitely not clipped to fixed steps, as the article erroneously claims.