User prompt
make the enemy stay at the middle top of the screen
User prompt
make the wall count to 1
User prompt
make the enemy to the top of the screen
User prompt
make the wall longer to y
User prompt
make the wall chilling at the top of the screen and bottom of the enemy
User prompt
make the red flash is displayed longer to 3 seconds
User prompt
make the wall count to 1
User prompt
make the enemy chilling at the top of the screen
User prompt
make the enemy to 1
User prompt
make the enemy count to 1
Initial prompt
BEDROOM OF DOOM
===================================================================
--- original.js
+++ change.js
@@ -64,10 +64,10 @@
enemies.push(enemy);
game.addChild(enemy);
// Create a single maze wall
var wall = new Wall();
- wall.x = Math.random() * 2048;
- wall.y = Math.random() * 2732;
+ wall.x = enemy.x;
+ wall.y = enemy.y + enemy.height + 10;
walls.push(wall);
game.addChild(wall);
// Initialize score text
scoreTxt = new Text2('Score: 0', {