Code edit (5 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
whos trace of the same color of the bullet behind it after shot
User prompt
Fix Bug: 'TypeError: heroBullets[i].move is not a function' in this line: 'if (heroBullets[i]) heroBullets[i].move();' Line Number: 324
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: sizeMultiplier is not defined' in this line: 'self.scale.x = self.scale.y = Math.max(1, sizeMultiplier);' Line Number: 61
Code edit (1 edits merged)
Please save this source code
User prompt
please make bullet decrese its size after more than 2 seconds of being hold
User prompt
hero bullet behaviour should increase it's size by 3 while holding for two seconds. after that, it should start decreasing it size back to normal for two seconds. this should be a continuous loop.
Code edit (1 edits merged)
Please save this source code
User prompt
update size multiplier: hero bullet behaviour should increase it's size by 3 while holding for two seconds. after that, it should start decreasing it size back to normal for two seconds. this should be a continuous loop.
User prompt
hero bullet behaviour should increase it's size by 3 while holding for two seconds. after that, it should start decreasing it size back to normal for two seconds. this should be a continuous loop.
User prompt
sizemultiplier should increase the herobullet size while holding for 2 seconds and if the player keeps on holing hero bullet should start decreasing until its original size
User prompt
get ready message should blink
User prompt
hero bullet should start decreasing its size after holding for two seconds. go back to its original size, and then start growing again.
User prompt
after holding for 2 seconds bullets should start decreasing back to its original size.
Code edit (1 edits merged)
Please save this source code
User prompt
herobullet should descrease its size after ir reaches its maximum size
User prompt
after reaching its maximum size, herobullet should start decreasing its size back to normal
Code edit (1 edits merged)
Please save this source code
User prompt
dont allow multitouch
===================================================================
--- original.js
+++ change.js
@@ -49,11 +49,11 @@
self.bulletGraphics.tint = 0x6EC1E4;
self.speed = -1.5;
self.damage = 1;
self.isShot = false;
- self.flickerSpeed = 0.1;
+ self.flickerSpeed = 0.7;
self.flickerMinAlpha = 0.5;
- self.flickerMaxAlpha = 1.0;
+ self.flickerMaxAlpha = 1;
self.move = function () {
self.x += self.speedX * self.scale.x * self.scale.x;
self.y += self.speedY * self.scale.y * self.scale.y;
self.rotation += LK.ticks * 0.01;
@@ -254,9 +254,9 @@
currentBullet.x = hero.x;
currentBullet.y = hero.y - hero.height / 2 - currentBullet.height / 2 - 10;
currentBullet.flickerSpeed = 0.1;
currentBullet.flickerMinAlpha = 0.3;
- currentBullet.flickerMaxAlpha = 0.7;
+ currentBullet.flickerMaxAlpha = 1;
}
});
var currentBullet = null;
var holdTime = 0;
Goku arms doing kamehameha. seen from above. 8-bit. Cartoon. In game asset. No shadow Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. Cartoon. Orange energy ball. . In game asset. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
rotate image 45 degrees
8-bit. cartoon. white energy ball. gradieint. transparent. in game asset. flicker. shoot. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit. cartoon. front view. flying final boss. white. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.