diff --git a/src/minicraft/entity/Creeper.java b/src/minicraft/entity/Creeper.java index 014117adf..13f687cb7 100644 --- a/src/minicraft/entity/Creeper.java +++ b/src/minicraft/entity/Creeper.java @@ -104,6 +104,8 @@ public void render(Screen screen) { } else super.lvlcols[lvl-1] = Creeper.lvlcols[lvl-1]; + + //if(fuseLit) System.out.println("fuseTime%6==0: " + (fuseTime % 6 == 0)); /*if (level.dirtColor == 322) { if (lvl == 2) col = Color.get(-1, 200, 262, 232); diff --git a/src/minicraft/gfx/Screen.java b/src/minicraft/gfx/Screen.java index 2128c9b0e..1ad519379 100644 --- a/src/minicraft/gfx/Screen.java +++ b/src/minicraft/gfx/Screen.java @@ -7,7 +7,7 @@ public class Screen { private static java.util.Random random = new java.util.Random(); private static final int MAXDARK = 128; - private static final int MAXLIGHT = 20; + //private static final int MAXLIGHT = 20; /// x and y offset of screen: public int xOffset; @@ -107,7 +107,7 @@ public void overlay(Screen screen2, int xa, int ya) { if(Game.currentLevel == 4) tintFactor -= tintFactor < 10 ? tintFactor : 10; tintFactor *= -1; // all previous operations were assumping this was a darkening factor. tintFactor += 20; - if(tintFactor > MAXLIGHT) tintFactor = MAXLIGHT; + //if(tintFactor > MAXLIGHT) tintFactor = MAXLIGHT; //if(random.nextInt((int)(Game.normSpeed/Game.gamespeed))==0) System.out.println("rendering dark factor " + tintFactor); int[] oPixels = screen2.pixels; // The Integer array of pixels to overlay the screen with.