Skip to content

Commit 19a8fd7

Browse files
committed
harder
1 parent defbd44 commit 19a8fd7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dodgedemo/dodgedemo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function makeCross(pos) {
119119
// * Creates frame-independent transformation *
120120
countdown -= time.deltaTime;
121121
if (countdown <= 0) {
122-
countdown = Math.random() * 120;
122+
countdown = Math.random() * 60;
123123
crosses.push(makeCross(new Point(crossAsset.width / 2 + 8 + Math.random() * (app.screen.width - crossAsset.width - 16), crossAsset.height / 2 + 8 + Math.random() * (app.screen.height - crossAsset.height - 16))));
124124
}
125125
player.x += time.deltaTime * 4.0 * (wasd[3].isDown - wasd[1].isDown);

0 commit comments

Comments
 (0)