User prompt
Add forest to the background, we want at-least 5 different tree types and trees should be placed randomly between our base and the enemy base.
User prompt
Make the background sky colored
User prompt
Add a ground to the game, move up the bases and soldiers a bit to make room for the ground
User prompt
The left side of my base can't be seen and the right side of the enemy base can't be seen. Ensure the entire base is inside the visible world area
User prompt
Clamp the horizontal scrolling movement such that you can't scroll further to the left than players base is in full view and further to the right than enemy base is in full view.
User prompt
Make enemy soldiers spawn at the enemy base
User prompt
The bases are to close together, rather than having the enemy base on the right most edge, move it outside the screen by 4x
User prompt
Consider the mouse offset when scrolling horizontally
User prompt
New soldiers do not seem to be attached to the world.
User prompt
Bases and soldiers should be attached to horizontally scrollable world class. Click and dragging should let the user pan the world left and right.
User prompt
Add a Helth bar class, that renders a horizontally centered health bar. Then add health bars to bases and soldiers bars that renders above.
User prompt
Align soldiers and bases to the bottom of the play area
User prompt
takeDamage should return if the soldier died. If the solider died they should be removed.
User prompt
Only wait in line for soldiers that was spawned before the current soldier.
User prompt
My soldiers should not be able to walk past my other soldiers. Instead they should stop and wait in line, keeping distance to the soldier in-front of them. Enemy soldiers should behave similarly.
User prompt
Soldiers should not be able to pass each other. Our soldiers should stop and fight if they encounter an enemy solider. Enemy soldiers should stop and fight if they encounter one of our soldiers.
User prompt
Increase soldier health points by 20x
Initial prompt
Add player HUD to top right corner, showing my money count and XP count.
===================================================================
--- original.js
+++ change.js
@@ -9,9 +9,9 @@
var soldierGraphics = XS.getAsset('soldier', 'Soldier Graphics')
soldierGraphics.anchor.set(.5, .5)
self.addChild(soldierGraphics)
- self.health = 100;
+ self.health = 2000;
self.speed = 5;
this.move = function() {
this.x += self.speed
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.