v0.9.0: added autoAdjust to scrolling water/walls

This commit is contained in:
Evan Debenham
2020-09-28 15:21:50 -04:00
parent 846a6f34eb
commit 8cac7dddc9
3 changed files with 3 additions and 0 deletions

View File

@@ -102,6 +102,7 @@ public class AlchemyScene extends PixelScene {
Blending.enable();
}
};
water.autoAdjust = true;
add(water);
Image im = new Image(TextureCache.createGradient(0x66000000, 0x88000000, 0xAA000000, 0xCC000000, 0xFF000000));

View File

@@ -204,6 +204,7 @@ public class GameScene extends PixelScene {
Blending.enable();
}
};
water.autoAdjust = true;
terrain.add( water );
ripples = new Group();

View File

@@ -171,6 +171,7 @@ public class InterlevelScene extends PixelScene {
}
};
bg.scale(4, 4);
bg.autoAdjust = true;
add(bg);
Image im = new Image(TextureCache.createGradient(0xAA000000, 0xBB000000, 0xCC000000, 0xDD000000, 0xFF000000)){