User prompt
Create only one buble text by citizen
User prompt
Create two lumberjack at begining and stop spawning more
User prompt
Optimise conversation text fluidity
User prompt
Create only one lumberjack at begining
User prompt
Two lumberjack max and conversation text has to be close to the citizen who talk
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'push')' in this line: 'self.clouds.push(cloud);' Line Number: 1249
User prompt
Optimise
User prompt
Add 2 new conversation text
User prompt
Optimise conversation fluidity
User prompt
Add 2 new conversation
User prompt
Optimise conversation fluidity
User prompt
Buble live Only the Time of the conversation
User prompt
Fix conversation buble
User prompt
Fix Bug: 'Timeout.tick error: Cannot set properties of undefined (setting 'speed')' in this line: 'self.speed = 6;' Line Number: 989
User prompt
When talking citizen stop movement for one second
User prompt
Optimise talk fluidity
User prompt
Add new talk subject
User prompt
Conversation text are 10 pixel up the citizen talking
User prompt
Fix conversation text not showing
User prompt
Show conversation text
User prompt
Conversation take 2 second and citizen walk again after talking
User prompt
Show the conversation text and dont start a new talk if the last talk was less than 10 second earlier
User prompt
Fix Bug: 'ReferenceError: SpeechBubble is not defined' in this line: 'var speechBubble = new SpeechBubble(parent, question.q, self.delay);' Line Number: 435
User prompt
Add more conversation with question and answer. Each question can have 5 différent answer. Show the buble text
User prompt
Optimise talk a lot
===================================================================
--- original.js
+++ change.js
@@ -1012,9 +1012,11 @@
this.initiateConversation(message, otherLumberjack);
};
Lumberjack.prototype.initiateConversation = function (message, otherLumberjack) {
var speechBubble = new SpeechBubble(message, this);
- this.addChild(speechBubble);
+ speechBubble.x = this.x - speechBubble.width / 2;
+ speechBubble.y = this.y - this.height / 2 - speechBubble.height;
+ LK.gui.topLeft.addChild(speechBubble);
this.speed = 0;
var that = this;
LK.setTimeout(function () {
that.speed = 6;
@@ -1267,8 +1269,18 @@
}
});
};
this.createVillagers(['Miner', 'Fisherman', 'Guard', 'Farmer', 'Blacksmith', 'Merchant', 'Gardener'], 4);
+ for (var i = 0; i < 2; i++) {
+ var iq = Math.random() * 50 + 50;
+ var x = Math.random() * 2048;
+ var y = Math.random() * 2732;
+ var lumberjack = new Lumberjack(self.resources, iq);
+ lumberjack.x = x;
+ lumberjack.y = y;
+ self.addChild(lumberjack);
+ self.villagers.push(lumberjack);
+ }
for (var i = 0; i < 4; i++) {
var iq = Math.random() * 50 + 50;
var x = Math.random() * 2048;
var y = Math.random() * 2732;
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.