Skip to content

Commit

Permalink
Added arcade game mode. Bubbles will scroll continuously from the top…
Browse files Browse the repository at this point in the history
… of the screen, forever. The high score screen will always be displayed after the player dies, and funcitons like the multiplayer high score screen.
  • Loading branch information
forteri76 committed Jun 5, 2014
1 parent 79c99bc commit 6b1ef50
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/org/jfedor/frozenbubble/FrozenGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -1360,27 +1360,17 @@ void scrollBubbles() {
}
}
if ((movingBubble == null) && (moveDown >= 28.)) {
bubbleManager.initialize();
compressor.moveDownSubtract(28.);
for (int row = LevelManager.NUM_ROWS - 1; row > 0; row--) {
for (int column = 0; column < LevelManager.NUM_COLS; column++) {
bubblePlay[column][row ] = bubblePlay[column][row - 1];
bubblePlay[column][row - 1] = null;
if (bubblePlay[column][row] != null) {
}
}
}
for (int column = 0; column < LevelManager.NUM_COLS; column++) {
bubblePlay[column][0] = scrolling[column];
}
addScrollRow();
for (int row = 0; row < LevelManager.NUM_ROWS; row++) {
for (int column = 0; column < LevelManager.NUM_COLS; column++) {
if (bubblePlay[column][row] != null) {
bubblePlay[column][row].addToManager();
}
}
}
}
}

Expand Down

0 comments on commit 6b1ef50

Please sign in to comment.