Code edit (11 edits merged)
Please save this source code
User prompt
Make the gate2 move with the background1
User prompt
Add gate2 to level1
Code edit (1 edits merged)
Please save this source code
User prompt
Make gate1 moved with background1 when drage background1 image from this position.
User prompt
Add gate1 to the level1
User prompt
Add assets gate1 2 3 4 5 6
User prompt
make the image can be dragged by any point in it not just from center of it.
User prompt
Make the Image follow the cursor by click in exact same time
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'getLocalPosition')' in or related to this line: 'var newPosition = self.data.getLocalPosition(self.parent);' Line Number: 77
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'getLocalPosition')' in or related to this line: 'var newPosition = self.data.getLocalPosition(self.parent);' Line Number: 77
User prompt
Move the image in exact same time with the cursor to avoid the vibrating of the image when dragge it.
User prompt
Increase the speed movement of the background1 image
User prompt
don't center the image let it move freely from the clicked point and don't teleport the image to the cursor
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'getLocalPosition')' in or related to this line: 'var newPosition = self.data.getLocalPosition(self.parent);' Line Number: 73
User prompt
let the dragge be smooth for no vibration from the background1 image
User prompt
make the background1 bigger
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'getLocalPosition')' in or related to this line: 'var newPosition = self.data.getLocalPosition(self.parent);' Line Number: 71
User prompt
Add dragge to the background1 image
User prompt
remove the duplication of the background1!
User prompt
make the background 1 in the center of the screen
User prompt
add other levels and there backgrounds to the game
User prompt
Add level1 class and background1 class
User prompt
Add its background1
User prompt
Add level to the game
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 }); /**** * Game Code ****/ var level = 1;
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
/****
* Game Code
****/
var level = 1;
2D wreckage of wood, square, HD colors. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
House from the front facing the screen with big sign above it have description "SHOP", Hd colors
coin, have "AD" not "$", hd colors. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows