User prompt
Fix Bug: 'ReferenceError: bullets is not defined' in this line: 'bullets.push(newCrosshair);' Line Number: 58
User prompt
change bullet to crosshair
User prompt
position santa at the bottom right of the screen
User prompt
delete santa1
User prompt
when santa is idle, use santa1 when left clicking use santa
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'height')' in this line: 'self.y = -bulletGraphics.height / 2;' Line Number: 21
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'height')' in this line: 'self.y = -bulletGraphics.height / 2;' Line Number: 21
User prompt
layer santa1 above santa
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in this line: 'santa.x = 2048 - santa.santaGraphics.width / 2;' Line Number: 33
User prompt
create santagraphic0 with santa and santagraphic1 with santa1
User prompt
When shooting with left click change image to santa instead of santa1
User prompt
move santa to the bottom right of the screen
User prompt
move santa to the bottom left of the screen
User prompt
self.santaGraphics.alpha = 1
User prompt
hide santa1
User prompt
lower the two santas at the bottom of the screen
User prompt
position santa on top of santa1
User prompt
Santa is img 0 , create a santa 1
User prompt
change santa position to be a bit lower
User prompt
change santa position to be a bit lower
User prompt
change santa position to be a little bit lower
User prompt
change santa position to be a little bit lower
User prompt
change santas position a higher
User prompt
position santa at the bottom of the screen
User prompt
Fix Bug: 'ReferenceError: bulletGraphics is not defined' in this line: 'newBullet.y = santa.y - santa.santaGraphics.height / 2 - bulletGraphics.height / 2;' Line Number: 56
===================================================================
--- original.js
+++ change.js
@@ -27,9 +27,9 @@
var Game = Container.expand(function () {
var self = Container.call(this);
LK.stageContainer.setBackgroundColor(0x008080);
var santa = self.addChild(new Santa());
- santa.x = santa.santaGraphics.width / 2;
+ santa.x = 2048 - santa.santaGraphics.width / 2;
santa.y = 2732 - santa.santaGraphics.height / 2;
var gifts = [];
var enemies = [];
var bullets = [];
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