Hey,
I am having an issue with one way platforms and I can't figure out how to approach the solution.
For the most part, the collisions work perfect. The issue arises when i have stacked one way platform tiles. The problem is clearly shown in the GIF i attached.
I understand why it happens, I just have no idea about how to alter my code to deal with this situation.
For my collisions I am using a script (a modified version of the collision script provided in the Platformer Template).
To handle one way platforms, I'm checking if we move from a non-platform tile into a platform tile (this prevents the character getting stuck inside the tile).
Obviously, this doesn't work then the platform tiles are stacked, as we are moving from platform tile to another platform tile.
I will add code to the comments since I hit the limit