MagicWE icon indicating copy to clipboard operation
MagicWE copied to clipboard

[TODO] BlockPalettes

Open inxomnyaa opened this issue 3 years ago • 3 comments

Description:

Add block palettes and presets

These can be created from a selection or manually entered. Palettes save with the session and can be named. They also allow for use of % signs to define the relative percentage.

Play together nicely with masks (#218)


TODO list:

  • [x] Add palettes
  • [x] Parse palettes
  • [ ] Save / load palettes
  • [x] Add weighted randomization (% sign) (Idea: Palette::getBlocks() : \Generator yields the block
  • [x] Some kind of serialization
  • [ ] UI
  • [ ] Palette::swap to replace all palette entries with another, allowing for quicker //rotate and //flip?

inxomnyaa avatar Dec 04 '20 06:12 inxomnyaa

Working code here https://github.com/thebigsmileXD/MagicWE2/tree/palette and here https://github.com/thebigsmileXD/MagicWE2/tree/palette-preview

inxomnyaa avatar Feb 13 '21 00:02 inxomnyaa

Waiting for feedback. If you have twitter, please check https://twitter.com/XenialDan/status/1419723539654062094 and leave your ideas + feedback there

inxomnyaa avatar Jul 26 '21 18:07 inxomnyaa

Current progress image image image

inxomnyaa avatar Oct 02 '21 01:10 inxomnyaa