User prompt
dubbel the speed of the bullet
User prompt
delete the heroBullet when there off screen
User prompt
Increase the speed of the knockback 2 times
User prompt
Increase the speed of the knockback 2 times
User prompt
Increase the speed of the knockback 2 times
User prompt
increase de speed from de knockback
User prompt
ik wil dat je 100% knock back increase
User prompt
maak de knockback ietsjes heftiger
User prompt
er is nog steeds geen knockback
User prompt
ik wil dat de player naar achter gaat als de bullet naar voren gaat
User prompt
remove niet de bullet als de nieuwe er is
User prompt
hij doet het niet
User prompt
✅ Add knockback effect to Hero when shooting dit doet het niet
User prompt
add knockback effect from Hero when shooting
User prompt
de hero beweegt niet als hij schiet want hij zal en moet een tegen slag krijgen van het schieten
User prompt
laat het schieten voor zorgen dat de hero rustig achter uit gaat als of het in space zitten
User prompt
ik wil dat de knockback smooth wordt
User prompt
laat de hero niet verdwijen
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'push')' in this line: 'self.parent.heroBullets.push(newBullet);' Line Number: 37
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'addChild')' in this line: 'LK.game.addChild(newBullet);' Line Number: 36
User prompt
laat de bullet uit de hero komen
User prompt
de bullet komt ergens uit
User prompt
ik wil dat de movement de knockback wordt zodat je zo naar voor en naar achtere kan bewegen
User prompt
na elke klik wordt de knockback erger en dat moet niet dus kan je er voor zorgen elke klik even veel knock back geeft
User prompt
Fix Bug: 'TypeError: setTimeout is not a function' in this line: 'setTimeout(function () {' Line Number: 83
===================================================================
--- original.js
+++ change.js
@@ -30,10 +30,10 @@
}
};
var heroGraphics = self.createAsset('hero', 'Hero character', .5, .5);
self.knockback = function (dx, dy) {
- self.dx = -dx * 6;
- self.dy = -dy * 6;
+ self.dx = -dx * 10;
+ self.dy = -dy * 10;
};
});
var Enemy = Container.expand(function () {
var self = Container.call(this);
watergun Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
water ball Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
water health bar Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
fire Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
blue play button Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
explosion smoke Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.