Code edit (3 edits merged)
Please save this source code
User prompt
when boss speed increases, also increase its bullets speed
User prompt
bossbullets shoudl also increase speed when boss speed increases
Code edit (1 edits merged)
Please save this source code
User prompt
bosses should move faster every 5 seconds, but reset when they are killed
Code edit (1 edits merged)
Please save this source code
User prompt
if bossbullets hits fairy then game over, unless it has shield
User prompt
add collision between bossbullets and fairy.
User prompt
don not increase bullet speed when upgrade2 is selceted
User prompt
when powerup2 is purchased again increase hit points by 20%
Code edit (3 edits merged)
Please save this source code
User prompt
console log herobullet speed
Code edit (1 edits merged)
Please save this source code
User prompt
herobullet 3 base damage should be 1
User prompt
do not double hitpoints of bullet when upgrade1 is selected
User prompt
powerup1 will increase bullets speed by 1 but not increase the hit points
User prompt
make sure powerup2 and powerup1 replace each other when chosen
User prompt
make sure powerup2 set ups player to use herobullet2
User prompt
console log bullet damage
User prompt
console log boss hitpoints
Code edit (1 edits merged)
Please save this source code
Code edit (4 edits merged)
Please save this source code
User prompt
boss hitpoits and speed should be multiplied by its spawncount. staring always at 1
User prompt
add a counter on each boss to keep track of how many times it has spawned.
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -500,8 +500,9 @@
diamondCount -= powerupCosts.powerup2;
diamondCounterTxt.setText(diamondCount);
// Add action for powerup3
isUsingHeroBullet2 = true; // Switch to HeroBullet2
+ heroFireRate = Math.max(5, heroFireRate - 5); // Increase fire rate when the second powerup is selected, but not less than 5
self.destroy(); // Close powerup menu
isPowerupScreenActive = false;
// Increase level when a powerup is selected
if (currentLevelIndex < levels.length - 1) {
8-bit. cartoon. white star.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon 8 bit fairy dust. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon, 8bit, fireball. Black border. Cicular.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon, 8 bit, shield. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8bit, cartoon, axe. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
dark electric ball, 8bit, cartoon.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8bit, cartoon, treasure chest frame. very big empty center. only a fine border of chest. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
shoot
Sound effect
boom
Sound effect
Hit
Sound effect
backgroundmusic
Sound effect
bossbullet
Sound effect
bossappear
Sound effect
hit
Sound effect
diamondcollect
Sound effect
hooray
Sound effect
nono
Sound effect
letsgo
Sound effect
death
Sound effect
yes
Sound effect