User prompt
On the 1. map player has to connect N letters from the dots. You can only write Unlocked if you succeeded in the letter N
User prompt
Add swipe event to the game. if payer swipe it means the same then click
User prompt
Replace ,,all machines connected!" text to Unlocked
User prompt
Please fix the bug: 'TypeError: selectedMachine.unlock is not a function' in or related to this line: 'selectedMachine.unlock();' Line Number: 85
User prompt
Please fix the bug: 'ReferenceError: allConnected is not defined' in or related to this line: 'if (allConnected) {' Line Number: 113
User prompt
Rename all machines connected to Unlocked
User prompt
Add ,,M1" asset to the game. At the 1. map display M1 asset as wallpaper
User prompt
Move all the dot assets right by 520 units
User prompt
Move all the dot assets right by 525 units
User prompt
Move all the dot assets right by 530 units
User prompt
Please fix the bug: 'phone is undefined' in or related to this line: 'dot.x = phone.x;' Line Number: 67
User prompt
Move the center dot asset to the center of the phone asset
User prompt
Move all the dot assets right by 550 units
User prompt
Move all the dot assets right by 500 units
===================================================================
--- original.js
+++ change.js
@@ -55,9 +55,9 @@
// Create machines
for (var i = 0; i < 3; i++) {
for (var j = 0; j < 3; j++) {
var dot = new Machine();
- dot.x = 250 + i * 250;
+ dot.x = 250 + i * 250 + 530;
dot.y = 250 + j * 250 + 1500;
machines.push(dot);
game.addChild(dot);
}
@@ -80,9 +80,9 @@
}
};
});
// Add phone asset to the center bottom of the map
-phone = LK.getAsset('phone', {
+var phone = LK.getAsset('phone', {
anchorX: 0.5,
anchorY: 1.0,
x: 2048 / 2,
y: 2732