User prompt
add a sound backgroundNoise
Code edit (1 edits merged)
Please save this source code
User prompt
play the backgroundNoise in a loop
User prompt
play the bicycleRing randomly, between 5 and 10 seconds
Code edit (1 edits merged)
Please save this source code
User prompt
add another Obstacle or HorizontalObstacle every 10 seconds, do this 5 times
Code edit (6 edits merged)
Please save this source code
User prompt
scale the player by 10% everytime the player intersects with the safezone
Code edit (1 edits merged)
Please save this source code
User prompt
instead of dragging the player by pointer, the player should move to the current pointer position (on pointer down).
User prompt
the player should not jump to the current pointer position but move to it with a certain speed
User prompt
the player should rotate to where it is moving to
User prompt
wait 2 seconds before spawning all the different obstacles
===================================================================
--- original.js
+++ change.js
@@ -185,9 +185,9 @@
safeZone.x = Math.random() * (2048 - 200) + 100;
safeZone.y = Math.random() * (2732 - 200) + 100;
}
// Add another Obstacle or HorizontalObstacle every 10 seconds, do this 5 times
- if (LK.ticks % 600 == 0 && obstacles.length < 8) {
+ if (LK.ticks % 600 == 0 && obstacles.length < 8 && LK.ticks > 120) {
var startFromTop = Math.random() >= 0.5;
var obstacle;
if (obstacles.length % 2 == 0) {
obstacle = new Obstacle();
vietnamese on a bike, top down, from above, flat, 8 bit art, pixel art, Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
top down view of a big crossroad, pixelart style, from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a round pizza, flat. No background. Transparent background. Blank background. No shadows. 2d. In-Game asset. flat