diff --git a/chameleonic.p8 b/chameleonic.p8 index a7a1fef..79fe20f 100644 --- a/chameleonic.p8 +++ b/chameleonic.p8 @@ -690,7 +690,7 @@ function player:draw() local head=1-self.orienty - local vanish_level=self.vanish_frame/20 + local vanish_level=max((self.vanish_frame-4)/16,0) local invis_level=max(self.fall_frame/10,4*(vanish_level-0.75)) if (invis_level>=1.0) return