Code edit (8 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
oblakoLeft создается рандомной величиной
User prompt
скорость oblakoLeft такая же как у oblako
User prompt
добавить вначале игры такое же облако как и первое, только на 400 левее
Code edit (2 edits merged)
Please save this source code
User prompt
у первого облака случайный размер
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'scaleFactor is not defined' in or related to this line: 'oblako.scale.set(scaleFactor);' Line Number: 397
User prompt
Please fix the bug: 'Oblako is not defined' in or related to this line: 'Oblako.scale.set(scaleFactor);' Line Number: 397
Code edit (4 edits merged)
Please save this source code
User prompt
Добавить звук GO, проигрывается через 2 секунды после начала игры
User prompt
Добавить звук GO, когда отображается картинка vzriv
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -453,8 +453,9 @@
vzriv = game.addChild(LK.getAsset('Vzriv', {
anchorX: 0.5,
anchorY: 0.5
}));
+ LK.getSound('go').play(); // Play 'go' sound when 'Vzriv' is displayed
vzriv.x = vzriv.width / 2 + 90; // Position Vzriv at the left center of the screen
vzriv.y = 2732 / 2 - 280; // Center Vzriv vertically
game.setChildIndex(player, game.children.length - 1); // Move player to the top
game.setChildIndex(buttonBot, game.children.length - 1); // Ensure buttonBot is on top
@@ -634,9 +635,9 @@
}));
newBackground.x = 2048 / 2 + 2500; // Move background 2048 pixels to the right
newBackground.y = 2732 / 2 + 1060; // Move background down by 1100 pixels
newBackground.rotation = Math.PI / 9; // Rotate background by 20 degrees clockwise
- }, 1800);
+ }, 1950);
}
}, 400);
var gameStarted = false;
// Removed score increment from timer
создать мультяшного сидячего персонажа. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
snowball. 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
Алмаз, мультяшный. 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
Ufo (летающая тарелка). Мультяшная. 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
Мультяшный рыбак зимой сидит рыбачит. 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
Куст в снегу мультяшный. 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
Рука белая. Иконка. 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
снежинка. мультяшная. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
text: New Record! Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows