#for some reason my jump power increases after attacking state
13 messages · Page 1 of 1 (latest)
Is that not what it's for ? Gameplay input
Could you show the rest of the code? just from looking at it i dont see why jumping would be higher since you reset velocity to Vector2.ZERO after each attack 🤔
I'll upload the repo shortly
You dont apply gravity in the attacking state.
You probably have the same jumping power, but in every other state you decelerate while jumping.
but it is only while you are in the state
apply gravity isnt in specific state
are you supposed to be able to jump while attacking?
no i have a flag for can_jump
i dont see it being used in the code other than the declaration