From 9730beea2cd7a9196a46d16aeaab9435c74386b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D0=BB=D0=B0=D0=B2=D1=80=D0=B5=D0=B4=20=7C=20Glavred?= Date: Thu, 10 Dec 2020 14:58:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BE=D1=82=20=D0=93=D0=BB=D0=B0=D0=B2=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B0=20=D0=93=D0=B8=D1=82=D0=96=D0=A1=20|=20Chang?= =?UTF-8?q?es=20of=20GitJS=20Glavred?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0000 | 2 +- 🏁.js | 30 ++++++++++++++---------------- 📦 | 9 +++++---- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/0000 b/0000 index 356340e..ea24c14 100644 --- a/0000 +++ b/0000 @@ -1,5 +1,5 @@ МАОН -0.4.2 +0.4.3 https://git.opengamestudio.org/MAOH/MAOH x /🎬.js diff --git a/🏁.js b/🏁.js index 360357a..56bcc07 100644 --- a/🏁.js +++ b/🏁.js @@ -1,20 +1,11 @@ const РАССТОЯНИЕ = 40; const КОЭФФИЦИЕНТ_ВЫСОТЫ = 1.5; -//const ФИШКИ = "https://git.opengamestudio.org/PuCOBATEJlb/PECYPCbl/raw/branch/master/0000"; -//const ФИШКА = "/фишка.gltf"; - -const ФИШКИ = "https://git.opengamestudio.org/MAOH/MAOH_KA_M1/raw/branch/master/0000"; -const ФИШКА = "/TileHigh.gltf"; - -//const ТЕМА = "https://git.opengamestudio.org/MAOH/MAOH_TEMA_OTAK/raw/branch/master/0000"; -const ТЕМА = "https://git.opengamestudio.org/MAOH/MAOH_TEMA_M1_KACC/raw/branch/master/0000"; - -const РАСКЛАДКИ = "https://git.opengamestudio.org/MAOH/MAOH_PACK_OTAK/raw/branch/master/0000"; -//const РАСКЛАДКА = "/😀.layout"; -//const РАСКЛАДКА = "/😭.layout"; -const РАСКЛАДКА = "/X_shaped.layout"; - + +var ТЕМА = "";//"https://git.opengamestudio.org/MAOH/TEMA_M1K/raw/branch/master/0000"; +var ФИШКА = "";//"/TileHigh.gltf"; +var РАСКЛАДКИ = "";//"https://git.opengamestudio.org/MAOH/PACK_M1/raw/branch/master/0000"; +var РАСКЛАДКА = "";//"/X_shaped.layout"; // // // // @@ -68,6 +59,9 @@ const РАСКЛАДКА = "/X_shaped.layout"; ПодготовитьсяКСозданиюФишек = мир => { + РАСКЛАДКИ = мир.реестрМаджонга["📍"][0]["📦"]; + РАСКЛАДКА = мир.реестрМаджонга["📍"][0]["📁"][0]; + var м = мир.модули.модульПоУказателю(РАСКЛАДКИ); var содержимое = м.содержимое[РАСКЛАДКА]; var позиции = разобратьРаскладкуKMahjongg(содержимое); @@ -92,7 +86,7 @@ const РАСКЛАДКА = "/X_shaped.layout"; }; мир.фишкиМаджонга = фишки; - мир.модельФишкиСцены = мир.полигональныеСетки[ФИШКИ][ФИШКА]; + мир.модельФишкиСцены = мир.полигональныеСетки[ТЕМА][ФИШКА]; мир.сцена.add(мир.сценаМаджонга); }; @@ -143,8 +137,12 @@ const РАСКЛАДКА = "/X_shaped.layout"; ПодготовитьсяКЗагрузкеРесурсов = мир => { + // Выбираем первую тему и первую фишку из доступных. + ТЕМА = мир.реестрМаджонга["🀄"][0]["📦"]; + ФИШКА = мир.реестрМаджонга["🀄"][0]["📁"][42]; + мир.полигональныеСетки = { - [ФИШКИ]: { + [ТЕМА]: { [ФИШКА]: null, }, }; diff --git a/📦 b/📦 index 02588a5..8b755e1 100644 --- a/📦 +++ b/📦 @@ -14,7 +14,8 @@ https://git.opengamestudio.org/MAOH/CEHMA/raw/branch/master/0000 https://git.opengamestudio.org/MAOH/MOPMA/raw/branch/master/0000 https://git.opengamestudio.org/MAOH/PEEMA/raw/branch/master/0000 -https://git.opengamestudio.org/MAOH/MAOH_KA_M1/raw/branch/master/0000 -https://git.opengamestudio.org/MAOH/MAOH_TEMA_M1_KACC/raw/branch/master/0000 -https://git.opengamestudio.org/MAOH/MAOH_TEMA_OTAK/raw/branch/master/0000 -https://git.opengamestudio.org/MAOH/MAOH_PACK_OTAK/raw/branch/master/0000 \ No newline at end of file +https://git.opengamestudio.org/MAOH/TEMA_M1K/raw/branch/master/0000 +https://git.opengamestudio.org/MAOH/TEMA_OT/raw/branch/master/0000 + +https://git.opengamestudio.org/MAOH/PACK_M1/raw/branch/master/0000 +https://git.opengamestudio.org/MAOH/PACK_OT/raw/branch/master/0000 \ No newline at end of file