satoshinm / NetCraft

Web-based fork of fogleman/Craft ⛺
https://satoshinm.github.io/NetCraft/
MIT License
57 stars 13 forks source link

Crouching with shift should allow sliding along edges #180

Closed satoshinm closed 7 years ago

satoshinm commented 7 years ago

https://github.com/satoshinm/NetCraft/pull/146 added crouching (https://github.com/satoshinm/NetCraft/issues/4), holding shift while walking to not fall off an edge. But it prevents moving along edges, too. It should only block movement in the x/z axes which would cause you to fall, so the player can conveniently slide along the edge of a ledge without falling off.