Decrease chance of glue powerup dropping from 50% to 8%
Increase default ball speed to 350px/sec Change paddle speed control to time-based, 375px/sec
This commit is contained in:
@ -36,7 +36,7 @@ public class BrickBuster extends ApplicationAdapter {
|
||||
int x = 15 + (col * (Brick.BLOCK_WIDTH + 10));
|
||||
int y = 15 + Brick.BLOCK_HEIGHT + (row * (Brick.BLOCK_HEIGHT + 10));
|
||||
Class<? extends PowerUp> powerUpType = null;
|
||||
if (MathUtils.randomBoolean(0.5f)) {
|
||||
if (MathUtils.randomBoolean(0.08f)) {
|
||||
powerUpType = GluePowerUp.class;
|
||||
}
|
||||
bricks.add(new Brick(this, powerUpType, x, HEIGHT - y));
|
||||
|
Reference in New Issue
Block a user