Browse Source

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

master
Главред | Glavred 3 years ago
parent
commit
9730beea2c
3 changed files with 20 additions and 21 deletions
  1. +1
    -1
      0000
  2. +14
    -16
      🏁.js
  3. +5
    -4
      📦

+ 1
- 1
0000 View File

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

x /🎬.js


+ 14
- 16
🏁.js View File

@@ -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,
},
};


+ 5
- 4
📦 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/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
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

Loading…
Cancel
Save