nurpax / petmate

PETSCII editor with Electron/React/Redux
MIT License
185 stars 14 forks source link

Multiple (custom?) character and color palettes #58

Open Viza74 opened 6 years ago

Viza74 commented 6 years ago

So the wasd character selection is pretty usefull, but it would be even more usefull if the characters would be arrenged differently. Like the horizontal lines arranged by thickness, but just up to halfway, and the other half is down there in the inverted characters part (0,5-3,5 and 13,4-13,6 counted from the top left). The vertical lines are hard to see where they are in relation to the character, because they are arranged horizontally (6,7-6,12). So what if there would be multiple on-the-fly selectable arrangments of the character palette? And even for the colors palette (I touched on something similair in #49 )

Allowing the user to create custom palette arrengment would be the ultimate goal, but that would require quite a lot of UI functionality... But (depending on the internal implementation of course) adding a couple of predefined arrangements could be manageble probably? (I could try to come up with one or two arrangments if you are interested)

There could be a next/prev button over the palettes, and the user can switch with the numbers too (shift+numbers for the color palettes).

nurpax commented 6 years ago

Making a palette arrangement would be pretty easy actually. Just needs a modal dialog or some settings route.

Should the palette arrangements be saved as part of Petmate preferences or is this something that should be saved into the workspace? I guess it'd be a preferences thing?

Viza74 commented 6 years ago

Hmm, yeah, now that you say, the palette arrangment UI could be basically the same as the drawing UI...

And yes, it should be a preference thing I think.

nurpax commented 6 years ago

Whipped up a prototype for a preferences screen:

https://youtu.be/sFGjRimuBBM