Подготовить автономную сборку и запуск перед разделением проектов
This commit is contained in:
@@ -22,9 +22,10 @@ kid.pal).
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
import os
|
||||
|
||||
HERE = Path(__file__).resolve().parent
|
||||
PROJ_ROOT = HERE.parents[3]
|
||||
PROJ_ROOT = Path(os.environ["SPRINTER_ROOT"]).resolve()
|
||||
TILES_DIR = HERE.parent / "res" / "tiles"
|
||||
PNG_STRIP = PROJ_ROOT / "toolchain" / "png_strip.py"
|
||||
MKATLAS = PROJ_ROOT / "toolchain" / "mkatlas.py"
|
||||
|
||||
@@ -15,9 +15,10 @@ import re
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
import os
|
||||
|
||||
HERE = Path(__file__).resolve().parent
|
||||
PROJ_ROOT = HERE.parents[3] # .../C-Compiler
|
||||
PROJ_ROOT = Path(os.environ["SPRINTER_ROOT"]).resolve()
|
||||
TILES_DIR = HERE.parent / "res" / "tiles"
|
||||
OUT_DIR = HERE.parent / "res" / "tiles"
|
||||
PNG_STRIP = PROJ_ROOT / "toolchain" / "png_strip.py"
|
||||
|
||||
@@ -18,7 +18,7 @@ third_party/16x16-RPG-characters, один персонаж (индекс 0) т
|
||||
"""
|
||||
from PIL import Image
|
||||
|
||||
SRC = ("../../../../third_party/16x16-RPG-characters/sprites/"
|
||||
SRC = ("../../third_party/16x16-RPG-characters/sprites/"
|
||||
"old-style/02-bard.png")
|
||||
CHAR = 0 # какой из 8 персонажей листа берём
|
||||
|
||||
|
||||
Reference in New Issue
Block a user