So I'm trying to make my character jump on top of objects in 8 directional movement.
I found some examples of 2.5d jumping but when I try them out on my build it seems that the jump is always longer when jumping in the +Y direction.
Here's a screenshot of the example of the jump code, the example mfa(beatmup) and my mfa:
I'd appriciate if there's someone who knows a better way to do this and could point me in the right directions. Thanks