scratchfoundation / scratch-vm

Virtual Machine used to represent, run, and maintain the state of programs for Scratch 3.0
http://scratchfoundation.github.io/scratch-vm/
BSD 3-Clause "New" or "Revised" License
1.22k stars 1.52k forks source link

Add more intuitive way of color selection for Wedo #1814

Open kyleplo opened 5 years ago

kyleplo commented 5 years ago

Expected Behavior

There should be color picker, and also a way to turn the light off.

Actual Behavior

You just enter a number

Steps to Reproduce

Try it

Operating System and Browser

All

ericrosenbaum commented 5 years ago

This would be nice to have. We've thought about it (see e.g. https://github.com/LLK/scratch-vm/issues/667). One challenge is that the "set light color" block with a number input exists in Scratch 2.0, so we need to keep it around, and one with a color picker instead would be an additional block. We try to keep extensions fairly small, so we haven't added it. It's also not clear that the existing HSB color picker is a good match for the color capabilities of the LED (it might be better to use a grid of color options, but we don't have that feature).