here's the setup, we have the basic template of platforming of C2 modified to fulfill the needs of this bug report, J moves the sprite to the left while K moves it to the right, not with vector X actions though, but with set X to self.X + or - 300*dt, and we can see things if we smash into a wall, not the same if going left or right
Attach a Capx
Description of Capx
keep the J or K keys down to see the effects
Steps to Reproduce Bug
jumps when hitting the wall on the left, clips and moes slightly upwards when going to the right in the wall
to stops right at the wall without jumping or elevating itself
Operating System and Service Pack
Construct 2 Version ID
r239, unsure if this happens on previous versions
live preview of the bug:
This bug was not actully discovered by me, but by someone else, I suggested to use the Vector X action instead, but I still think it should be reported.
Develop games in your browser. Powerful, performant & highly capable.
Closing as won't fix. If you set the position directly instead of simulating controls, you effectively teleport the object to somewhere it isn't expecting to be, which breaks the platform behavior's stepping algorithms.