diff --git a/bin/RabiClone.jar b/bin/RabiClone.jar index fc7db09..82f699e 100644 Binary files a/bin/RabiClone.jar and b/bin/RabiClone.jar differ diff --git a/src/sig/objects/LevelRenderer.java b/src/sig/objects/LevelRenderer.java index 5d29d2c..dcb08fc 100644 --- a/src/sig/objects/LevelRenderer.java +++ b/src/sig/objects/LevelRenderer.java @@ -31,6 +31,7 @@ public class LevelRenderer extends Object{ public final static byte MAX_RIPPLE_SIZE = (byte)4; public final static byte RIPPLE_CHANCE = (byte)3; + public final static byte RIPPLE_DROP_CHANCE = (byte)6; /** *Ripples will store bit 8 for the direction the ripple is moving. Bits 1-7 are used as the actual value for ripples up to 64 in size (Half used for movement in each direction). */ @@ -72,6 +73,7 @@ public class LevelRenderer extends Object{ } else { ripples[selectedIndex]=(byte)(MAX_RIPPLE_SIZE|0b00000000); } + System.out.println("Ripple "+selectedIndex+" started. Dir:"+(((ripples[selectedIndex]&0b10000000)==0b10000000)?"left":"right")); } } for (int i=0;i0&&a==Action.JUMP&&state!=State.ATTACK2&&state!=State.ATTACK3) { state = State.JUMP; jumpCount--; y_velocity = jump_velocity; spacebarPressed = RabiClone.TIME; - // System.out.println("Jump"); + spacebarReleased=false; + System.out.println("Jump"); } } if (state != State.SLIDE&&state!=State.BELLYSLIDE) {