User prompt
Make start text twice as large and make it stay on screen for 4 secs
User prompt
Attach startText to game itself
User prompt
Start the game by writing "Defend your base" on the center of the screen for 2 seconds. Do this in white with black drop shadow.
User prompt
Make shadows have 20% alpha
User prompt
Move down shadows by 185px
User prompt
Graphics is no longer supported, instead use an LK asset for shadows
User prompt
Delete the line referring to console.error(
User prompt
Move up player base health bar by 20 px. Also increase the player base health bar by 300%
User prompt
In player base move the health bar to top center of the base graphics
User prompt
Create a separate class for enemy base
User prompt
Fix Bug: 'TypeError: undefined is not an object (evaluating 'enemyBase.anchor.set')' in this line: 'enemyBase.anchor.set(1, 1);'
User prompt
Create a separate base for enemy base with an anchor of 1, 1 but keep the position.
User prompt
Change the anchor of the player base to 0,1 but keep the position
User prompt
Currently if the stage is very wide, you can't scroll the enemy base into view. Please fix this
User prompt
Make money and xp text smaller
User prompt
money should never be rewarded fixed amounts, always use the class values
User prompt
Make money earned from killing soldiers and archers a property of soldier and archer. Then reward that rather than fixed amounts. Make sure to replace all places fixed amount of money are rewarded
User prompt
Only change next enemy if an enemy was successfully purcached
User prompt
Pre select if enemy should spawn archer or enemy. Then spawn that. When a new enemy is spawned decide what to spawn next.
User prompt
Increase archer damage by 2x
User prompt
Increase the speed of my archers by 2x at the same time increase the speed of enemy archers by 2x
User prompt
3x the range of archers
User prompt
Bullets should fire much much slower
User prompt
Bullets should be added to the correct bullet arrays
User prompt
Make shoot return the bullet and attach them in tick
===================================================================
--- original.js
+++ change.js
@@ -170,9 +170,9 @@
var self = Container.call(this);
LK.stageContainer.setBackgroundColor(0x87CEEB);
var world = self.addChild(new World());
var startText = new Text2('Defend your base', {
- size: 60,
+ size: 120,
font: "'GillSans-Bold',Impact,'Arial Black',Tahoma",
fill: "#ffffff",
dropShadow: true,
dropShadowColor: "#000000",
@@ -185,9 +185,9 @@
startText.y = 2732 / 2;
self.addChild(startText);
LK.setTimeout(function () {
startText.destroy();
- }, 2000);
+ }, 4000);
var playerBase = world.addChild(new PlayerBase());
playerBase.x = 0;
playerBase.y = 2732;
var enemyBase = world.addChild(new EnemyBase());
Single square button with bow and arrow on it. Metal button Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
single background tree, full view. Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Heroic knight walking to the right. Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Enemy zombie knight walking to the left. Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Single square button with soldier helmet on it. Metal button Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Heroic archer walking to the right. Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Full view Hero stronghold with gate at the right. Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
single background tree, full view. Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.