Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afe028430f | ||
|
|
48fb992d04 |
@@ -58,7 +58,6 @@ export function updatePerks(game, containerHeight, deltaTime) {
|
|||||||
ball.increaseSpeed(-1 * PERK_BALL_SPEED_DECREASE);
|
ball.increaseSpeed(-1 * PERK_BALL_SPEED_DECREASE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// ponytail: wall-clock timer, game never pauses so no need to tie to deltaTime
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
for (const ball of game.balls) {
|
for (const ball of game.balls) {
|
||||||
ball.increaseSpeed(PERK_BALL_SPEED_DECREASE);
|
ball.increaseSpeed(PERK_BALL_SPEED_DECREASE);
|
||||||
|
|||||||
Reference in New Issue
Block a user