User prompt
when villager kiss they make a baby
User prompt
make the villager kiss more
User prompt
when villager fall in love and kiss each other their create a child who spawn a new villager
User prompt
improve viller IQ to be 10 time smarter
User prompt
update the resource text
User prompt
start with 100 resource of each
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'wood')' in this line: 'resourceDisplayText.setText('Resources: Wood ' + self.gameResources.wood.amount + ' Rock ' + self.gameResources.rock.amount + ' Food ' + self.gameResources.food.amount);' Line Number: 263
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'update')' in this line: 'self.resourceDisplay.update(self.resources);' Line Number: 324
User prompt
update resource text base on current resource
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'food')' in this line: 'if (self.resources.food.amount >= 10) {' Line Number: 404
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'food')' in this line: 'if (Game.prototype.resources.food.amount >= 10) {' Line Number: 404
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'food')' in this line: 'if (self.resources.food.amount >= 10) {' Line Number: 404
User prompt
spawn a villager by using 10 fonnd resource if available
User prompt
create 10 villager every ms
User prompt
create a viller every ms
User prompt
add a villager every 0.001 second
User prompt
add a vilager very 0.01 second
User prompt
Fix Bug: 'ReferenceError: timerText is not defined' in this line: 'timerText.setText('Time: ' + elapsedTime);' Line Number: 410
User prompt
Fix Bug: 'ReferenceError: timerText is not defined' in this line: 'timerText.setText('Time: ' + elapsedTime);' Line Number: 410
User prompt
Fix Bug: 'ReferenceError: startTime is not defined' in this line: 'var elapsedTime = Math.floor((currentTime - startTime) / 1000);' Line Number: 408
User prompt
Fix Bug: 'ReferenceError: startTime is not defined' in this line: 'var elapsedTime = Math.floor((currentTime - startTime) / 1000);' Line Number: 400
User prompt
Fix Bug: 'framerateText is not defined' in this line: 'framerateText.anchor.set(0, 1);' Line Number: 285
User prompt
Fix Bug: 'Uncaught ReferenceError: framerateText is not defined' in this line: 'framerateText.anchor.set(0, 1);' Line Number: 285
User prompt
show a timer
User prompt
a new villager is spawn every 0.1 second
===================================================================
--- original.js
+++ change.js
@@ -319,10 +319,11 @@
LK.gui.topCenter.addChild(self.timerText);
self.startTime = Date.now();
self.villagers = [];
self.villagerAndFramerateDisplay = new VillagerAndFramerateDisplay(self);
+ self.resourceDisplay = new ResourceDisplay(resources);
self.updateResourceDisplay = function () {
- self.resourceDisplay.update(self.resources);
+ self.resourceDisplay.update();
};
self.handleVillagersFallingInLove = function () {
for (var i = 0; i < self.villagers.length; i++) {
for (var j = i + 1; j < self.villagers.length; j++) {
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.