moiri / kobold

jump and run on web page
2 stars 0 forks source link

Crouch animation when forced #30

Closed moiri closed 10 years ago

moiri commented 11 years ago

when character is forced to stay crouched (obstacle preventing standUp), the crouch idle animation is not working

moiri commented 11 years ago

this is somehow connected to the method me.checkCollisionStatic(direction). The same problem occurs also in normal crouch idle status, if this method is added to the crouch method.

moiri commented 10 years ago

if croutch key is pressed, the idle animation is working