I'm trying to make a platform enemy that tries to jump in an arc & stomp the player sprite every X seconds. I'd like to make it so that the arc/trajectory of the enemy jump changes based on travel distance/where player is positioned, so if the player is close the jump arc is short, if player is farther away the jump arc is long. I know how to move the enemy to the player position, but I'm wondering how do I do this in an arc? Or what would be a good way to achieve this kind of movement pattern?