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
@@ -362,9 +362,9 @@
var oblakoLeft = game.addChild(LK.getAsset('Oblako', {
anchorX: 0.5,
anchorY: 0.5
}));
-oblakoLeft.x = oblako.x - 400; // Position 400 pixels to the left of the first cloud
+oblakoLeft.x = Math.floor(Math.random() * (600 - 400)) + 400;
oblakoLeft.y = oblako.y; // Same random height as the first cloud
oblakoLeft.rotation = oblako.rotation; // Same rotation as the first cloud
oblakoLeft.alpha = oblako.alpha; // Same transparency as the first cloud
oblakoLeft.scale.set(Math.random() * (1 - 0.33) + 0.33); // Apply random scale between 0.33 and 1
создать мультяшного сидячего персонажа. 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