From d7478fe3114c14c59d73c6a2e0ef529dc89c3d2c Mon Sep 17 00:00:00 2001
From: min
Date: Tue, 9 Jun 2026 21:20:38 +0300
Subject: [PATCH] =?UTF-8?q?docs:=20CodeBoth=20=D0=B4=D0=BB=D1=8F=20=D1=83?=
=?UTF-8?q?=D1=80=D0=BE=D0=BA=D0=B0=2020=20=C2=AB=D0=98=D0=BC=D0=B5=D0=BD?=
=?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=D0=B4=20=D0=B2=D1=80=D0=B0=D0=B3=D0=B0?=
=?UTF-8?q?=D0=BC=D0=B8=C2=BB=20(g20=5Fmain)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/community/docsLessons.jsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/community/docsLessons.jsx b/src/community/docsLessons.jsx
index afed009..7bc5c45 100644
--- a/src/community/docsLessons.jsx
+++ b/src/community/docsLessons.jsx
@@ -2747,7 +2747,7 @@ game.self.onTouch(() => {
над ними метки и обрабатывает удары.
- {`// === ИГРА «ИМЕНА НАД ВРАГАМИ» — главный скрипт ===
+ {`// === ИГРА «ИМЕНА НАД ВРАГАМИ» — главный скрипт ===
game.ui.showText('Победи всех врагов! Кликай по ним', 3);
@@ -2806,7 +2806,7 @@ enemyData.forEach((d) => {
game.scene.spawnParticles('sparks', npc.position, { duration: 0.4 });
}
});
-});`}
+});`}
Разберём по частям. Сначала про создание врагов:
enemyData — список врагов: у каждого имя,