User prompt
magic is not moving and should be traveling towards santa gradually
User prompt
when magic is created, slowly travel towards the center of santa
User prompt
"☻" should only be visible for 1 second
User prompt
"☻" should only be visible for 2 seconds
User prompt
remove "thanks" and keep "☻"
User prompt
scale "☻" bigger
User prompt
when left clicking on magic, destroy magic and add +1 to the score
User prompt
Fix Bug: 'ReferenceError: magic is not defined' in this line: 'self.gameInstance.removeChild(magic);' Line Number: 103
User prompt
when badelf is destroyed, also destroy magic
User prompt
move magic in the center of badelf
User prompt
when badelf is created, create on top of it something called magic
User prompt
when badelf is created, elfbullet is created on top of badelf
User prompt
elfbullet is spawned incorrectly because the score never goes up, find the problem and fix it
User prompt
not gonna lie bro elfbullet is never spawning, your logic is flawed
User prompt
elf bullet is not being created correctly on the playspace
User prompt
elfbullet is not being instantiated correctly fix it
User prompt
if elfbullet spawns add +1 to score
User prompt
create a check to see if elfbullet spawns
User prompt
elfbullet should be visible at all time, it is currently not visible
User prompt
elfbullet is a projectile that should travel from badelf position towards santa at a slow speed
User prompt
when a badelf is created, create a elfbullet at position x & y of badelf traveling slowly towards santa
User prompt
instead of "Thank You" write "☻Thanks!"
User prompt
move the "Thank You" text to the center of the badelf
User prompt
when badelf is destroyed create white text for 3 seconds that says "Thank You"
User prompt
when badelf is destroyed create white text above it for 3 seconds that says "Thank You"
===================================================================
--- original.js
+++ change.js
@@ -4,10 +4,10 @@
var dx = santaX - self.x;
var dy = santaY - self.y;
var distance = Math.sqrt(dx * dx + dy * dy);
if (distance > 1) {
- self.x += dx / distance * 2;
- self.y += dy / distance * 2;
+ self.x += dx / distance * 0.5;
+ self.y += dy / distance * 0.5;
}
};
LK.on('tick', function () {
if (self.parent && self.parent.santa) {
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