Code edit (4 edits merged)
Please save this source code
Code edit (10 edits merged)
Please save this source code
User prompt
else if (self.tickCount > 15) { self.moveSpeed *= 0.95; self.y += Math.cos(self.angle) * self.moveSpeed + (self.tickCount - 30) * 0.5; } else { self.y += Math.cos(self.angle) * self.moveSpeed + self.tickCount * 0.1; } make sure, this naughty snowball fall after 15 ticks
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -565,14 +565,15 @@
self.moveSpeed = snowballType === 'glueSnowball' || snowballType === 'badNut' ? 20 : 10;
self.tickCount = 0;
self.angle = 0;
self.move = function () {
- if (!self.glueSnowball || !self.badNut) {
+ if (!self.glueSnowball && !self.badNut) {
self.y += Math.sin(self.angle) * self.moveSpeed;
- } else if (self.tickCount > 15) {
- self.y += Math.sin(self.angle) * self.moveSpeed + (self.tickCount - 15) * 0.5;
+ } else if (self.tickCount > 30) {
+ self.moveSpeed *= 0.98;
+ self.y += Math.sin(self.angle) * self.moveSpeed + (self.tickCount - 30) * 0.5;
} else {
- self.y += self.moveSpeed + self.tickCount * 0.1;
+ self.y += Math.sin(self.angle) * self.moveSpeed + self.tickCount * 0.1;
}
self.x += Math.cos(self.angle) * self.moveSpeed;
self.rotation += 0.1;
self.tickCount++;
@@ -623,9 +624,9 @@
snowballDelivery: true
};
var enemyBadUpgrades = {
doublePack: false,
- badGirls: true,
+ badGirls: false,
deadlySnowfall: false,
hiddenKnifeCanon: true,
hiddenBomber: true,
hiddenKamikaze: true,
@@ -1265,12 +1266,12 @@
}
if (self.collisionTickD) {
self.santaCollideClouds(santa, clouds);
}
- if (self.collisionTickB || self.collisionTickD) {
+ if (self.collisionTickB) {
self.snowballCollideRavens(snowballs, ravens);
}
- if (self.collisionTickB || self.collisionTickD) {
+ if (self.collisionTick || self.collisionTickB || self.collisionTickC || self.collisionTickD) {
self.handlePresentsCollisions(presents, snowballs, clouds, ravens, santa, deadlyPresents);
}
if (naughtyUpgrades["assimilatingSnow"] && self.collisionTickB) {
self.snowballCollideSnowflakes(snowflakes);
A lazy santa clause on his sleigh with reindeers. 2d cartoon, side view Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A christmas present, cartoon 2d, side view Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A chimney, cartoon 2d, side view Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d cartoon cloud, side view, game asset Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
2d cartoon of a lonely snowflake, sideview Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
evil flying cartoon raven, sideview, christmas style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon of a christmas present, evil raven style, side view Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Froozen beard, cartoon, sideview Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Little brat on a sledge, girl, cartoon, winter, sideview, evil Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Little girl on a sledge, cartoon, winter, sideview, evil, winter boots Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
super christmas present, golden, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for santas cold resistence, cartoon, with the text: „Cold Resistence“ at top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for premium christmas delivery, cartoon, with the text: „Premium Delivery“ at top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for santa throwing a snowball, cartoon, with the text: „Snowball Master“ at top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
christmas present for kind santa, cartoon, power up Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
christmas present for naughty santa, cartoon, power up Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a Snowball machine on the back of santas sledge, cartoon, with the text „snowball machine“ on the top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for santa crow, on a circle, with the text „santa crow“ at top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pergament with a golden present at top, at the bottom there is the text: "Each tenth point you have the change to get a super Present, make sure naughty points are equal to kind points"
a pergament button with the Text: "OK"; 2 d game asset
a pergament with a raven stealing a christmas present on the top. At the bottom is the text: "Not only are ravens happy to receive gifts and are appeased by them, they also like to give the gift back... with deadly intent."
a pergament with a raven hit by a snowball on the top. At the bottom is the text: "Ravens may be naughty to deserve a snowball, but you should know, Ravens never forget!"
blue electricity in the sky cartoon, 2d
Icon for santa moving through walls, on a circle, with the text „transcendence“ at top, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a very speedy icicle, on a circle, with the text „pointed Icicle“ at top, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a froozen christmas present, on a circle, with the text „icy Surprise“ at top, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a explosive present, on a circle, with the text „detonating wrapping paper“ at top, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a mechanical arm, on a circle, with the text „Santa Ballista 360“ at top, cartoon, christmas style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a electified snowball, on a circle, with the text „Thunderball“ at top, cartoon, christmas style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
exclamation mark in the shape of a candy cane Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a snowball hitting a present in the sky, on a circle, with the text „Snowball Delivery“ at top, cartoon, christmas style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Icon for a santa as a storm king on a circle, with the text „Storm King“ at top, cartoon, christmas style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pergament with a present throwed by someone into a basket at top, at the bottom there is the text: "There are many ways of how can throw a present. Let it just fall or throw it like a basketball."
a pergament with a snowball and two clouds, in one cloud is a powerful shield hidden, in a other cloud is a grinding grinch with a bomb. There is the text: "Everything can be hidden in the clouds. Throw a snowball to see what is there."
a pergament with santa on a sledge and his flying reindeers throwing a snowball to a raven. There is the text: "Its easier to hit something from above than below. Thanks to gravity."
a pergament with a freezing santa on a sledge in the sky. There is the text: "using the stationary mode is useful, but only movement will warm you up"
a pergament with a flying santa on his sledge hiding for ravens and storms. In front of him is a chimney. There is the text: "Flying low can save you from the birds and bad weather, but there are dangers too"
a pergament with Klaus and Jesper from the movie Klaus. There is the text: "A true selfless act always sparks another. -Klaus"
a pergament of a christmas present with a box glove trap. There is the text: "You think, the hit box is confusing? Thank you for your information. You get a present for this."
Icon for a snowball collide with snoflakes and becomes bigger, on a circle, with the text „ASSIMILATING SNOW“ at top, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Epic background of a grinch village in the mountains, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a electrified destroyed christmas present, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
raven with christmas hat and colorful scarf got hit by a snowball in the air, he is shocked, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pergament of a christmas present hit by a storm lightning in the sky. There is the text: "Gifts are not guaranteed to withstand storm damage."
a pergament of a Santa Clause on his sledge with reindeers in the sky. He holds a scepter of candy cane. There is the text: "Click on Santa for a short duration to use the KeeperMode."
a pergament of a happy girl. she got a big fat slimy bug as chrismas present. There is the text: "If you find a bug, you cam write me a message on Discord FRVR. - Sasbe"
a pergament of Santa Clause on his flying sledge with reindeers, he flees for ravens and leaves a big frosty cloud behind him. There is the text "In Keeper Mode, you can touch santa and swipe your finger into the direction you want to move with extra speed"
a pergament of many snowflakes in the sky. With a high good Karma Counter. There is the text "high karma is a guarantee for a white christmas... and a slowly workday"
icon of a weatherproof christmas present flying in the sky, on a circle, cartoon. With the text: "weatherproof packaging" Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
epic landscape intro in the clouds. cartoon 2d style. It has the title: "Saint Karma"
a very deadly and sharp snowflake with skull shape, red, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a golden snowflake, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a snowball with magical powder, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a snowball with magical powder, white color with golden tone, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
snow powder in the sky, pixel Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
frozen golden beard, only beard, cartoon, side view Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a smartphone, christmas style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a PC, christmas style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
icon for a golden snowflake, on a circle, on the top is the text: "golden snowflakes" cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
There is the text: "there are many ways zo beat a highscore, but can you also beat all in once?" On a pergament with many highscores called good, bad, max, min and diff.
icon for santa with a thick warm coat, but his face is very cold, on a circle, with the text at top: "warming coat", cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a snowball with red power, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white snowball with some blue glue, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
flying envelope with wings, christmas style, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pergament letter with the name "Deadly Snow". It has a snowflake in shape of a skull on it. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pergament letter with the name "Bad Nuts". It has a evil looking little girl brat with a ponytail on a sledge on it. vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pergament letter with the name "Very cloudy". It has a big cloud on it. vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
the text "freezing circumstances", in a old font
a speech bubbly with a question mark, cartoon Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a pergament of Santa hiding with his flying sleigh and reindeers in a cloud. There is the text "In clouds you are protected from enemy attention."
a pergament of santa catching a flying envelope in the sky. There is the text "Catch any flying envelopes in the sky. Otherwise the evil forces will become stronger."
frame made of sharp ice, it fill the complete screen, in the center is black only
frame made of cozy clouds, it fill the complete screen, in the center is black only, on black background
frame made of dark clouds, some blue sparks, it fill the complete screen, in the center is white only, on white background
a pergament letter with the name "Replicating Snow". It has a cloud with replicating snowflakes on it. vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a little bell Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a red nut hidden in a snowball, side view, cartoon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.