From 3cdbbc50491eb70d7836c0306a60075cd6dc6f98 Mon Sep 17 00:00:00 2001 From: min Date: Tue, 9 Jun 2026 20:28:37 +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=2019=20=C2=AB=D0=9B=D0=B8=D1=84=D1=82?= =?UTF-8?q?=C2=BB=20(main+finish)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/community/docsLessons.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/community/docsLessons.jsx b/src/community/docsLessons.jsx index 1bac624..afed009 100644 --- a/src/community/docsLessons.jsx +++ b/src/community/docsLessons.jsx @@ -2619,7 +2619,7 @@ game.self.onTouch(() => {

Шаг 3. Главный скрипт

- {`// === ИГРА «ЛИФТ» — главный скрипт === + {`// === ИГРА «ЛИФТ» — главный скрипт === let won = false; @@ -2653,7 +2653,7 @@ game.onMessage('win', () => { const p = game.player.position; game.scene.spawnParticles('confetti', { x: p.x, y: p.y + 3, z: p.z }, { duration: 3, count: 3 }); -});`} +});`}

Разберём твин лифта: