Discuss Scratch

wvj
Scratcher
1000+ posts

Random costume block

also I believe that this is a duplicate
han614698
Scratcher
1000+ posts

Random costume block

wvj wrote:

also I believe that this is a duplicate
link
wvj
Scratcher
1000+ posts

Random costume block

Unithlees3 wrote:

wvj wrote:

also I believe that this is a duplicate
I hate u
lol
Unithlees3
Scratcher
1000+ posts

Random costume block

wvj wrote:

Unithlees3 wrote:

wvj wrote:

also I believe that this is a duplicate
bruh
lol

Last edited by Unithlees3 (May 3, 2021 13:19:20)

Unithlees3
Scratcher
1000+ posts

Random costume block

bump
Unithlees3
Scratcher
1000+ posts

Random costume block

han614698 wrote:

Unithlees3 wrote:

bump
don't bump a dupe
It's not a dupe
TheTrillion
Scratcher
500+ posts

Random costume block

There is a easy workaround:
switch costume to (pick random (1) to (. . .::grey)
It is easy to understand for New Scratchers, and you can easily follow the logic of how this workaround works.

Last edited by TheTrillion (Feb. 23, 2022 16:29:21)

Unithlees3
Scratcher
1000+ posts

Random costume block

TheTrillion wrote:

No support. There is a easy workaround:
switch costume to (pick random (1) to (amount of costumes in sprite)
https://scratch.mit.edu/discuss/topic/510102/?page=1#post-5191807

Last edited by Unithlees3 (May 3, 2021 16:24:37)

Unithlees3
Scratcher
1000+ posts

Random costume block

bump
han614698
Scratcher
1000+ posts

Random costume block

removed - why was i being so annoying???

Last edited by han614698 (March 13, 2024 13:07:28)

Unithlees3
Scratcher
1000+ posts

Random costume block

han614698 wrote:

Unithlees3 wrote:

bump
Stop bumping a dupe. again
I said It's not a dupe
Unithlees3
Scratcher
1000+ posts

Random costume block

bump

Annoying scratch wrote:

Sorry, you have to wait 60 seconds between posts.
PkmnQ
Scratcher
1000+ posts

Random costume block

Let's use the handy workaround chart to help us here.

This suggestion suggests a very simple block, and the workaround is simple, as pointed out before:
switch costume to (pick random (1) to (costume count :: looks))
Now, you may say that this doesn't work because you can't detect the costume count in the script, unless you use the complex “RSWR” block. But in each sprite, the costume count stays constant. Therefore, we can just put the number in without any problem. This means it depends on the usage. Here's how that works:
If the suggestion will be commonly used, then the workaround is not relevant. If it won't, then the workaround is relevant.
I don't see any purpose to this that makes it common enough for the workaround to be irrelevant. Therefore, the workaround is relevant.
mybearworld
Scratcher
1000+ posts

Random costume block

This is workaroundable:
switch costume to (()+())
switch costume to (pick random (1) to (costume [number v]::looks))

Last edited by mybearworld (May 7, 2021 13:44:00)

PVC1
New Scratcher
23 posts

Random costume block

Unithlees3 wrote:

I really want a
random costume :: looks
block
BTW there is no workarounds for this block
An actual workaround

Rejected, this is already a series of blocks and remaking it is useless just to save time. Just make a variable or a custom block and you can get away without building it every time
PkmnQ
Scratcher
1000+ posts

Random costume block

mybearworld wrote:

Or using something intended:
switch costume to (()+())
Wait, WHAT?!
Unithlees3
Scratcher
1000+ posts

Random costume block

bump
bump
bump
han614698
Scratcher
1000+ posts

Random costume block

removed

Last edited by han614698 (March 13, 2024 13:10:39)

PGBFLITE6373
Scratcher
1000+ posts

Random costume block

Unithlees3 wrote:

bump

Annoying scratch wrote:

Sorry, you have to wait 60 seconds between posts.
Please bumb after 24 hours or off front page
Steve0Greatness
Scratcher
1000+ posts

Random costume block

PVC1 wrote:

Rejected, this is already a series of blocks and remaking it is useless just to save time. Just make a variable or a custom block and you can get away without building it every time
as far as I'm aware, this isn't rejected. What I think you mean is “No-Support?”

Powered by DjangoBB