Code edit (1 edits merged)
Please save this source code
User prompt
не удалять niz
User prompt
niz На задний слой
Code edit (5 edits merged)
Please save this source code
User prompt
Удалять Niz только тогда, когда картинка NIZ полностью исчезнет из видимости экрана
Code edit (1 edits merged)
Please save this source code
User prompt
добавь картинку niz в нижнюю часть экрана
User prompt
удали фон снизу
User prompt
сделай вот так м
User prompt
добавить изображение FON_SNIZU в нижнюю часть экрана
User prompt
удалить фон снизу
Code edit (2 edits merged)
Please save this source code
User prompt
newfonsnizu создается с правого края
Code edit (4 edits merged)
Please save this source code
User prompt
добавить создание последующих FONSNIZU каждую секунду в нижней правой части экрана
Code edit (1 edits merged)
Please save this source code
User prompt
создавать FONSNIZU следующие после первого, даже если его не видно первоначально на экране
Code edit (1 edits merged)
Please save this source code
User prompt
почему не появляется следующий фон снизу? как исправить?
User prompt
почему не появляется следующий FONSNIZU?
User prompt
какую команду написать, чтобы следующий fon_snizu отображался на экране
Code edit (1 edits merged)
Please save this source code
User prompt
Опустить последующий fon_snizu на 700 пикселей, кроме первого
Code edit (1 edits merged)
Please save this source code
User prompt
Подвинуть влево на 200 пикселей fon_snizu, кроме первого
===================================================================
--- original.js
+++ change.js
@@ -164,9 +164,9 @@
// Add image 'niz' to the bottom of the screen
var niz = game.addChild(LK.getAsset('NIZ', {
anchorX: 0.5,
// Center horizontally
- anchorY: 1.0 // Align to the bottom
+ anchorY: 0.5 // Align to the bottom
}));
niz.x = 2048 / 2; // Center image horizontally
niz.y = 2732 + 1000; // Position image at the bottom of the screen
niz.rotation = Math.PI / 9;
@@ -266,9 +266,9 @@
// Update lastY and lastX for player
player.lastY = player.y;
player.lastX = player.x;
game.children.forEach(function (child) {
- if (child !== player && child !== buttonTop && child !== buttonBot && child !== uskorenie && child !== niz) {
+ if (child !== player && child !== buttonTop && child !== buttonBot && child !== uskorenie) {
child.x -= 15 * Math.cos(child.rotation); // Increase the speed by 1.5 times
child.y -= 15 * Math.sin(child.rotation); // Increase the speed by 1.5 times
if (child.y + child.height / 2 < 0 || child.x - child.width / 2 > 2048 || child.y - child.height / 2 > 2732) {
// If the image is completely off the screen
создать мультяшного сидячего персонажа. 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