Moondust-Project
Moondust-Project copied to clipboard
[Editor] Linear-only sizable blocks
For now, sizable blocks are only rectangular. It's will be useful to have the support for linear-only sizable blocks. For example, columns, floors, etc.
What needed:
- in the
lvl-blocks.ini
: Turn thesizable
boolean into enum with next values:none
(0 and 'False' are will be synonyms),rectangle
(1 and 'True' are will be synonyms), 'line', 'h-line', 'v-line'. -
line
will allow to draw 90-degree line. -
h-line
will allow to draw horizontal line only -
v-line
will allow to draw vertical line only - Render algorithm will don't process side blending for
h-line
(vertically) andv-line
(horizontally) which will be done for the "rubber" dimension.