From 52f6d8a430515b60fe40698ffe861ac4c02b120b Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Mon, 27 Jun 2022 19:51:30 +0000 Subject: [PATCH] Lower stagger time so it's even faster Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 --- src/sig/objects/LevelRenderer.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sig/objects/LevelRenderer.java b/src/sig/objects/LevelRenderer.java index 0373b4d..5d29d2c 100644 --- a/src/sig/objects/LevelRenderer.java +++ b/src/sig/objects/LevelRenderer.java @@ -24,14 +24,16 @@ import sig.objects.actor.State; public class LevelRenderer extends Object{ - final static double staggerJitterWaitTime=0.05; + final static double staggerJitterWaitTime=0.03; double staggerTimer=0; int staggerOffsetX=2; public final static byte MAX_RIPPLE_SIZE = (byte)4; public final static byte RIPPLE_CHANCE = (byte)3; - //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). + /** + *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). + */ byte[] ripples = new byte[RabiClone.BASE_HEIGHT/MAX_RIPPLE_SIZE]; long nextRipple = 0;