User prompt
Migrate to the latest version of LK
User prompt
Make the talk button allow to be click multiple time
User prompt
optimise the game with 5 thing
User prompt
optimise all the code
User prompt
Please fix the bug: 'ReferenceError: flirtyDialogueLines is not defined' in or related to this line: 'var dialogueLines = Math.random() < 0.5 ? casualDialogueLines : flirtyDialogueLines;' Line Number: 253
User prompt
add 10 new sentence
User prompt
Add 50 more dialogue array
User prompt
Add 50 more dialogue array
User prompt
Add 50 new dialogue array
User prompt
Add 30 new dialogue array
User prompt
add 20 new dialogue array
User prompt
Add 20 new dialogue array
User prompt
Add 10 new dialogue array
User prompt
Add 10 new dialogue
User prompt
add casualdialogue 2
User prompt
Fix Bug: 'ReferenceError: casualDialogueLines is not defined' in this line: 'var dialogueLines = Math.random() < 0.5 ? casualDialogueLines : flirtyDialogueLines;' Line Number: 75
User prompt
Fix Bug: 'ReferenceError: casualDialogueLines is not defined' in this line: 'var dialogueLines = Math.random() < 0.5 ? casualDialogueLines : flirtyDialogueLines;' Line Number: 71
User prompt
add 3 new casualdialogueline array with only 4 dialogue each
User prompt
add 10 new dialogue
User prompt
Fix Bug: 'ReferenceError: casualDialogueLines is not defined' in this line: 'var dialogueLines = Math.random() < 0.5 ? casualDialogueLines : flirtyDialogueLines;' Line Number: 85
User prompt
Fix Bug: 'ReferenceError: casualDialogueLines is not defined' in this line: 'var dialogueLines = Math.random() < 0.5 ? casualDialogueLines : flirtyDialogueLines;' Line Number: 76
User prompt
add two new casual dialogue array with 3 dialogue each
User prompt
Fix Bug: 'ReferenceError: casualDialogueLines is not defined' in this line: 'var dialogueLines = Math.random() < 0.5 ? casualDialogueLines : flirtyDialogueLines;' Line Number: 85
User prompt
Fix Bug: 'ReferenceError: casualDialogueLines is not defined' in this line: 'var dialogueLines = Math.random() < 0.5 ? casualDialogueLines : flirtyDialogueLines;' Line Number: 76
User prompt
add two new casual dialogue array with 3 dialogue each
===================================================================
--- original.js
+++ change.js
@@ -33,9 +33,9 @@
});
self.addChild(mouthGraphics);
self.talking = false;
self.talkScale = 1;
- self.update = function () {
+ self._update_migrated = function () {
if (self.talking) {
self.talkScale += 0.02;
if (self.talkScale > 1.2) {
self.talking = false;
@@ -260,9 +260,9 @@
var scaleFactor = 1 + Math.sin(time * Math.PI / self.breathDuration) * 0.05 / 3;
this.scale.x = scaleFactor;
this.scale.y = scaleFactor;
};
- self.update = function () {
+ self._update_migrated = function () {
if (self.state === 'breathing' || self.state === 'talking') {
self.updateBreathing();
}
};
@@ -319,10 +319,10 @@
nose.y = girlfriend.y - 40 * breathScale;
var breathScale = girlfriend.scale.x;
game.mouth.x = girlfriend.x + 95 * breathScale;
game.mouth.y = girlfriend.y + 180 * breathScale;
- game.mouth.update();
- girlfriend.update();
+ game.mouth._update_migrated();
+ girlfriend._update_migrated();
});
var dialogueTxt = new Text2('', {
size: 150,
fill: "#ffffff",
@@ -335,9 +335,9 @@
dialogueTxt.anchor.set(.5, 0);
LK.gui.top.addChild(dialogueTxt);
LK.on('tick', function () {
var breathScale = girlfriend.scale.x;
- girlfriend.update();
+ girlfriend._update_migrated();
game.mouth.x = girlfriend.x + 95 * breathScale;
game.mouth.y = girlfriend.y + 180 * breathScale;
- game.mouth.update();
+ game.mouth._update_migrated();
});
\ No newline at end of file
A beautiful woman in a anime style with no eye, no eyebrow and no mouth. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An eye in a anime style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A beautiful and slim nose in a anime style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A beautiful women mouth in a manga style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A restaurant background in a anime style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A talk button with a buble and a word 'talk'. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A ta dialogue text buble in anime style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.