User prompt
Fix Bug: 'ReferenceError: enemiesSpawnedLastRound is not defined' in this line: 'self.frameRateCounter.update(enemiesSpawnedLastRound);' Line Number: 157
User prompt
Fix Bug: 'ReferenceError: enemiesSpawnedLastRound is not defined' in this line: 'self.frameRateCounter.update(enemiesSpawnedLastRound);' Line Number: 157
User prompt
optimise
User prompt
optimise
User prompt
Fix Bug: 'TypeError: self.incrementScore is not a function' in this line: 'self.incrementScore();' Line Number: 158
User prompt
remove the score text
User prompt
remove the gold
User prompt
fix the code
User prompt
fix the enemy spawn
User prompt
fix the enemy spawn
User prompt
show the enemy
User prompt
add 2 enemy more each round
User prompt
add 2 soldier every new round
User prompt
star with one soldier
User prompt
Fix Bug: 'TypeError: bulletsContainer.addChild is not a function' in this line: 'bulletsContainer.addChild(bullet);' Line Number: 62
User prompt
Fix Bug: 'TypeError: bulletsContainer.addChild is not a function' in this line: 'bulletsContainer.addChild(bullet);' Line Number: 62
User prompt
add 2 soldier every new round
User prompt
optimise
User prompt
fix the framerate counter
User prompt
fix the framerate counter
User prompt
fix the framerate counter to be more acurate
User prompt
add 15 enemy every new round
User prompt
add 8 enemy every round
User prompt
add 6 enemy by round
User prompt
add 3 enemy every round
===================================================================
--- original.js
+++ change.js
@@ -76,8 +76,9 @@
var Enemy = Container.expand(function (gameInstance) {
var self = Container.call(this);
self.game = gameInstance;
var enemyGraphics = self.createAsset('enemy', 'Enemy Graphics', .5, .5);
+ enemyGraphics.alpha = 1;
var enemySpeed = 25.6 * 0.7 * 0.6;
self.move = function () {
self.y += enemySpeed;
if (self.y > LK.stageContainer.height) {
A plain in a comic style with a dirt road with 4 turn staring to top to the botom see from a top and 50 meter high view Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A tower shooting at enemy in a modern style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A single soldat walking downard in a 16 bit style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.