===================================================================
--- original.js
+++ change.js
@@ -1185,10 +1185,10 @@
recycle.rotation += 0.005; // Adjust rotation speed as needed
button.rotation -= 0.005; // Adjust rotation speed as needed
//introPoster.alpha = 0.8 + 0.2 * Math.sin(LK.ticks / 100); // Animate alpha from 0.5 to 1 and vice versa
introPosterTrail.alpha = 0.8 + 0.2 * Math.sin(LK.ticks / 100);
- help1.alpha = 0.8 + 0.2 * Math.sin(LK.ticks / 100);
- help2.alpha = 0.8 + 0.2 * Math.sin(LK.ticks / 100);
+ help1.alpha = 0.7 + 0.3 * Math.sin(LK.ticks / 30 + Math.PI / 2);
+ help2.alpha = 0.7 + 0.3 * Math.sin(LK.ticks / 30);
//recycle.alpha = 0.5 + 0.5 * Math.sin(LK.ticks / 30); // Animate alpha from 1 to 0 and vice versa
};
// Event handler for button press
self.down = function (x, y, obj) {
@@ -1213,10 +1213,14 @@
}, 100);
introPoster.destroy(); // Remove the intro poster
introPosterTrail.destroy(); // Remove the intro poster trail
sun.visible = true;
- help1.destroy();
- help2.destroy();
+ help1.visible = true;
+ help2.visible = true;
+ LK.setTimeout(function () {
+ help1.destroy();
+ help2.destroy();
+ }, 3000);
self.destroy(); // Remove the start button after it's pressed
};
return self;
});
@@ -1440,17 +1444,19 @@
anchorX: 0.5,
anchorY: 0.5,
x: 220,
y: 2732 - 220,
- blendMode: 3
+ blendMode: 3,
+ visible: false
}));
;
var help2 = game.addChild(LK.getAsset('help2', {
anchorX: 0.5,
anchorY: 0.5,
x: 2048 - 220,
y: 2732 - 220,
- blendMode: 1
+ blendMode: 1,
+ visible: false
}));
;
//==============================================================================
// Global events
white
circle sliced into many pieces, flat image. 2d, white background, shadowless.
pixel art of a tall, tree. game asset, 2d, white background, shadowless.
pixel art cloud. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
dark space.
flying lava bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a bonus crystal ball with the recycle symbol. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
top view A green round start button empty in the center like a ring.