User prompt
add a button for each upgrade
User prompt
when firerate is clicked,make bullets spawn faster
User prompt
upgrades should be clickable
User prompt
do not spawn next set of waves until an updgrade is chosen
User prompt
after all waves finish, pause game and show 3 upgrade options to be chosen from
Code edit (11 edits merged)
Please save this source code
User prompt
move particle emitter 20 pixels to ther left
User prompt
Please fix the bug: 'TypeError: LK.pauseGame is not a function' in or related to this line: 'LK.pauseGame();' Line Number: 488
User prompt
pause game when all waves of a level are complete
User prompt
Make score font border thicker
Code edit (1 edits merged)
Please save this source code
User prompt
remove upgrade menu
User prompt
Please fix the bug: 'Uncaught ReferenceError: UpgradeMenu is not defined' in or related to this line: 'var upgradeMenu = game.addChild(new UpgradeMenu());' Line Number: 514
Code edit (1 edits merged)
Please save this source code
User prompt
Double size of score, menu, diamond icon and count
User prompt
each time all waves are complete, add 1 hit point to each enemy
User prompt
add logic to respawn waves once all waves are complete
User prompt
create a configurable level structure. each level will have 5 waves. each level waves will start with + hit point than the level before
User prompt
add a level structure to the game. every level will have 5 waves.
Code edit (1 edits merged)
Please save this source code
User prompt
Improve game performance
User prompt
Particles of exploded blovk ahould have block tint
User prompt
Make particles of exploded block bigger
User prompt
Please fix the bug: 'ReferenceError: Boss is not defined' in or related to this line: 'if (enemies[j].hitpoints <= 0 && !(enemies[j] instanceof Boss)) {' Line Number: 384
User prompt
Remove boss
===================================================================
--- original.js
+++ change.js
@@ -195,10 +195,20 @@
}];
var optionSpacing = 300;
for (var i = 0; i < options.length; i++) {
var option = new UpgradeOption(options[i].text, options[i].onClick);
- option.x = 2048 / 2;
- option.y = 2732 / 2 - optionSpacing + i * optionSpacing;
+ var button = LK.getAsset('menu', {
+ anchorX: 0.5,
+ anchorY: 0.5,
+ width: 500,
+ height: 200,
+ color: 0x0000ff
+ });
+ button.x = 2048 / 2;
+ button.y = 2732 / 2 - optionSpacing + i * optionSpacing;
+ option.x = button.x;
+ option.y = button.y;
+ game.addChild(button);
game.addChild(option);
}
}
function increaseFireRate() {
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