don't show falling frame when dropping
This commit is contained in:
@@ -133,12 +133,7 @@ struct
|
|||||||
let
|
let
|
||||||
val animTimer = #animTimer player
|
val animTimer = #animTimer player
|
||||||
in
|
in
|
||||||
if animTimer < 15 then
|
|
||||||
getWhenJumping (player, animTimer, rx, ry, ww, wh)
|
getWhenJumping (player, animTimer, rx, ry, ww, wh)
|
||||||
else
|
|
||||||
case #facing player of
|
|
||||||
FACING_RIGHT => PlayerFallRight.lerp (rx, ry, 3.0, ww, wh)
|
|
||||||
| FACING_LEFT => PlayerFallLeft.lerp (rx, ry, 3.0, ww, wh)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
fun getWhenNotAttacked (player, rx, ry, ww, wh) =
|
fun getWhenNotAttacked (player, rx, ry, ww, wh) =
|
||||||
|
|||||||
Reference in New Issue
Block a user