We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent defbd44 commit 19a8fd7Copy full SHA for 19a8fd7
1 file changed
dodgedemo/dodgedemo.js
@@ -119,7 +119,7 @@ function makeCross(pos) {
119
// * Creates frame-independent transformation *
120
countdown -= time.deltaTime;
121
if (countdown <= 0) {
122
- countdown = Math.random() * 120;
+ countdown = Math.random() * 60;
123
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))));
124
}
125
player.x += time.deltaTime * 4.0 * (wasd[3].isDown - wasd[1].isDown);
0 commit comments