T
Size: a a a
T
ДЛ
ДЛ
Level(INI+VMC/VMP) <-> PNG+RON
cargo run --bin convert -- game/thechain/fostral/world.ini my_dir/fostral.ron
The RON file contains the size and names of two images: heights and materials. The former conains the following data:
R stands for the bottom layer height
G stands for the top layer height
B stands for the delta between the bottom and the ground above
The materials image only uses two channels:
R contains the index of the bottom layer material in its higher 4 bits. The lower 4 bits are ignored.
G contains the index of the top layer
You can change the images in a photo editor, and then we can import it as a non-compressed level:
cargo run --bin convert -- my_dir/fostral.ron game/thechain/fostral/output.vmp
ДЛ
ДЛ
ДЛ
ДЛ
ДЛ
ДЛ
ДЛ
ДЛ