User prompt
Stop making the score counting by itself.
User prompt
How to make the hero consume blocks?
User prompt
Hero can consume blocks.
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'self.x = pos.x;' Line Number: 60
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'self.x = pos.x;' Line Number: 60
User prompt
Fix all bugs
User prompt
Panda able to get the blocks and score a point
User prompt
If panda cannot consume the blocks, let the blocks fall out of the screen
User prompt
Blocks2 asset remove
User prompt
Fix the bugs of the game.
User prompt
Fix hero that needs to disable from moving blocks
User prompt
Fix when hero can push blocks to left
User prompt
Fix when hero pushing blocks to right
User prompt
When the hero touches the box, it will be gone and you will get a point
User prompt
Fix of spawn game over whenever it goes right instead of bottom
User prompt
Fix lang due to blocks falling
User prompt
Spawn game over when a block falls out of the screen
User prompt
Fixgetting too much score when a box is stuck to hero
User prompt
Make the blocks fall faster
User prompt
Avoid blocks to stick with the hero
User prompt
Red warning when a block fall
User prompt
Hero on bottom
User prompt
Add game over when one block fall
User prompt
When the blocks fell over, it shows game over
===================================================================
--- original.js
+++ change.js
@@ -111,9 +111,8 @@
LK.effects.flashScreen(0xff0000, 1000);
LK.showGameOver();
return;
}
- hero.move();
for (var a = blocks.length - 1; a >= 0; a--) {
blocks[a].move(hero);
if (blocks[a].y < -50) {
blocks[a].destroy();