User prompt
now change boss phase 2 hp to 50
User prompt
now change boss hp to 100
User prompt
okay boss should apper on player score 100
User prompt
boss stays on his place not changing it lets fix this bug
User prompt
okay on phase 2 of boss , boss will shoot 6 times then change his location randomly
User prompt
okay we counter a bug boss is only shaking not going right and left
User prompt
lets try to increase boss horizontal speed while its on phase 2
User prompt
enemies still not coming while boss on phase 2
User prompt
okay now when boss starts shooting deathlasers other enemyship start coming again
User prompt
before boss start shooting laser can we do make boss shake for 2 second
===================================================================
--- original.js
+++ change.js
@@ -351,13 +351,13 @@
break;
}
}
// Spawn enemies periodically if boss is not present
- if (!boss && LK.ticks % 60 == 0) {
+ if (LK.ticks % 60 == 0) {
spawnEnemy();
}
// Enemies shoot periodically if boss is not present
- if (!boss && LK.ticks % 120 == 0) {
+ if (LK.ticks % 120 == 0) {
for (var i = 0; i < enemies.length; i++) {
enemies[i].shoot();
}
}
@@ -380,13 +380,13 @@
};
// Add method to resume enemy spawning
Boss.prototype.resumeEnemySpawning = function () {
// Spawn enemies periodically
- if (LK.ticks % 60 == 0) {
+ if (LK.ticks % 60 == 0 && !boss) {
spawnEnemy();
}
// Enemies shoot periodically
- if (LK.ticks % 120 == 0) {
+ if (LK.ticks % 120 == 0 && !boss) {
for (var i = 0; i < enemies.length; i++) {
enemies[i].shoot();
}
}
star white. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
enemy space ship boss it should be big and looking from top. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
explosion. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
linear laser red horizontal. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
red pixel circle with black background and hearth on middle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
red circle with black background and bullet on middle next to x2 symbol. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.