Initial prompt
Tap break objects idle
User prompt
Please fix the bug: 'Uncaught TypeError: object.containsPoint is not a function' in or related to this line: 'if (object.containsPoint(localPos)) {' Line Number: 64
User prompt
Destroy all code
User prompt
place the bg, and increase it until it is the size of the screen
User prompt
Place the rope
User prompt
Too big, make the rope smaller
User prompt
leave the string ratio at the image size ratio
User prompt
is very stretched
User prompt
Aumente o tamanho da corda.
User prompt
Aumente mais!
User prompt
deixe mais esticado na vertical
User prompt
Coloque mais esticado.
User prompt
É pra colar, é pra criar a madeira e posicionar na corda. Não é tão difícil não!
User prompt
Meu Deus, que item pequeno! Aumenta pra caralho!
User prompt
Coloque a madeira mais pra baixo, muito mais pra baixo, mas não exagere.
User prompt
Coloque bem mais a madeira para baixo.
User prompt
Coloque mais para baixo.
Code edit (8 edits merged)
Please save this source code
Code edit (4 edits merged)
Please save this source code
User prompt
Aumente o tamanho do objeto.
Code edit (4 edits merged)
Please save this source code
User prompt
O personagem na frente da corda, eu tô falando a posição, porra!
User prompt
Agora, crie o personagem.
User prompt
O personagem tá parecendo uma formiga. Aumenta o tamanho dele.
User prompt
Aumenta mais o personagem.
===================================================================
--- original.js
+++ change.js
@@ -1,8 +1,22 @@
-/****
+/****
* Initialize Game
-****/
+****/
//<Assets used in the game will automatically appear here>
//<Write imports for supported plugins here>
var game = new LK.Game({
backgroundColor: 0x000000
-});
\ No newline at end of file
+});
+
+/****
+* Game Code
+****/
+// Initialize the background image
+var bg = LK.getAsset('Bg', {
+ anchorX: 0.0,
+ anchorY: 0.0,
+ scaleX: 2048 / 100,
+ // Scale to fit the screen width
+ scaleY: 2732 / 98.44 // Scale to fit the screen height
+});
+// Add the background image to the game
+game.addChild(bg);
\ No newline at end of file
A small piece of wood.
a hanging rope. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
piece_of_wood. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Upgrade button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Gold_button_icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
crown. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
raw piece of wood. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Metal. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Chair. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
create a hand icon breaking a brick in half. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Play_button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Diamond_icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
pixel person with black hair, black pants, black eyes, and blue clothes making a V with hands jumping in a rain of diamonds. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
Shop_icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows