Moondust-Project icon indicating copy to clipboard operation
Moondust-Project copied to clipboard

[Editor] Linear-only sizable blocks

Open Wohlstand opened this issue 6 years ago • 0 comments

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 the sizable 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) and v-line (horizontally) which will be done for the "rubber" dimension.

Wohlstand avatar Jun 14 '18 00:06 Wohlstand