Discuss Scratch

samq64
Scratcher
1000+ posts

stamp with color () block

It would be nice to have a block that stamps the shape of the current costume on the stage in the colour of your choice.

stamp with colour [#4d97ff] :: pen

Here's an example:
when gf clicked
switch costume to [cat-a v]
stamp with color [#000000]::pen

and here's the result:

Original Stamped


Using the graphics effect block as a workaround will not work with most costumes or colours.

stamp with color [#194bff] :: pen
stamp with colour graphic effects

Last edited by samq64 (Oct. 18, 2021 23:15:51)

sathvikrias
Scratcher
500+ posts

stamp with color () block

semi support. I think you can set the appropriate graphic effects, stamp, then set them back. however, scratch is an INTRODUCTORY programming language.
gosoccerboy5
Scratcher
1000+ posts

stamp with color () block

This is a really interesting and cool concept.
A lame workaround that accounts for a very specific case is this:
set [brightness v] effect to (-100) //(or 100)
stamp
This makes it stamp either a fully black or fully white version of the sprite
Steve0Greatness
Scratcher
1000+ posts

stamp with color () block

gosoccerboy5 wrote:

This is a really interesting and cool concept.
A lame workaround that accounts for a very specific case is this:
set [brightness v] effect to (-100) //(or 100)
stamp
This makes it stamp either a fully black or fully white version of the sprite
ah, yes, black and white, very useful for creating an Unus Annus throwback.
gosoccerboy5
Scratcher
1000+ posts

stamp with color () block

sathvikrias wrote:

semi support. I think you can set the appropriate graphic effects, stamp, then set them back. however, scratch is an INTRODUCTORY programming language.
that doesn't mean cool or advanced features shouldn't be added, as I'm sure you know. and besides, this wouldn't be too hard to get the hang of either.
samq64
Scratcher
1000+ posts

stamp with color () block

Bump
samq64
Scratcher
1000+ posts

stamp with color () block

gosoccerboy5 wrote:

This is a really interesting and cool concept.
A lame workaround that accounts for a very specific case is this:
set [brightness v] effect to (-100) //(or 100)
stamp
This makes it stamp either a fully black or fully white version of the sprite
Yeah, I know there are workarounds for single-colored costumes, but it's kind of hard to use the color effect blocks to get the color right. For costumes with more than one color in it, it would only be possible to do it in black an white with your example.

This would be very helpful for all sorts of things. Here's an example: let's say you want to make a pixel art project with 20x20 squares as the pixels, but it's hard to do without excessive cloning and if you use the pen, you have all those rough edges. This would fix those problems!

Last edited by samq64 (April 2, 2021 11:47:45)

GunesKing
Scratcher
1000+ posts

stamp with color () block

Use costumes to stamp different blocks!
PoIygon
Scratcher
1000+ posts

stamp with color () block

GunesKing wrote:

Use costumes to stamp different blocks!
I don’t know what your saying
samq64
Scratcher
1000+ posts

stamp with color () block

Bump
GunesKing
Scratcher
1000+ posts

stamp with color () block

PoIygon wrote:

GunesKing wrote:

Use costumes to stamp different blocks!
I don’t know what your saying
Stamps occur on costumes. Costumes can make what color you want.
Or, use color effect for different colors. Black and White can be painted.
samq64
Scratcher
1000+ posts

stamp with color () block

Bump
kccuber
Scratcher
1000+ posts

stamp with color () block

full support. im not using like 16 million sprite costumes in an easy to use paint editor that i might be working on
Jonathan50
Scratcher
1000+ posts

stamp with color () block

I think you could make a grayscale version of your costume, and then have the sprite switch to that costume, change the colour and brightness effects, stamp, and change its colour and costume back. That could be done with a custom block.

Last edited by Jonathan50 (April 21, 2021 22:31:06)

samq64
Scratcher
1000+ posts

stamp with color () block

Bump
Pixalperfect
Scratcher
500+ posts

stamp with color () block

samq64 wrote:

-snip-
Isn't that just
set pen color to []
stamp
?

Last edited by Pixalperfect (May 5, 2021 23:48:54)

dhuls
Scratcher
1000+ posts

stamp with color () block

Pixalperfect wrote:

samq64 wrote:

-snip-
Isn't that just
set pen color to []
stamp
?
Nope, tried it out but it doesn't work.
samq64
Scratcher
1000+ posts

stamp with color () block

Bump
fdreerf
Scratcher
1000+ posts

stamp with color () block

I made this workaround. It's very slow and inefficient, having to scan the entire stage, but improving it is left as an exercise to the reader. Even so, I don't really like it and would much rather just have the block.
Ezhua0730
Scratcher
26 posts

stamp with color () block

fdreerf wrote:

I made this workaround. It's very slow and inefficient, having to scan the entire stage, but improving it is left as an exercise to the reader. Even so, I don't really like it and would much rather just have the block.
I know it is very, ver slow. that is why we should add stamp with color.
stamp with color [#DF1015]

Powered by DjangoBB