User prompt
make sure var bullet is visible
User prompt
Fix Bug: 'Timeout.tick error: bullet is not defined' in this line: 'self.addChild(bullet);' Line Number: 398
User prompt
Fix Bug: 'Timeout.tick error: bullet is not defined' in this line: 'self.addChild(bullet);' Line Number: 396
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var santaX = self.santa.x;' Line Number: 266
User prompt
when the game starts create 3 elfbullets on screen
User prompt
Fix Bug: 'Timeout.tick error: bullet is not defined' in this line: 'self.addChild(bullet);' Line Number: 396
User prompt
elfbullets are being created incorrectly because i dont see them
User prompt
Check for intersection between ElfBullet and Santa when the barn is down and set isGameOver to true
User prompt
when an elfbullet intersects with santa and the barn is up isgameover
User prompt
fix code to make elfbullets are visible
User prompt
elfbullets are not being instantiated correctly because they are currently not visible on the playspace fix it
User prompt
the elfbullet script is not working correctly, they are not visible on screen
User prompt
elfbullets should be visible in theplayspace, they seem to be hidden or not instantiated correctly
User prompt
elf bullets should travel really slowly towards santa so that the player can see them
User prompt
elf bullets should travel slowly towards santa not instantly
User prompt
where are the elfbullets?? i don't see them
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(self.x, bulletStartY, gameInstance.santa.x, gameInstance.santa.y, gameInstance);' Line Number: 77
User prompt
when a badelf is instantiated, also instantiate a elfbullet above it then make it 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, bulletStartY, self.santa.x, self.santa.y, self);' Line Number: 390
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, bulletStartY, self.santa.x, self.santa.y, self);' Line Number: 389
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, bulletStartY, self.santa.x, self.santa.y, self);' Line Number: 388
User prompt
Fix Bug: 'Timeout.tick error: Cannot read properties of undefined (reading 'x')' in this line: 'var bullet = new ElfBullet(badElf.x, bulletStartY, 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, bulletStartY, 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, bulletStartY, self.santa.x, self.santa.y, self);' Line Number: 385
User prompt
when a badelf is instantiated, also instantiate a badelf bullet above it then make it travel towards santas position
===================================================================
--- original.js
+++ change.js
@@ -384,9 +384,12 @@
var bulletStartY = badElf.y - badElf.height;
if (badElf) {
if (badElf) {
if (badElf) {
- var bullet = new ElfBullet(badElf.x, bulletStartY, self.santa.x, self.santa.y, self);
+ if (badElf) {
+ var bullet = new ElfBullet(badElf.x, bulletStartY, self.santa.x, self.santa.y, self);
+ self.addChild(bullet);
+ }
self.addChild(bullet);
}
self.addChild(bullet);
}
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