User prompt
make at 30 score a golden zombie
User prompt
make it move more with every click
User prompt
make the zombies go faster the high score
User prompt
add score
User prompt
make a backgriund
User prompt
make a highscore board with every enemy killed
User prompt
make it move more with every click
User prompt
make it move more with every click
User prompt
when hit by zombie the game end
User prompt
Fix Bug: 'Uncaught TypeError: window.addEventListener is not a function' in this line: 'window.addEventListener('keydown', function (e) {' Line Number: 77
User prompt
use A keybind to move left
Initial prompt
Soccer survival
===================================================================
--- original.js
+++ change.js
@@ -8,12 +8,12 @@
self.speed = 5;
self.shootInterval = 30;
self.shootTick = 0;
self.moveLeft = function () {
- self.x = Math.max(self.width / 2, self.x - self.speed * 2);
+ self.x = Math.max(self.width / 2, self.x - self.speed * 4);
};
self.moveRight = function () {
- self.x = Math.min(2048 - self.width / 2, self.x + self.speed * 2);
+ self.x = Math.min(2048 - self.width / 2, self.x + self.speed * 4);
};
self.shoot = function () {
if (self.shootTick <= 0) {
var bullet = new HeroBullet();
zombie from top. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
foot ball. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a soccer player top down running with a ball. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
soccer field from the top. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.