Discuss Scratch

DestroyerMCE
Scratcher
34 posts

Color Variables

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.
how did you make that?

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.
it doesn't seem to work in “touching color” blocks

Last edited by DestroyerMCE (April 19, 2018 00:46:36)

red_king_cyclops
Scratcher
500+ posts

Color Variables

DestroyerMCE wrote:

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.
how did you make that?

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.
it doesn't seem to work in “touching color” blocks

NitroCipher was able to make that block by hacking Scratch. That block is a hacked block.
scrum0687
Scratcher
19 posts

Color Variables

set [ color] effect to < [#ae3e90] >
MasterScratcher29
Scratcher
1 post

Color Variables

set color of [ foo] to [#ff00ff]
What!
Galaxy_Boy89
Scratcher
19 posts

Color Variables

when green flag clicked
(colour)=(orange)
set [colour] to [beige]
FancyPanties30000
Scratcher
33 posts

Color Variables

what? i am just searching how to make a slider variable that changes color effect to a sprite!

say [ugh!]

Last edited by FancyPanties30000 (June 3, 2020 17:03:54)

ninjaMAR
Scratcher
1000+ posts

Color Variables

Support i did not memorize color codes
seriouslyscratchy1
Scratcher
100+ posts

Color Variables

here is something they might add!
set [(foo) v] to [colour]

say [but it might not be here] for how long I talk secs

Last edited by seriouslyscratchy1 (July 17, 2020 11:41:52)

sathvikrias
Scratcher
500+ posts

Color Variables

when green flag clicked
say [huh?]
Steve0Greatness
Scratcher
1000+ posts

Color Variables

idk if there's an older dupe but support!
set [foo v] to ( :: #000000)
me-folow-u
Scratcher
3 posts

Color Variables

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.




Yes! I did it and it works! Thank you!
carot800
Scratcher
47 posts

Color Variables

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.


That works in 2.0, but how to get in 3.0?
DarthStorm_RKCE
Scratcher
2 posts

Color Variables

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.
how do you do that in Scratch 3.0
i can't set the variable to a color
define [var][color]
^^^you cant set this to a color
10-InigoGarcia
Scratcher
48 posts

Color Variables

Last edited by 10-InigoGarcia (March 19, 2021 18:43:11)

10-InigoGarcia
Scratcher
48 posts

Color Variables

There is one variable that is a color!!! Go to this project:
https://scratch.mit.edu/projects/315757409/
Then click see inside and go to the “Working Blocks” sprite. Go to the last blocks and you will see a block like
set pen color to (), but with a BIG red circle. When you click on that red circle you can drag it and choose an other color because it is a variable. That´s all folks!

Last edited by 10-InigoGarcia (March 19, 2021 18:49:54)

reallysoftuser
Scratcher
1000+ posts

Color Variables

10-InigoGarcia wrote:

There is one variable that is a color!!! Go to this project:
https://scratch.mit.edu/projects/315757409/
Then click see inside and go to the “Working Blocks” sprite. Go to the last blocks and you will see a block like
set pen color to (), but with a BIG red circle. When you click on that red circle you can drag it and choose an other color because it is a variable. That´s all folks!
How is that possible
the2000
Scratcher
1000+ posts

Color Variables

reallysoftuser wrote:

10-InigoGarcia wrote:

There is one variable that is a color!!! Go to this project:
https://scratch.mit.edu/projects/315757409/
How is that possible
Though Scratch 3.0 made most weird block hacking shenanigans impossible as far as I can tell, you can swap out block inputs like that with the engine. I've also seen the broadcast blocks and key pressed boolean hacked to have text inputs. Scratch 3.0 has “invisible reporters” which cannot usually be dragged out of their “host blocks” and manage certain inputs in order to get around an engine limitation.

Last edited by the2000 (March 19, 2021 19:42:48)

han614698
Scratcher
1000+ posts

Color Variables

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.
A custom reporter doesn't fit in a dropdown.
p_CONMAN_q
Scratcher
2 posts

Color Variables

NitroCipher wrote:

Here: https://scratch.mit.edu/projects/155246726/

This is a custom block that I made for just this purpose.

set [variable v] to [#66dd44] ::custom

define set [var] to [color]
set (var) to (color)

If you do intend on using it, please drop some credit in the description.
umm… I don't think you can use it
chiragcode
Scratcher
14 posts

Color Variables

All of the sections have something about color.

Powered by DjangoBB