lospec / pixel-editor

An online canvas based Pixel Art creation tool for Lospec.com

Home Page:https://Lospec.com/pixel-editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IMPROVEMENT: references

unsettledgames opened this issue · comments

Multiple reference images

  • The user can drag them around the canvas
  • The user can resize them to a certain extent
  • When placed on the canvas, the reference image is exactly below the current layer, so that the user can always see the image and draw over it

will each reference image be it's own layer (a special type of reference layer)

I don't think I'm going to use the existin layer system for them, they'll mostly be draggable windows, each window contains a reference. The user can drag and resize them, when clicking on one, its zindex is set so that is more than all the other references'

how will they be below the layers when needed? how will they still in place when the user is tracing over it (but zooms or pans)?

how will they be below the layers when needed?

I was thinking about having a pin system. When you click on a reference pic, it's moved above everything. Alternatively, you can pin a reference in order for it to stay on top of the stack.

how will they still in place when the user is tracing over it (but zooms or pans)?

I was thinking about letting the user move references only when they click on their top bar (similarly to what happens in browser windows)

I think "pin" would make more sense as a reference you want to keep in place during panning an zooming, and perhaps a different toggle for keeping the reference on top of everything vs below the current layer

I think references should have absolute positioning to the window, otherwise the user would have to rearrange them whenever they zoom or pan. Maybe we could let the user minimize a reference so that they can easily open them whenever they need them