User prompt
Reset game should respawn the box
User prompt
After box is destroyes, inatead of game over, take the game back to the start point.
Code edit (15 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: currentX is not defined' in this line: 'self.swipeEndX = currentX > self.x + self.width / 2 ? currentX : null;' Line Number: 196
User prompt
update swipestarx and swipeendx. it should only check if shipestartx is on the left side of the box, and the swipednx is on the right side of the ebox.
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: BoxPiece is not defined' in this line: 'var piece = new BoxPiece();' Line Number: 135
User prompt
add two different assets for boxpiece
User prompt
Fix Bug: 'ReferenceError: BoxBottom is not defined' in this line: 'var bottomPiece = new BoxBottom();' Line Number: 101
User prompt
Fix Bug: 'ReferenceError: BoxTop is not defined' in this line: 'var topPiece = new BoxTop();' Line Number: 92
Code edit (6 edits merged)
Please save this source code
User prompt
if player swipes from left to right to left in the box, it should be sliced in half creating a top and bottom piece. this should not affect the swipe up or double click listeners in the box class.
Code edit (2 edits merged)
Please save this source code
User prompt
Add a new slice method to slice the box into top and bottom part. The slice gesture should cut through the box horizontally. Once sliced the box should be destroyed. this should not affect the current swipe up or double click methods.
User prompt
Add a new slice method to slice the box into top and bottom part. The slice gesture should cut through the box horizontally. Once sliced the box should be destroyed.
User prompt
if a swipe start on the 20% of the left side of the box, and ends in the 20 % of the box, it should destroy the box.
Code edit (5 edits merged)
Please save this source code
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'worldTransform')' in this line: 'var currentY = obj.event.getLocalPosition(self.parent).y;' Line Number: 159
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
move layers 100 pixels up and 100 pixels left
Code edit (2 edits merged)
Please save this source code
User prompt
remove axe layers
Code edit (3 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -66,8 +66,11 @@
}
}
lastTapTime = currentTime;
});
+ var layer0 = self.createAsset('layer0', 'Axe Layer 0 Graphics', 0.5, 0.5);
+ layer0.x -= 100;
+ layer0.y -= 100;
var layer1 = self.createAsset('layer1', 'Axe Layer 1 Graphics', 0.5, 0.5);
layer1.x -= 100;
layer1.y -= 100;
var layer2 = self.createAsset('layer2', 'Axe Layer 2 Graphics', 0.5, 0.5);
8-bit. cartoon. red button. do not touch! Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. cartoon. black tub stopper with chain. in game asset.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. cartoon. axe. in game asset. no shadow.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Break in case of emergency square. Ax drawing inside. simple. 8-bit. cartoon. blackand white.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Delete