Code edit (4 edits merged)
Please save this source code
User prompt
подвинуть все 3 сердца на 20 пикселей вправо
User prompt
добавить третье аналогичное сердце
Code edit (7 edits merged)
Please save this source code
User prompt
добавить второе аналогичное сердце
Code edit (1 edits merged)
Please save this source code
User prompt
поместить сердце Y = 100 X = 100
User prompt
поместить сердце на поверх health_bar, а не за ним
User prompt
Please fix the bug: 'Uncaught Error: The supplied index is out of bounds' in or related to this line: 'LK.gui.topLeft.setChildIndex(heart, LK.gui.topLeft.children.length - 1);' Line Number: 100
User prompt
исправить баг, когда сердце находится за health_bar
User prompt
поместить сердце на health_bar
User prompt
сердце должно быть на переднем плане
User prompt
Please fix the bug: 'Uncaught Error: The supplied DisplayObject must be a child of the caller' in or related to this line: 'LK.gui.topLeft.setChildIndex(heart, LK.gui.topLeft.getChildIndex(healthBar) + 1);' Line Number: 100
User prompt
Please fix the bug: 'Uncaught Error: The supplied DisplayObject must be a child of the caller' in or related to this line: 'LK.gui.topLeft.setChildIndex(heart, LK.gui.topLeft.getChildIndex(healthBar) + 1);' Line Number: 99
User prompt
Please fix the bug: 'Uncaught TypeError: LK.gui.topLeft.contains is not a function' in or related to this line: 'if (LK.gui.topLeft.contains(heart)) {' Line Number: 99
User prompt
Please fix the bug: 'Uncaught Error: The supplied DisplayObject must be a child of the caller' in or related to this line: 'LK.gui.topLeft.setChildIndex(heart, LK.gui.topLeft.getChildIndex(healthBar) + 1);' Line Number: 99
User prompt
поместить сердце на передний план относительно health_bar
Code edit (1 edits merged)
Please save this source code
User prompt
поместить сердце на передний план
Code edit (2 edits merged)
Please save this source code
User prompt
добавить сердце в верхний левый угол
User prompt
в начале игры, в течение 1,3 секунд нельзя повернуть самолет по часовой стрелки
User prompt
в начале игры, в течение двух секунд нельзя повернуть самолет по часовой стрелки
User prompt
в начале игры, в течение двух секунд нельзя повернуть самолет против часовой стрелки
User prompt
скорость выстрела пули раз в 0,8 секунлы
===================================================================
--- original.js
+++ change.js
@@ -83,9 +83,9 @@
var heart1 = healthBar.attachAsset('heart', {
anchorX: 0.5,
anchorY: 0.5
});
-heart1.x = -880;
+heart1.x = 300;
heart1.y = 85;
// Ensure the heart is always in the foreground
if (healthBar.children.length > 0) {
healthBar.setChildIndex(heart1, healthBar.children.length - 1);
снаряд от пушки. 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.