scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.43k stars 3.51k forks source link

Ghost effect does not remain when dragging #1894

Open fsih opened 6 years ago

fsih commented 6 years ago

Expected Behavior

Ghost effect remains when dragging

Actual Behavior

Ghost effect does not remain, although all other graphic effects do

Steps to Reproduce

Set ghost effect on the cat to non-zero Drag the cat ghostdrag

Operating System and Browser

Windows 10 Chrome

paulkaplan commented 6 years ago

Interesting! @cwillisf i'm actually surprised, do you know why extract drawable seems to unset the ghost effect?

fsih commented 4 years ago

It's been explicitly disabled in the code, so maybe it's intentional?

cwillisf commented 4 years ago

Yeah, I believe this is intentional so that you can see the item you're dragging. Unlike other effects where the thing you're dragging might look strange due to the effects, the ghost effect can lead to deceptive behavior that seems buggy.

For example, if you have a sprite with ghost=99 stacked on top of another sprite and you try to drag the visible sprite, it can seem like a bug when the sprite you see doesn't move. In this scenario you'll accidentally drag the nearly-invisible sprite, which could also be a minor disruption of your project.

bruh-9000 commented 5 months ago

Maybe dragged sprites could have some sort of additional outline, glow, or shadow (to a higher extent than it currently is), to signify that you are dragging something, while allowing for the ghost effect to persist