Изменения от Главреда ГитЖС | Changes of GitJS Glavred

This commit is contained in:
Главред | Glavred
2020-12-10 14:58:32 +03:00
parent 4fd28741de
commit 9730beea2c
3 changed files with 20 additions and 21 deletions

2
0000
View File

@@ -1,5 +1,5 @@
МАОН МАОН
0.4.2 0.4.3
https://git.opengamestudio.org/MAOH/MAOH https://git.opengamestudio.org/MAOH/MAOH
x /🎬.js x /🎬.js

30
🏁.js
View File

@@ -1,20 +1,11 @@
const РАССТОЯНИЕ = 40; const РАССТОЯНИЕ = 40;
const КОЭФФИЦИЕНТ_ВЫСОТЫ = 1.5; const КОЭФФИЦИЕНТ_ВЫСОТЫ = 1.5;
//const ФИШКИ = "https://git.opengamestudio.org/PuCOBATEJlb/PECYPCbl/raw/branch/master/0000";
//const ФИШКА = "/фишка.gltf"; var ТЕМА = "";//"https://git.opengamestudio.org/MAOH/TEMA_M1K/raw/branch/master/0000";
var ФИШКА = "";//"/TileHigh.gltf";
const ФИШКИ = "https://git.opengamestudio.org/MAOH/MAOH_KA_M1/raw/branch/master/0000"; var РАСКЛАДКИ = "";//"https://git.opengamestudio.org/MAOH/PACK_M1/raw/branch/master/0000";
const ФИШКА = "/TileHigh.gltf"; var РАСКЛАДКА = "";//"/X_shaped.layout";
//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";
// // // // // // // //
@@ -68,6 +59,9 @@ const РАСКЛАДКА = "/X_shaped.layout";
ПодготовитьсяКСозданиюФишек = мир => ПодготовитьсяКСозданиюФишек = мир =>
{ {
РАСКЛАДКИ = мир.реестрМаджонга["📍"][0]["📦"];
РАСКЛАДКА = мир.реестрМаджонга["📍"][0]["📁"][0];
var м = мир.модули.модульПоУказателю(РАСКЛАДКИ); var м = мир.модули.модульПоУказателю(РАСКЛАДКИ);
var содержимое = м.содержимое[РАСКЛАДКА]; var содержимое = м.содержимое[РАСКЛАДКА];
var позиции = разобратьРаскладкуKMahjongg(содержимое); var позиции = разобратьРаскладкуKMahjongg(содержимое);
@@ -92,7 +86,7 @@ const РАСКЛАДКА = "/X_shaped.layout";
}; };
мир.фишкиМаджонга = фишки; мир.фишкиМаджонга = фишки;
мир.модельФишкиСцены = мир.полигональныеСетки[ФИШКИ][ФИШКА]; мир.модельФишкиСцены = мир.полигональныеСетки[ТЕМА][ФИШКА];
мир.сцена.add(мир.сценаМаджонга); мир.сцена.add(мир.сценаМаджонга);
}; };
@@ -143,8 +137,12 @@ const РАСКЛАДКА = "/X_shaped.layout";
ПодготовитьсяКЗагрузкеРесурсов = мир => ПодготовитьсяКЗагрузкеРесурсов = мир =>
{ {
// Выбираем первую тему и первую фишку из доступных.
ТЕМА = мир.реестрМаджонга["🀄"][0]["📦"];
ФИШКА = мир.реестрМаджонга["🀄"][0]["📁"][42];
мир.полигональныеСетки = { мир.полигональныеСетки = {
[ФИШКИ]: { [ТЕМА]: {
[ФИШКА]: null, [ФИШКА]: null,
}, },
}; };

9
📦
View File

@@ -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/MOPMA/raw/branch/master/0000
https://git.opengamestudio.org/MAOH/PEEMA/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/TEMA_M1K/raw/branch/master/0000
https://git.opengamestudio.org/MAOH/MAOH_TEMA_M1_KACC/raw/branch/master/0000 https://git.opengamestudio.org/MAOH/TEMA_OT/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 https://git.opengamestudio.org/MAOH/PACK_M1/raw/branch/master/0000
https://git.opengamestudio.org/MAOH/PACK_OT/raw/branch/master/0000