User prompt
enemyy boss can onlyhave bright colors
User prompt
add blinking effect to enemy boss
Code edit (2 edits merged)
Please save this source code
User prompt
enemy boss should always move inside the screen
Code edit (1 edits merged)
Please save this source code
User prompt
enemy boss should swing to the sides while moving down towards the hero
Code edit (11 edits merged)
Please save this source code
User prompt
spawn clouds less ofter
User prompt
Fix Bug: 'TypeError: LK.effects.blurObject is not a function' in this line: 'LK.effects.blurObject(bg1, 5, 500);' Line Number: 153
User prompt
add blur effect on background connection between bg1 and bg
User prompt
fade in and out the ready message
Code edit (1 edits merged)
Please save this source code
User prompt
add se second line with differnt font size below ready message
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
add get ready message on game start
Code edit (1 edits merged)
Please save this source code
User prompt
make hero bullet auto rotate on its axis
User prompt
make hero bullet spin on its axis fast. also when its growing its size and still.
User prompt
Fix Bug: 'TypeError: Cannot read properties of null (reading 'rotation')' in this line: 'currentBullet.rotation += 0.5;' Line Number: 203
Code edit (3 edits merged)
Please save this source code
User prompt
make hero bullet spin fast on its own axis all the time
Code edit (2 edits merged)
Please save this source code
User prompt
make hero bullet spin on its axis
User prompt
make bullet default colo a little more blue
===================================================================
--- original.js
+++ change.js
@@ -1,26 +1,8 @@
var EnemyBoss = Container.expand(function (hero) {
var self = Container.call(this);
- self.blinking = false;
- self.blinkingSpeed = 0.1;
- self.blinkingMinAlpha = 0.3;
- self.blinkingMaxAlpha = 1.0;
- self.toggleBlinking = function () {
- self.blinking = !self.blinking;
- };
- self.on('tick', function () {
- if (self.blinking) {
- self.alpha += self.blinkingSpeed;
- if (self.alpha <= self.blinkingMinAlpha || self.alpha >= self.blinkingMaxAlpha) {
- self.blinkingSpeed *= -1;
- }
- self.alpha = Math.max(self.blinkingMinAlpha, Math.min(self.alpha, self.blinkingMaxAlpha));
- }
- self.move();
- self.shoot();
- });
var bossGraphics = self.createAsset('enemyBoss', 'Enemy Boss Graphics', .5, .5);
- bossGraphics.tint = Math.random() * 0xFFFFFF;
+ bossGraphics.tint = 0xFFFFFF * (0.5 + Math.random() * 0.5);
self.speedY = 3;
self.hero = hero;
self.lifebar = self.createAsset('lifebar', 'Boss Lifebar', .5, 0);
self.lifebar.y = -self.lifebar.height - 170;
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.