Thanks for your comment. To make things easier, I used Construct 3's jump simulation. For future updates, I'll look for a way to adapt the character's movements.