User prompt
imrpove trail to look more like and engine particle
User prompt
engime particle should eemit particles
User prompt
attache trail to player and make sure it moves when player rotates.
User prompt
attach trail to the player
User prompt
do not auto rotate the player
User prompt
when player rotates, trail should keep his same shape and size, but rotate behind the player. so it should always keep the same distance and position from the player
User prompt
trail should rotate attached to the player hwne its rotating
User prompt
trail should roatate when player rotates
User prompt
player final position should be 200 pixels higher
User prompt
make trail wider
User prompt
Use this code for player trail: var Trail = Container.expand(function () { var self = Container.call(this); var trailGraphics = self.attachAsset('trail', { anchorX: 0.5, anchorY: 0.5, alpha: 0.5 }); self.speed = 5; self.update = function () { self.y += self.speed; self.alpha -= 0.02; // Fade out the trail faster self.scale.x -= 0.02; // Shrink the trail faster self.scale.y -= 0.02; // Shrink the trail faster if (self.y > 2732 || self.alpha <= 0 || self.scale.x <= 0 || self.scale.y <= 0) { self.destroy(); } }; });
User prompt
particle emitter should alwasy move downwrdas
User prompt
create a particle trail below the player. it should be from more to less and also dissapearing in time
User prompt
remove engine particle
User prompt
add a trail behind the player
User prompt
add explosion effect when an enemy is destroyed
User prompt
Migrate to the latest version of LK
Code edit (5 edits merged)
Please save this source code
User prompt
make herobullet while charging flicker faster
Code edit (1 edits merged)
Please save this source code
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
===================================================================
--- 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.