User prompt
after first blocks makes contact with the base block on bottom other blocks are not falling.
User prompt
when a block reaches to bottom the game kind of stops. i mean when i drop other blocks they are not falling they are just stuck on crane. you can fix it by adding a base block where player stacks the blocks onto. oh and when you are adding that make sure they dont go through themselves and stack
User prompt
when a block reaches bottom the game stops and i cant release any more blocks. fix that.
User prompt
the block i dropped from crane goes through basis block. it should stack instead.
User prompt
the game stops when block hits the bottom and i can release any more blocks. i suppose you think that the game is over but there is no basis block to drop to. so add a basis block so i can stack on that.
User prompt
now they are moving in opposite directions. i want block on the crane move synced with crane
User prompt
block on crane is not moving with the crane
User prompt
first block is too close to the block on the crane. fix that
User prompt
regardless of the crane motion and when i release the block, the block falls from same place everytime so please fix that.
Initial prompt
Skyline Stacker
===================================================================
--- original.js
+++ change.js
@@ -86,10 +86,10 @@
currentBlock = new Block();
game.addChild(currentBlock);
}
if (!currentBlock.falling) {
- currentBlock.x = crane.x + Math.sin(crane.rotation) * 100;
- currentBlock.y = crane.y + Math.cos(crane.rotation) * 100 + 100; // Increase the initial y position of the block
+ currentBlock.x = crane.x;
+ currentBlock.y = crane.y + 100;
}
currentBlock.update();
checkCollisions();
};