User prompt
apply the suggested solution to fix the paddle control problem. I should be able to reverse the paddle moving direction when tapping the screen
User prompt
tapping the screen no longer works. that's a bug. something broke. the paddle should change it's direction when the screen is tapped anywhere
User prompt
tapping the screen no longer works. that's a bug. something broke. the paddle should change it's direction when the screen is tapped anywhere
User prompt
tapping the screen no longer works. that's a bug. something broke. the paddle should change it's direction when the screen is tapped anywhere
User prompt
tapping the screen no longer works, I cant change the paddle direction anymore
User prompt
increase the paddl'es acceleration speed to 5
User prompt
increase the paddl'es acceleration speed
User prompt
now let's add acceleration to the paddle. After the player taps the screen to reverse the direction of the paddle, is speed is reset back to it's starting speed. Only the players tapping the screen can reset this acceleration, however, when the paddle changes its direction when bouncing from the edges of the screen, acceleration should continue to increase.
User prompt
when touching the screen edge, the paddle acceleration should not be reset, it should continue increasing. the paddle acceleration can only be reset by the player when tapping the screen to reverse its direction.
User prompt
increase the paddle acceleration speed to 5
User prompt
increase the paddle's acceleration speed
User prompt
something broke after the last change, the paddle is no longer bouncing back when touching the edge of the screen
User prompt
the paddle's acceleration is reset only if the direction is changed by the player tapping the screen, if instead the paddle changes direction from bouncing of the screen, acceleration keeps increasing
User prompt
let's also add acceleration to the paddle. so it has a starting speed, and it accelerates over time. after tapping the screen to reverse the direction, reset the speed to the starting speed before starting accelerating again
User prompt
move the ho asset 100 pixels higher
User prompt
move the ho asset 100 pixels lower
User prompt
change this to 300 hoAsset.destroy(); }, 100);
User prompt
move the ho asset 100 pixels lower
User prompt
the HOasset must only show when generating a gift, not a coal
User prompt
when Santa drops a gift, generated a HOasset over santa for 100 miliseconds, then destroy it
User prompt
increase the drop speed to 9 and acceleration to 0.6 for both the gift and coal
User prompt
the dropasset must only stay on the screen for 500 miliseconds than has to be destroyed
User prompt
the asset appears over santa but it doesnt go away after 1 second
User prompt
when santa drops a gift, I want you to display an asset over Santa for 1 second
User prompt
it appears that only the very first dropped element is generated under Santa's layer but after that they still appear over Santa. can you fix this so Santa's layer is always over the gifts and coals?
===================================================================
--- original.js
+++ change.js
@@ -116,9 +116,9 @@
hoAsset.y = santa.y - santa.height / 2 + 100;
self.addChild(hoAsset);
LK.setTimeout(function () {
hoAsset.destroy();
- }, 100);
+ }, 300);
}
} else {
self.addChild(newObject);
}
black coal. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
white snowy valley background. Single Game Texture. In-Game asset. 2d. High contrast. No shadows. pixelated. 8 bit
santa sled. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
Christmas gift. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
text saying "HO". mistletoe themed. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
excited kid seen from the front, holding both of his hands extended upwards expecting to catch.looking upward. dressed for Christmas. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit