Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - digant404

Pages: [1]
1
General / Re: Handling tile-based slopes
« on: August 26, 2023, 07:49:16 am »
I have used the algorithm mentioned in the above post, however, when exiting the left slope - moving up, sometimes (not always) my player is being positioned a tile (in length) higher. I have tried to debug it, but nothing seems to work. Any help would be appreciated. Also, there are any edge cases in this algorithm as mentioned by the jnrdev, do we have a complete working project from where I can reference the algorithm. Thanks in advance

Pages: [1]