User prompt
убери музыку
User prompt
добавь музыку природы
User prompt
сделай чтобы на фоне была трава
Code edit (1 edits merged)
Please save this source code
User prompt
сделал счётчик муравьёв был ещё чуть левее
User prompt
сделал счётчик муравьёв был чуть левее
User prompt
сделай чтобы счётчик муравьёв был левее
User prompt
сделай чтобы позиция счётчика муравьёв была внизу
User prompt
добавь счётчик муравьёв
User prompt
сделай чтобы когда муравей выходил за границу он умирал, и если муравьёв стало 0 то было поражение
User prompt
make some ants lose their route
User prompt
сделай чтобы некоторые муравьи теряли маршрут
User prompt
сделай чтобы муравьи которые потеряли маршрут шли к еде
User prompt
сделай чтобы муравьи которые потеряли маршрут шли к еде
User prompt
сделай чтобы когда все муравьи умирали то было поражение
User prompt
make some ants die after 10-20 seconds
User prompt
make food spawn even more often
User prompt
make sure there are fewer ants who lose their route
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'var closestDistance = Math.hypot(foods[0].x - ants[i].x, foods[0].y - ants[i].y);' Line Number: 134
User prompt
make the ants that have lost their route go to food
User prompt
make some ants lose their route and go in the direction of the food
User prompt
make some ants lose their route and go in the direction of the food
===================================================================
--- original.js
+++ change.js
@@ -73,9 +73,9 @@
font: "'Comic Sans MS', cursive, sans-serif"
});
antCountTxt.anchor.set(0.5, 1);
LK.gui.bottomRight.addChild(antCountTxt);
-antCountTxt.x -= 50;
+antCountTxt.x -= 100;
// Initialize the anthill
var anthill = new Anthill();
anthill.x = 2048 / 2;
anthill.y = 2732 / 2;
ant. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
apple. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
anthill. 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.