User prompt
fix the villager text not apairing
User prompt
move the villager text uppfront and in the center off the screen
User prompt
show the villager count text
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'getElementById')' in this line: 'document.getElementById('villagerCount').textContent = 'Villagers: ' + villagers.length;' Line Number: 125
User prompt
show a text with the number off villager at the botom right of the screen
User prompt
every 0.1 second a villager is create and spawn to a house
User prompt
the villager have to go back to house after work and after going back to work again. the villager move 3 time faster
User prompt
improve villager
User prompt
villager dont have colision
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'x')' in this line: 'self.moveTo(self.home.x, self.home.y);' Line Number: 39
User prompt
fix the villager not going back to house after work
User prompt
When villager finish their work they go back to a house
User prompt
the villager have to work 1 second ond go back to a house
User prompt
the villager move 4 time faster
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'self.moveTo(self.home.x, self.home.y);' Line Number: 37
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in this line: 'villager.moveTo(villager.workplace.x, villager.workplace.y);' Line Number: 94
User prompt
When the game start, the villager has to move on the workplace and start working for 2 second. After that time they gain 50 point of a random resource and go back to the closer house
User prompt
move the resource text 100 pixel to the right
User prompt
move the resource 500 pixel to the left
User prompt
move the resource text 800 pixel to the left
User prompt
move the resource text to the top center of the screen
User prompt
show the resource on the top center of the screen
User prompt
Show the number off all resource on screen
User prompt
the villager habe to be less close to the house
User prompt
Create only one workpace at begining, one house center to the screen and two villager close to the house
===================================================================
--- original.js
+++ change.js
@@ -91,9 +91,8 @@
});
villagerCountText.anchor.set(0.5, 0);
villagerCountText.x = 2048 / 2;
villagerCountText.y = 50;
- LK.gui.topCenter.addChild(villagerCountText);
var houses = [new House()];
houses[0].x = 2048 / 2;
houses[0].y = 2732 / 2;
self.addChild(houses[0]);
A background of a paysage with plain and without tree or montainbut no water see from the top in the air 100m by 100m Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
One human medieval villager in a warcraft 2 style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a house in a warcraft 2 style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A tree a rock and crambery in a RTS style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A heart comic style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A cloud in a comic style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A market in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An Inn in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An school in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An bakery in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A well in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A tree in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An apple in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A rock in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A home in a RTS and fantasy style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A brewery in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A lumberjack in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a marketplace in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a festival in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.