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 }); } }); -});`} +});`}

Разберём по частям. Сначала про создание врагов: