User prompt
play ha when shooting
User prompt
play explosion when enemy is destroyed
User prompt
play haaaa when touch is held and stop playing it and play ha when released.
User prompt
play ha when shot is done
User prompt
add a small trail to player shoot
User prompt
Please fix the bug: 'ReferenceError: heroGraphics is not defined' in or related to this line: 'currentBullet.y = hero.y - heroGraphics.height / 2;' Line Number: 451
User prompt
Please fix the bug: 'ReferenceError: heroGraphics is not defined' in or related to this line: 'currentBullet.y = hero.y - heroGraphics.height / 2;' Line Number: 451
User prompt
mvoe bullet spawn to the top of the player not the center
Code edit (1 edits merged)
Please save this source code
User prompt
move player 400 pixels down
User prompt
remove player trail
User prompt
remove effect of player moving in on game start
User prompt
add alpha to trail sot that it blend with player
User prompt
Please fix the bug: 'ReferenceError: utils is not defined' in or related to this line: 'self.tint = utils.rgb2hex([self.alpha, self.alpha, self.alpha]);' Line Number: 176
User prompt
mae trail particle better
User prompt
plaer trail shoudl have alpha
User prompt
trail particle for player should look like from more to less
User prompt
create a new separate asset for the bullet trail
User prompt
bullet positionn should not have been moved to the bottom of the player
User prompt
player trail should be attached to the bottom of the player not the center
User prompt
player trail should move in the oposite direction the player is facing
User prompt
play ha on shot
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'global')' in or related to this line: 'hero.y -= step;' Line Number: 458
User prompt
use a different trail particle for hero and for bullet
User prompt
trail is only blinking, want to make it more like an emmiter that emits particles as a player trail
===================================================================
--- original.js
+++ change.js
@@ -287,8 +287,9 @@
game.spawnEnemy();
}
});
game.on('up', function (x, y, obj) {
+ LK.getSound('ha').play();
if (currentBullet) {
var pos = game.toLocal(obj.global);
var dx = pos.x - hero.x;
var dy = pos.y - hero.y;
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.