User prompt
please add a backdrop
User prompt
make the score increase by 1 everytime the player sucsesfully jumps over the enemy
User prompt
make the score text pastel pink
User prompt
add a score system everytime the player jumps over a enemy the score increases by 1
User prompt
make the enemys at the beginning slowly spawn as the game progress es the enemys spawn more often
User prompt
make the jump a little higher
User prompt
make the jump a litle bit higher
Initial prompt
kawaii parkour
===================================================================
--- original.js
+++ change.js
@@ -88,11 +88,14 @@
obstacles[i].destroy();
obstacles.splice(i, 1);
}
}
- // Spawn obstacles
- if (LK.ticks % 120 === 0) {
- // Every 2 seconds
+ // Spawn obstacles with variable rate
+ var spawnRate = 120 - Math.floor(LK.ticks / 1800); // Decrease spawn rate every 30 seconds
+ if (spawnRate < 30) {
+ spawnRate = 30;
+ } // Set a minimum spawn rate
+ if (LK.ticks % spawnRate === 0) {
var obstacle = new Obstacle();
obstacle.x = game.width;
obstacle.y = game.height - obstacle.height;
obstacles.push(obstacle);
kawaii style kitten. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Kawaii style monster. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
kawaii style grass feild backdrop. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.