User prompt
accuracy upgrades should increase accuracy by 4 instead of 2
User prompt
start the tanks accuracy at 80%
User prompt
there's a duplicate mention of the tanks accuracy, delete the duplicate mentions
User prompt
both tanks needs to start with their accuracy at 80%
User prompt
hp upgrades should increase health by 20 instead of 10
User prompt
health upgrades should only increase hp by 10 instead of 20
User prompt
change the text that says HP to say Health instead
User prompt
the sound that should play when upgrading the HP no longer plays. fix this
User prompt
change the stat terminology from HP to Health
User prompt
when the button that upgrades the maximum damage is pressed, play the Upg_Dmg_Max sound
User prompt
when the button that upgrades the minimum damage is pressed, play the Upg_Dmg_Min sound
User prompt
when the button that upgrades the Accuracy is pressed, play the Upg_Acc sound
User prompt
when the button that upgrades the HP is pressed, play the Upg_HP sound
User prompt
there's a bug with the round text, as it increases by 2 instead of just 1
Code edit (4 edits merged)
Please save this source code
User prompt
the text for the round has duplicate mentions, remove this redundant part of the code "var roundText = new Text2('Round: ' + gameState.currentRound.toString(), { size: 100, fill: "#ffffff", stroke: "#000000", strokeThickness: 15, anchorX: 0.5, anchorY: 0.5, align: "center", x: 2048 / 2 - 200, y: 2732 / 2 });"
User prompt
center the text for the roudn tio the center of the screen
User prompt
there's duplicate information for the score text "var roundText = new Text2('Round: ' + gameState.currentRound.toString(), { size: 100, fill: "#ffffff", stroke: "#000000", strokeThickness: 15, anchorX: 0.5, anchorY: 0.5, align: "center", x: 2048 / 2 - 200, y: 2732 / 2 }); foregroundContainer.addChild(roundText); roundText.x = 2048 / 2 - 200; roundText.y = 2732 / 2; var statTextProperties = { size: 60, fill: "#ffffff", stroke: "#000000", strokeThickness: 10, width: 400, align: "center" };" remove the duplicates
Code edit (1 edits merged)
Please save this source code
User prompt
move the text showing the round 100 pixels to the left
===================================================================
--- original.js
+++ change.js
@@ -634,8 +634,9 @@
});
upgradeBtn.on('down', function () {
LK.getSound('Upgrade_Btn').play(); // Play Upgrade_Btn sound when any upgrade button is pressed
if (upgrade === 'Health') {
+ LK.getSound('Upg_HP').play(); // Play Upg_HP sound when Health upgrade button is pressed
LK.getSound('Upg_HP').play(); // Play Upg_HP sound when HP upgrade button is pressed
} else if (upgrade === 'Accuracy') {
LK.getSound('Upg_Acc').play(); // Play Upg_Acc sound when Accuracy upgrade button is pressed
} else if (upgrade === 'MinDmg') {
blue upgrade button with a "+" sign on it. pixelated. 8 bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
dragon shaped firing turret. top-down bird-eye perspective seen directly from above. 8-bit pixelated. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
dragon shaped firing turret. top-down bird-eye perspective seen directly from above. 8-bit pixelated. blue soft-palette colored. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
chunky frost magical projectile. 8-bit pixelated. blue soft-palette colored. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
top-down bird-eye view perspective off a magical land, divided into two distinct elements of magma and ice. 8-bit pixelated. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
isometric stone wall platform. top-down bird-eye view perspective. 8-bit pixelated. grey soft-color palette.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.