http://metroidvania-beat-en-up.bitballoon.com/
My project mixes elements of platform games and beat'en Up!
I am leaving a link with a sample of the gameplay where it is possible to see problems in the position of the shadow when the player jumps to a higher platform. How to create an algorithm that controls the position of the shadow in the layout, even during the jump.
If you hit backspace you'll be able to see the collision objects I'm using to control the girl.
The orange object contains the platform behavior. Controls the character's collision with the terrain and walls. The shadow black circle follows the X coordinates of the orange object, and controls the Y position of the character when the platform object is on the ground. The red object serves only as a collision box.
Controls
Directional arrows and the W, S, A, D keys move the character
Spacebar to jump
E key to fast forward