GreenFour / pencil-knight

TCSS 491 Computational Worlds project
MIT License
0 stars 1 forks source link

Collision with the side of terrain returns the hero to the top of the platform #14

Closed pilocchii closed 6 years ago

pilocchii commented 6 years ago

Collision with a piece of terrain returns the Hero's Y coordinate to the top of the platform, regardless of their previous y value, leading to a "teleporting" effect. Instead, the Hero should simply fall off the platform and be unable to climb back up without jumping.

pilocchii commented 6 years ago

Currently works when the hero collides with something on their right, but not from on the left.