User prompt
move miss above the barn layer
User prompt
boxBackground to x=500 and y=17
User prompt
missBackground to x=1450 and y=2500
User prompt
if left click is pressed, move miss up by 460
User prompt
Move miss down by 460 when the barn moves down
User prompt
Create a new room called miss without replacing the existing room1Background asset creation and setup.
User prompt
Change the position of the boxBackground to x=1350 and y=2200
User prompt
Change the position of the boxBackground to x=1350 and y=2200
User prompt
scoretext should be at the same position silentnightext was
User prompt
after silent nighttext fades, Replace silentNightText with scoreText after it disappears
User prompt
once the text silent night disappear replace it with a score system at the exact same position
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in this line: 'scoreText.x = silentNightText.x;' Line Number: 42
User prompt
when the text silent night dissapears make the score appear at the same place
User prompt
when silent night text dissapear, instantiate the score at the position where silent night text disappeared
User prompt
Change the x position of silentNightText to 5 / 2
User prompt
when the game starts, make the text silent night slowly fade in for two seconds, stay there for 3 seconds and fade out for 2 seconds
User prompt
after game starts, two seconds later, make silent night text dissapear slowly
User prompt
silentNightText.x = 5 / 2
User prompt
silentNightText.x = 100 / 2
User prompt
silentNightText.x = 1000 / 2
User prompt
When the game starts, display white text that says 'Silent Night' and center it in the upper middle of the screen
User prompt
Change the position of the boxBackground to x=1225
User prompt
Change the position of the boxBackground to x=1250
User prompt
Change the position of the boxBackground to x=1375
User prompt
Change the position of the boxBackground to x=1350
===================================================================
--- original.js
+++ change.js
@@ -33,8 +33,16 @@
self.destroy = function () {};
});
var Game = Container.expand(function () {
var self = Container.call(this);
+ var silentNightText = new Text2('Silent Night', {
+ size: 150,
+ fill: "#ffffff"
+ });
+ silentNightText.anchor.set(0.5, 0);
+ silentNightText.x = 2048 / 2;
+ silentNightText.y = 150;
+ LK.gui.topCenter.addChild(silentNightText);
stage.on('move', function (obj) {
crosshair.move(obj.event);
});
stage.on('down', function (obj) {
@@ -60,9 +68,9 @@
crateBackground.y = 2645;
self.addChild(crateBackground);
var boxBackground = self.createAsset('Box', 'Box background', 0, 0);
boxBackground.anchor.set(0, 1);
- boxBackground.x = 1225;
+ boxBackground.x = 1350;
boxBackground.y = 1900;
self.addChild(boxBackground);
var barnBackground = self.createAsset('Barn', 'Barn background', 0, 0);
barnBackground.anchor.set(0.5, 0.5);
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