User prompt
make the button be on the bottom left
User prompt
Fix Bug: 'TypeError: self.containsPoint is not a function' in this line: 'if (self.containsPoint(pos)) {' Line Number: 158
User prompt
Fix Bug: 'TypeError: self.containsPoint is not a function' in this line: 'if (self.containsPoint(pos)) {' Line Number: 157
User prompt
Fix Bug: 'TypeError: self.containsPoint is not a function' in this line: 'if (self.containsPoint(pos)) {' Line Number: 154
User prompt
make button at the bottom of the screen.
User prompt
the hero is above the red line. It is meant to be below the red line
User prompt
move the red line to 5/8 of the screen
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'y')' in this line: 'hero.y = redLine.y - hero.height / 2;' Line Number: 187
User prompt
move the hero just below the red line
User prompt
move the hero a bit up
User prompt
move the hero to 0
User prompt
move the hero a bit up
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'height')' in this line: 'self.creditTxt.y = highScoreTxt.height * 2 + 40;' Line Number: 147
User prompt
under the high score, add a currency called "Cosmic Credits" which you will get 5 of every time you kill an enemy
User prompt
make the easter egg spawn all the time
User prompt
make the easter egg rarity be the same as the enemy
User prompt
the easter egg might be a bit too rare
User prompt
make easter eggs which the player could find
User prompt
the (WIP) in high score should not disappear when the score count is updated
User prompt
make high score say: High Score (WIP): (whatever the score count is)
User prompt
the '(WIP)' should appear
User prompt
the '(WIP)' in the HighScore should not disappear when the score counter goes up for high score
User prompt
for the high score make it say: High Score (WIP): (whatever the high score is)
User prompt
make the bulletpack gradually move faster as the game progresses
User prompt
the high score should stay when the game ends
===================================================================
--- original.js
+++ change.js
@@ -305,10 +305,10 @@
bulletPack.y = -bulletPack.height;
enemies.push(bulletPack); // Add bullet pack to enemies array for collision detection
game.addChild(bulletPack);
}
- if (LK.ticks % enemySpawnRate == 0 && Math.random() < 0.1) {
- // Spawn an Easter Egg with a 10% chance each time an enemy is spawned
+ if (LK.ticks % enemySpawnRate == 0) {
+ // Spawn an Easter Egg every time an enemy is spawned
var easterEgg = new EasterEgg();
easterEgg.x = Math.random() * (game.width - easterEgg.width) + easterEgg.width / 2;
easterEgg.y = -easterEgg.height;
enemies.push(easterEgg); // Add Easter Egg to enemies array for collision detection
android. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
letter X png. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
space background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
galaxy background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
galaxy background. High quality
space background.. High contrast