Support ARGB for pen
See original GitHub issueExpected Behavior
The set pen color to {color}
block should support ARGB in the same way that Scratch 2.0 does.
Actual Behavior
The set pen color to {color}
block supports only RGB color.
Steps to Reproduce
Note that 2147483903 = 0x800000FF = ARGB(128, 0, 0, 255).
In Scratch 2.0 this will result in an image like this:
Needs discussion
Should the set pen color to {number}
block also support ARGB color? It doesn’t in Scratch 2.0, which is why the color
variable is necessary in the “Steps to Reproduce” example.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:17 (12 by maintainers)
Top Results From Across the Web
RGB values for pen - Discuss Scratch
I suggest having a way to input RGB values into your pen color, ... Does Scratch support hexadecimal numbers in other places?
Read more >Customized Argb Standing Gpu Holder Support 5v 3pin Sync
customized argb standing gpu holder support 5v 3pin sync graphics card holder support. DreambigbyRayMOD. 11,706 sales |
Read more >Solved: PEN Colour - Graphisoft Community
GDL does not support pen RGB. In general pen RGB appeared only after Archicad introduced conversion of PDF into drawing primitives - in...
Read more >Creating Colored Pens and Brushes - Win32 apps
... a color that the device does not support. In either case, you can use the RGB macro to specify a color when...
Read more >rgb color sliders - CodePen
To get the best cross-browser support, it is a common practice to apply vendor ... \":\"pen\",\"resources\":[],\"tags\":[\"color\",\"slider\",\"rgb\"] ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My recommendation would be to implement this identically to Scratch 2.0 for now in order to maintain compatibility / avoid scope creep.
Interestingly, once you click the “show” block in sprite1, the project is fixed. I suspect this is some deeper issue related to loading of projects into the VM (seeing as it works in Scratch 2)
(EDIT: You have to drag out a new show block from the toolbox, if that wasn’t clear)