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
User prompt
move layer 4 100 pixels up and 100 to the left
Code edit (3 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: 146
Code edit (10 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: 146
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -1,4 +1,8 @@
+var BoxBottom = Container.expand(function () {
+ var self = Container.call(this);
+ var boxBottomGraphics = self.createAsset('boxBottom', 'Box Bottom Graphics', 0.5, 0.5);
+});
var BoxTop = Container.expand(function () {
var self = Container.call(this);
var boxTopGraphics = self.createAsset('boxTop', 'Box Top 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