The problem is that if I hug a wall when I jump, I get this extra boost high jump. The wall throws me up like I double jumped. I’m guessing this has something to do with the collision box stretching with the appearance and clipping into the wall, but really I don’t know. If I disable the tweens, the problem disappears.
I gonna give you best solution i found which not many listen to
You should have fake rectangle sprite object which you hide that is your actual player
And for that do all your movement magic
However anything visual should be for 2nd sprite object which you just slap onto your actual player sprite
So you change position of your visual sprite to fake sprite
And for example if fake sprite is jumping you change animation of visual sprite
And that will remove 90% of your issues related to animations/tweens and other crap
BUT like i said not many users want to go this route where i encourage you to try it
I also hate it and i avoided it like fire
BUT once i did try it my god
How many issues it fixed you would not believe
Press space to air jump
This spin jump is NOT animation
I am simply rotating whole sprite object
Check how landing on ground is smooth
You cannot get that if you would have only one object
Cause you would rotate whole player rectangle
And if player would land on edge of his collision box it would need to reposition
Making unpleasant displacement effect
Actually it have collision mask
Only thing is that you add all behaviors like platformer/topdown to player object
Visual object is like you would gun or sword
You give it nothing it is there just for visual representation
You see in my game duplicate of player cause i did build that spinning jump when while still resisting going with 2 objects
And when turned out when you want to make some fancy moves for your player be problematic and require you to jump around each event like monkey to get it perfectly to work visually and functionally
I just duplicated player object removed from (from duplicate i mean) it platformer behavior and all other ones leaving only what would be used visually
Where if i would start a game from scratch i would just put there image of red rectangle for player