User prompt
Прозрачность скелет 60
User prompt
Сделать прозрачность skelet 80
User prompt
Добавить изображение скелет и скопировать алгоритм полностью у almaz
User prompt
Исправить ошибку, когда алмаз выше кнопок top и bot
User prompt
game.setChildIndex(buttontop, game.children.length - 1);
User prompt
game.setChildIndex(buttonbot, game.children.length - 1);
Code edit (11 edits merged)
Please save this source code
User prompt
Do it
User prompt
нужна твоя помщь, подскажи, как сделать рандомную высоту у алмаза от 0 до 400
User prompt
алмаз создается случайно в промежутке от 4 до 8 секунду
Code edit (1 edits merged)
Please save this source code
User prompt
добавить прозрачность алмазу 90 процентов
Code edit (1 edits merged)
Please save this source code
User prompt
повернуть алмаз на 20 градусов по часовой стрелке
Code edit (1 edits merged)
Please save this source code
User prompt
добавить изображение ALMAZ в нижнюю часть экрана
User prompt
добавить изображение ALMAZ на FON_snizu
User prompt
кнопка BUTTON_BOT сделал правильно, а вот кнопка BUTTON_top не правильно отрабатывает эффект нажатия
Code edit (1 edits merged)
Please save this source code
User prompt
добавить эффект нажатия на кнопки top и bot
Code edit (16 edits merged)
Please save this source code
User prompt
подвинуть кнопки bottom И top влево на 30 пикселей
Code edit (1 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
User prompt
улучши качество изображения niz
===================================================================
--- original.js
+++ change.js
@@ -153,9 +153,10 @@
anchorY: 0.5
}));
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); // Ensure player is on top
+ game.setChildIndex(player, game.children.length - 1); // Move player to the top
+ game.setChildIndex(buttonBot, game.children.length - 1); // Ensure buttonBot is on top
// Remove Vzriv 2.1 seconds after the game starts
LK.setTimeout(function () {
vzriv.destroy();
}, 2100);
@@ -184,15 +185,15 @@
anchorX: 0.5,
anchorY: 0.5
}));
almaz.x = 2090; // Center image horizontally
- almaz.y = Math.floor(Math.random() * (3032 - 2332 + 1)) + 2332; // Random height between 2332 and 2732
+ almaz.y = Math.floor(Math.random() * (2732 - 2332 + 1)) + 2332; // Random height between 2332 and 2732
almaz.rotation = Math.PI / 9; // Rotate image by 20 degrees clockwise
almaz.alpha = 0.99; // Set transparency to 90%
}
// Set a random interval between 4 to 8 seconds to create ALMAZ
function randomAlmazCreation() {
- var randomTime = Math.floor(Math.random() * (8000 - 4000 + 1)) + 4000;
+ var randomTime = Math.floor(Math.random() * (10000 - 4000 + 1)) + 4000;
LK.setTimeout(function () {
createAlmaz();
randomAlmazCreation(); // Call again for continuous random creation
}, randomTime);
создать мультяшного сидячего персонажа. 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