User prompt
make a sound for when you score
User prompt
make sure the music loops
User prompt
create background music
User prompt
make the background an asset
User prompt
make a background
User prompt
remove missiles
User prompt
make getting near missiles worth 5 points
User prompt
Please fix the bug: 'ReferenceError: missiles is not defined' in or related to this line: 'var missileDistance = Math.sqrt(Math.pow(missiles[i].x - player.x, 2) + Math.pow(missiles[i].y - player.y, 2));' Line Number: 177
User prompt
make getting near missiles worth 5 points
User prompt
make missiles kill on contact
User prompt
make make missiles faster
User prompt
make them faster and make it so you score five when you get close to them
User prompt
make missiles spawn in the same area as the bullets
User prompt
make missiles that follow the player but stop after a while
User prompt
make it so the player only scores after the bullet is no longer close
User prompt
if player scores as they die remove the last point
User prompt
make sure player scores after bullet is close so they don't score when they die
User prompt
put the score below the instructional text
User prompt
have text at the beginning that lets the player know how to score
User prompt
have the score only go up once per bullet
User prompt
add proximity score counter at the top
User prompt
add a score counter that goes up whenever the player is very close to a bullet, excluding when they get hit
User prompt
make bullets spawn way more frequently
User prompt
make bullets get faster and spawn more frequently as the game progresses
User prompt
make bullets spawn more frequently
===================================================================
--- original.js
+++ change.js
@@ -59,9 +59,11 @@
});
instructionText.anchor.set(0.5, 0);
LK.gui.top.addChild(instructionText);
// Play background music
-LK.playMusic('TechnoMusic1');
+LK.playMusic('TechnoMusic1', {
+ loop: true
+});
var player = game.addChild(new Player());
player.x = 2048 / 2;
player.y = 2732 / 2;
// Initialize and display proximity score text