Ok, so I presently got a nice climb onto a ledge system. but it uses a extra detect sprite attached to the player sprite.
I realized that this causes the system to calculate extra detection of collisions, so I want to find a better and more optimal solution.
What I did was add an intance variable for when the player is mirrored or not which are either 1 or -1
Now, I tried doing this:
PlayerDetect is overlapping at offset ledge at PlayerDetect.X + (PlayerDetect.PlayerDirection*8)
(Then also added the detection of the point at Y)
But is not working. Only way so far I can make the climb system is by using an extra sprite. So is there any solution?
Thanks in advance