User prompt
where are the badelfbullets??? i dont see them
User prompt
make sure the badelf bullets are visible on screen i cannot see them
User prompt
instantiate badelf bullets at the position of a badelf after a badelf is created then make the elfbullet travel towards santas position
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, badElf.y, self.santa.x, self.santa.y, self);' Line Number: 387
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, badElf.y, self.santa.x, self.santa.y, self);' Line Number: 386
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, badElf.y, self.santa.x, self.santa.y, self);' Line Number: 384
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, badElf.y, self.santa.x, self.santa.y, self);' Line Number: 383
User prompt
instantiate badelf bullets at the position of a badelf after a badelf is created
User prompt
i don't see the elfbullets where are theY?
User prompt
badelf can only spawn after the score is visible and active on screen
User prompt
spawn one to two badelf at 3 to 6 seconds intervals
User prompt
badelf can only spawn after the score is instantiated
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(self.x, self.y, self.gameInstance.santa.x, self.gameInstance.santa.y, self.gameInstance);' Line Number: 76
User prompt
when a badelf is created, instantiate also an elfbullet at the same position
User prompt
active badelf cannot spawn at the same position
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, badElf.y, self.santa.x, self.santa.y, self);' Line Number: 368
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, badElf.y, self.santa.x, self.santa.y, self);' Line Number: 367
User prompt
when a badelf is created, spawn 1 second later an elfbullet on top of the badelf spawned position
User prompt
elfbullets should be on the same layer as badelf
User prompt
i'm not seeing any elfbullets can you please fix it
User prompt
elfbullets should travel starting from an active badelf position and travel towards santas position
User prompt
its not working fix the badelf shooting elfbullets
User prompt
fix badelf, they should be shooting elfbullets and its not working
User prompt
elfbullets are still not visible
User prompt
i'm playing the game right now and i don't see the badelf bullets at all
===================================================================
--- original.js
+++ change.js
@@ -64,9 +64,9 @@
self.shoot = function () {
if (self.gameInstance && self.gameInstance.santa) {
if (self.visible) {
var bullet = new ElfBullet(self.x + self.width / 2, self.y + self.height / 2, self.gameInstance.santa.x, self.gameInstance.santa.y, self.gameInstance);
- self.gameInstance.addChild(bullet);
+ self.parent.addChild(bullet);
}
}
};
LK.setInterval(self.shoot, Math.random() * (5000 - 2000) + 2000);
over the shoulder santa firing a revolver Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d transparent christmas crosshair Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d 3rd person front view of a christmas town square with a starry sky Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Christmas sparkles png Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
circular christmas golden star pattern transparent png Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas brick wall Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d opened christmas crate Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d diagonal christmas car or truck in snow Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a christmas poster showcasing miss santa clause Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a single white snowflake Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d stacked christmas winter tire Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d stacked christmas winter tire Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas magical mistletoe Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas 357 Magnum bullets Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d silhouette of a flying reindeer with a red glowy nose Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas dark sparkles Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d christmas evil robot elf with a gun Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d pile of gray and red nuts and bolts Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
transparent snow sphere. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
snd_pistol
Sound effect
snd_enemyshot
Sound effect
snd_obstacle
Sound effect
snd_messages
Sound effect
snd_ricochet
Sound effect
snd_reindeer
Sound effect
snd_mistletoe
Sound effect
snd_reindeershot
Sound effect
snd_mistletoeshot
Sound effect
snd_christmasmusic
Music
snd_reload
Sound effect
snd_blastwave
Sound effect