I've noticed a strange bug with the Platform Movement Object when running on an iOS device (tested on iPod Touch 4th and 5th gen).
It seems that the collision detection is off, but only on the right hand side!
Walls and slopes to the left are not affected. Not all walls to the right are affected (it seems to be related to their physical x position) but all slopes to the right are.
For slopes, it doesn't matter which direction the player moves in, so long as the slope is to the right of the player.
I have taken some snap shots of what happens as well as made a demo which reproduces the error.
So! First snapshot: http://www.absolutecreations.co.uk/p...pmo-bug-01.jpg
That occurs when moving down the slope from right to left. It is intermittently jumpy on the way up the slope too.
It is not caused by the step down value being set too low. You can set that to 10 and it still happens.
Snapshot 2: http://www.absolutecreations.co.uk/p...pmo-bug-02.jpg
That shows what should happen when walking into a wall (and what does happen on some right hand walls... as I said, it appears to be related to x position of obstacles. Andos suggested it was to do with rounding the position, which would make sense).
Snapshot 3: http://www.absolutecreations.co.uk/p...pmo-bug-03.jpg
Same as the first snapshot, just with a different slope angle.
Snapshot 4: http://www.absolutecreations.co.uk/p...pmo-bug-04.jpg
The gap marked with the arrow should not be there... the player is jumping and pushing against that right hand wall, so there should be no gap at all.
Snapshot 5: http://www.absolutecreations.co.uk/p...pmo-bug-05.jpg
Just showing how the slopes when on the left work... flawlessly!
Snapshot 6: http://www.absolutecreations.co.uk/p...pmo-bug-06.jpg
A better example of the bug when on the ground. Again, in this shot the player is pushing against the right hand wall so there should be no gap (it should be as in snapshot 2).
Snapshot 7: http://www.absolutecreations.co.uk/p...pmo-bug-07.jpg
Same as above but in a different place in the demo.
So there you have it! 1 pixel gap on the right (but not on every right hand wall) which causes all kinds of problems if you are trying to do say ledge grabbing, or anything that requires decent accuracy really.
But the worst side effect is that slopes on the right are really choppy and the player can even lift off when coming down them (which plays havoc with running / falling animations), even with a high step down value set (as I mentioned, step down value has no effect on this bug).
And finally, the demo file! pmo-bug-ios.zip
It has PC controls so you can see it all works as normal in windows. Delete the PC Controls group and change build type to xcode to test on iOS.