Code edit (10 edits merged)
Please save this source code
User prompt
Убрать Делей в 1 секунду у instruction
User prompt
Перемещать instruction сначала влево на пикселей, потом вправо
User prompt
Перемещать instruction плавно со скоростью 8
User prompt
После начала игры сдвинуть переместить instruction влево на 100 пикселей, потом вправо на 200 пикселей. Потом instruction исчезает
User prompt
Добавить в центр экрана instruction
Code edit (1 edits merged)
Please save this source code
User prompt
сдвинуть background2 Влево на 100 пикселей
Code edit (1 edits merged)
Please save this source code
User prompt
удалить white flag
Code edit (3 edits merged)
Please save this source code
User prompt
переместить игрока на верхний слой по сравнению с whiteflag
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -221,15 +221,15 @@
scaleY: 0.5
});
whiteFlag.x = scoreTxt.x + 1880;
whiteFlag.y = scoreTxt.y + 110;
-game.addChild(whiteFlag);
+game.addChildAt(whiteFlag, 0);
// Update score based on game ticks
LK.on('tick', function () {
scoreCounter = Math.floor(LK.ticks / 60); // Convert ticks to seconds for score
scoreTxt.setText(scoreCounter.toString()); // Update score display
scoreTxt.x = 550; // Move the timer 10 pixels to the right
- scoreTxt.y = 10; // Lower the timer by 10 pixels
+ scoreTxt.y = 20; // Lower the timer by 10 pixels
LK.setScore(scoreCounter); // Save the score the player has earned
});
// Set up game tick
LK.on('tick', function () {
снаряд от пушки. 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.