===================================================================
--- original.js
+++ change.js
@@ -44,9 +44,11 @@
if (self.y > 2732) {
self.destroy();
missedEnemies.push(self);
updateMissedEnemiesList();
- gameOver();
+ if (missedEnemies.length > 10) {
+ gameOver();
+ }
}
};
});
//<Assets used in the game will automatically appear here>
create a tower in a tower defense game. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
GIF animation of arrows animation with a spark at the end of the sprite animation. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
SINGLE alien in BLUE color with GIF animation of arrows animation with a spark at the end of the sprite animation. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.