User prompt
move arrow count to top left of screen and score to top right
User prompt
move player to the right by 50 pixels
User prompt
add -30 degrees to the arrow rotation when released
User prompt
increase initial y velocity of arrow by 50% when rleased
User prompt
increase decrease initial rotation of arrow by 30 degrees
User prompt
make player rotation update when mouse is dragged on moved
User prompt
move player rotation code to mouse down event
User prompt
only release arrow on mouse button release
User prompt
rotate player to match angle of player to mouse pointer
User prompt
reduce gravity by another 10%
User prompt
reduce gravity by 10%
User prompt
set x of target to a random position between screenwidth*.7 and screenwidth*.9 each time target is hit
User prompt
change position of archer to a random y position between screenheight/2 + 300 and screnheight/2-300 every time a target is hit
User prompt
increase speed of target by 5% each time the target is hit
User prompt
ensure target does not go smaller than 50 pixels
User prompt
reduce size of target by 10% each time it is hit
User prompt
add particle explosion like a firework from target when it is hit
User prompt
only reduce arrow counter if it misses the target, do not reduce counter if it hits target
User prompt
add an arrow counter below the archer
User prompt
archer has 5 arrows, every time he misses the arrow count is reduced by 1. If he runs out of arrows it's game over
User prompt
reduce target hit area by 50%
User prompt
only score a point if arrow hits target centre with 50 pixels
User prompt
reduce gravity by 10%
User prompt
add to arrow rotation over time as gravity effects it
User prompt
slow arrow by 15%
===================================================================
--- original.js
+++ change.js
@@ -87,8 +87,9 @@
if (target.width > 50 && target.height > 50) {
target.scale.x *= 0.9;
target.scale.y *= 0.9;
}
+ target.speed *= 1.05;
arrows[a].destroy();
arrows.splice(a, 1);
}
}
a green field background
a target roundel viewed from the side
plain gold star, no outline Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a cartoon archers bow viewed from the side Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a long cartoon arrow with gold shaft and steel point Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.