User prompt
remove enemies
User prompt
Make the enemies spawn from the top, left, bottom and right side of the screens
User prompt
fix it
User prompt
make them appear from random positions from all directions
User prompt
create enemies that spawn from outside the screen and go towards the hero
User prompt
make the background grass green
Initial prompt
not vampire survivors
===================================================================
--- original.js
+++ change.js
@@ -39,19 +39,19 @@
enemy.x = Math.random() * 2048;
enemy.y = 0;
break;
case 1:
- enemy.x = 2048;
- enemy.y = Math.random() * 2732;
- break;
- case 2:
enemy.x = Math.random() * 2048;
enemy.y = 2732;
break;
- case 3:
- enemy.x = 0;
+ case 2:
+ enemy.x = 2048;
enemy.y = Math.random() * 2732;
break;
+ case 3:
+ enemy.x = Math.random() * 2048;
+ enemy.y = 0;
+ break;
}
enemies.push(enemy);
self.addChild(enemy);
}
vampire hunter pixel art Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art vampire, single sprite Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art boomerang Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.