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
@@ -57,15 +57,13 @@
player = game.addChild(new Player());
player.x = 2048 / 2;
player.y = 2732 - 200;
// Create enemies
- for (var i = 0; i < 1; i++) {
- var enemy = new Enemy();
- enemy.x = Math.random() * 2048;
- enemy.y = Math.random() * 1000;
- enemies.push(enemy);
- game.addChild(enemy);
- }
+ var enemy = new Enemy();
+ enemy.x = Math.random() * 2048;
+ enemy.y = Math.random() * 1000;
+ enemies.push(enemy);
+ game.addChild(enemy);
// Create maze walls
for (var j = 0; j < 10; j++) {
var wall = new Wall();
wall.x = Math.random() * 2048;