Добавить серую тему | Add grey theme

This commit is contained in:
2020-10-16 19:10:21 +03:00
parent 91659cdfd4
commit b13c9c78ff
47 changed files with 76 additions and 16 deletions

43
0000
View File

@@ -46,3 +46,46 @@ x /пуск|run.js
2 /_фон-128_|ц|.png
2 /_фон-128_||ц|.png
2 /_фон-128_||ц||.png
2 /_серый-128_1.png
2 /_серый-128_2.png
2 /_серый-128_3.png
2 /_серый-128_4.png
2 /_серый-128_5.png
2 /_серый-128_6.png
2 /_серый-128_7.png
2 /_серый-128_8.png
2 /_серый-128_9.png
2 /_серый-128_10.png
2 /_серый-128_11.png
2 /_серый-128_12.png
2 /_серый-128_13.png
2 /_серый-128_14.png
2 /_серый-128_15.png
2 /_серый-128_16.png
2 /_серый-128_17.png
2 /_серый-128_18.png
2 /_серый-128_19.png
2 /_серый-128_20.png
2 /_серый-128_21.png
2 /_серый-128_22.png
2 /_серый-128_23.png
2 /_серый-128_24.png
2 /_серый-128_25.png
2 /_серый-128_26.png
2 /_серый-128_27.png
2 /_серый-128_28.png
2 /_серый-128_29.png
2 /_серый-128_30.png
2 /_серый-128_31.png
2 /_серый-128_32.png
2 /_серый-128_33.png
2 /_серый-128_34.png
2 /_серый-128_|с.png
2 /_серый-128_|с|.png
2 /_серый-128_||с|.png
2 /_серый-128_||с||.png
2 /_серый-128_|ц.png
2 /_серый-128_|ц|.png
2 /_серый-128_||ц|.png
2 /_серый-128_||ц||.png

BIN
_серый-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
_серый-128_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
_серый-128_10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
_серый-128_12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
_серый-128_15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
_серый-128_18.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_19.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_20.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_21.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_22.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_23.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
_серый-128_24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_25.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
_серый-128_26.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
_серый-128_27.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_28.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
_серый-128_29.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
_серый-128_3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_30.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
_серый-128_31.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
_серый-128_33.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_34.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
_серый-128_4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
_серый-128_5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

BIN
_серый-128_8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_||с|.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_||с||.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_||ц|.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
_серый-128_||ц||.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
_серый-128_|с.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_|с|.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
_серый-128_|ц.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
_серый-128_|ц|.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -2,6 +2,35 @@
const ИМЯ = "Отладочные фишки Маджонга | Mahjong debug tiles";
// // // //
ЗарегистрироватьСеруюОтладочнуюТемуФишекМаджонга = мир =>
{
var тема = {
"🗿": ИМЯ,
};
// Первые 34 фишки, которые по 4 попадают в игровое поле.
for (var номер = 1; номер <= 34; ++номер)
{
тема[номер] = `/_серый-128_${номер}.png`;
}
// Последние 8 фишек, которые по одной попадают в игровое поле.
тема[35] = "/_серый-128_|с.png";
тема[36] = "/_серый-128_|с|.png";
тема[37] = "/_серый-128_||с|.png";
тема[38] = "/_серый-128_||с||.png";
тема[39] = "/_серый-128_|ц.png";
тема[40] = "/_серый-128_|ц|.png";
тема[41] = "/_серый-128_||ц|.png";
тема[42] = "/_серый-128_||ц||.png";
мир.реестрТемФишек["серая|grey"] = тема;
};
// // // //
ЗарегистрироватьОтладочнуюТемуФишекМаджонга = мир =>
{
var тема = {
@@ -21,18 +50,5 @@ const ИМЯ = "Отладочные фишки Маджонга | Mahjong debug
тема[40] = "/_фон-128_|ц|.png";
тема[41] = "/_фон-128_||ц|.png";
тема[42] = "/_фон-128_||ц||.png";
мир.темыФишек["отладочная|debug"] = тема;
мир.реестрТемФишек["отладочная|debug"] = тема;
};
// // // //
СоздатьХранилищеТемФишекМаджонга = мир =>
{
if (!мир.темыФишек)
{
мир.темыФишек = {};
}
};

View File

@@ -1,3 +1,3 @@
ручной пуск
создать хранилище тем фишек маджонга
зарегистрировать отладочную тему фишек маджонга
зарегистрировать серую отладочную тему фишек маджонга

View File

@@ -1,5 +1,6 @@
#!/bin/bash
SRC="_фон-128.png"
#SRC="_фон-128.png"
SRC="_серый-128.png"
makeTexture()
{