User prompt
place the icon in game cover, in the publish stage.
User prompt
Place the hashtags
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'visible')' in or related to this line: 'skaters[s].heartIcons[skaters[s].health].visible = false;' Line Number: 658
User prompt
Heart icon display to skater 2
User prompt
The skaters_2 have 2 hearts icon (that is, hit twice)
User prompt
Nesses skaters_2 Só falta o move o rotation, e o bounce
User prompt
Aumente o tamanho dos skaters_2 igual aos skaters 1
User prompt
make them look and move like normal skaters
User prompt
Please fix the bug: 'TypeError: skaters[i]._update_migrated is not a function' in or related to this line: 'skaters[i]._update_migrated();' Line Number: 554
User prompt
Place the skater_2 in stage 4
User prompt
Spawn a new skater in level 4
User prompt
Place in snece
User prompt
Add coin fuctions
User prompt
Continue please
User prompt
Make you have 0 coin
User prompt
Place the achievement button in top right, when tapped, shows achievements. in gray: no footprints. normal color: footprints. achievements do not reset after game over
User prompt
Please fix the bug: 'ReferenceError: penguin is not defined' in or related to this line: 'if (bubbles[a].intersects(penguin) && isInIsekaiQuartetPosition(penguin)) {' Line Number: 489
User prompt
Add the achievement 4 (secret) isekai quartet, is when hit the snowball at a penguin in a position of a character positioned in the isekai quartet logo I think this is the hardest one to get.
User prompt
Add the achievement 3, (is the same but is ×5)
User prompt
Place the achievement 2, when make a 3× combo (hitting three skaters at once in a combo)
User prompt
Place the achievement 2, when make a 3× combo (hitting three skaters at once in a combo)
User prompt
No, it's making a combo hitting 3 skaters at once
User prompt
Place the achievement 2, (you know how this might appear)
User prompt
Place in scene plase
User prompt
Place the achievement in top
===================================================================
--- original.js
+++ change.js
@@ -389,8 +389,34 @@
background.height = 2732;
background.x = 2048 / 2;
background.y = 2732 / 2;
game.addChildAt(background, 1);
+var achievementButton = LK.getAsset('Button_achivements', {
+ anchorX: 1.0,
+ anchorY: 0.0
+});
+achievementButton.x = 2048;
+achievementButton.y = 0;
+LK.gui.topRight.addChild(achievementButton);
+var achievementsDisplayed = false;
+var achievements = [];
+achievementButton.on('down', function (x, y, obj) {
+ achievementsDisplayed = !achievementsDisplayed;
+ achievements.forEach(function (achievement) {
+ achievement.visible = achievementsDisplayed;
+ });
+});
+function showAchievement(assetId, x, y) {
+ var achievement = LK.getAsset(assetId, {
+ anchorX: 0.5,
+ anchorY: 0.5
+ });
+ achievement.x = x;
+ achievement.y = y;
+ achievement.visible = achievementsDisplayed;
+ LK.gui.top.addChild(achievement);
+ achievements.push(achievement);
+}
var bubbles = [];
var bubbleHitEdge = false;
var shooter = game.addChild(new Shooter());
var duckHoldingSign = game.addChild(new DuckHoldingSign());
@@ -456,43 +482,16 @@
LK.setScore(LK.getScore() + skaterScore);
if (skaterScore >= 2) {
if (bubbles[a].intersects(penguin) && isInIsekaiQuartetPosition(penguin)) {
// Display secret achievement for hitting a penguin in the Isekai Quartet position
- var achievement4 = LK.getAsset('achievement_4_secret', {
- anchorX: 0.5,
- anchorY: 0.5
- });
- achievement4.x = 2048 / 2;
- achievement4.y = 200; // Position the achievement below the third achievement
- game.addChild(achievement4);
- LK.setTimeout(function () {
- achievement4.destroy();
- }, 3000);
+ showAchievement('achievement_4_secret', 2048 / 2, 200);
}
if (skaterScore === 3) {
// Display achievement for making a 3x combo
- var achievement2 = LK.getAsset('achievement_2', {
- anchorX: 0.5,
- anchorY: 0.5
- });
- achievement2.x = 2048 / 2;
- achievement2.y = 100; // Position the achievement below the first achievement
- game.addChild(achievement2);
- LK.setTimeout(function () {
- achievement2.destroy();
- }, 3000);
+ showAchievement('achievement_2', 2048 / 2, 100);
} else if (skaterScore === 5) {
// Display achievement for making a 5x combo
- var achievement3 = LK.getAsset('achievement_3', {
- anchorX: 0.5,
- anchorY: 0.5
- });
- achievement3.x = 2048 / 2;
- achievement3.y = 150; // Position the achievement below the second achievement
- game.addChild(achievement3);
- LK.setTimeout(function () {
- achievement3.destroy();
- }, 3000);
+ showAchievement('achievement_3', 2048 / 2, 150);
}
if (game.lives < 4) {
game.lives++;
// Play Regen sound when a life is refilled
@@ -558,18 +557,9 @@
isGameOver = true;
LK.effects.flashScreen(0xff0000, 1000);
if (game.level === 1) {
// Display achievement for losing in stage 1
- var achievement = LK.getAsset('achievement_1', {
- anchorX: 0.5,
- anchorY: 0.5
- });
- achievement.x = 2048 / 2;
- achievement.y = 50; // Adjusted position to place achievement at the top of the screen
- game.addChild(achievement);
- LK.setTimeout(function () {
- achievement.destroy();
- }, 3000);
+ showAchievement('achievement_1', 2048 / 2, 50);
}
LK.showGameOver();
}
});
\ No newline at end of file
floor of an ice skating ring. top-view. seen from above. Single Game Texture. In-Game asset. 2d. High contrast. No shadows. pixelated.8 bit. game background
snowboarder. top-view. gta 2. seen from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
snowball. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
frosty pipe tube. top-view. seen from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8-bit
dusty snow puff. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
green plus sign. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
frost circle arena. seen from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
angry penguin snowboarder wearing a red santa hat. top-view. gta 2. seen from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
angry penguin snowboarder wearing a red santa hat. top-view. gta 2. seen from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit
duck holding a sign written "combo". Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. duck holding a sign written "combo". Cartoon.
Giant angry penguin snowboarder wearing a red santa hat. top-view. gta 2. seen from above. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. pixelated. 8 bit. A
8-bit Pinguin_skater_features. Make a text written above (your way). A
Make a 8-bit achievement. Title:cool, being embarrassed. description:lose in stage 1
Make a 8-bit achievement. Title:I'm enjoying watching! description:make a ×3 hit combo
Make a 8-bit achievement. Title:poor duck! description:make a ×5 hit combo
Make a 8-bit secret achievement. Title:isekai quartet description:hit the snowball at a penguin in a position of a character positioned in the isekai quartet logo
Make a button achievements. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Coin icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Heart icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.