Discuss Scratch

leonid2009
Scratcher
13 posts

Previous Costume Block

Could you please add a
previous costume
previous backdrop
Blocks?
To make a previous costume/backdrop, you would need to do
switch costume to [((costume #) - (1)) v]
switch backdrop to [((costume #) - (1)) v]
Or if you want to make a loop(go 321987654), you would need to make a VERY complicated program.
It would very good for programs where you rewind something, or when you need to animate a sprite(a lot of costumes) to a special state and then animate it back to normal.

I think this block will be fery useful for new scratchers.

Also, this is my first forum.

Last edited by leonid2009 (June 23, 2019 01:48:44)

CatsUnited
Scratcher
1000+ posts

Previous Costume Block

You've shown the workaround in your suggestion, and considering how simple it is, I don't think a previous block is needed.
WindOctahedron
Scratcher
1000+ posts

Previous Costume Block

leonid2009 wrote:

To make a previous costume/backdrop, you would need to do
switch costume to [((costume #) - (1)) v]
switch backdrop to [((costume #) - (1)) v]
You meant this:
switch costume to ((costume #)-(1))
switch backdrop to ((backdrop #)-(1))
Or if you want to make a loop(go 321987654), you would need to make a VERY complicated program.
I don't exactly understand what you mean, but I think that if I understood, I would disagree.
It would very good for programs where you rewind something, or when you need to animate a sprite(a lot of costumes) to a special state and then animate it back to normal.
Just use the workaround.
I think this block will be fery useful for new scratchers.
I agree.
It would be fery, fery, fery useful for new Scratchers, because it would be better if they figured it out themselves, or asked about it in the forums. That way, they would learn something new instead of just using the pre-made block and continuing to live without the knowledge of the forums or operator blocks.

CatsUnited wrote:

You've shown the workaround in your suggestion, and considering how simple it is, I don't think a previous block is needed.
I don't support because of the reason @CatsUnited described above. I know that some of you are ready to say "Then why does the
change x by ()
block exist?“ Well, because it is a basic feature in Scratch programs, and the ”previous costume" isn't that basic.
Oh, and notice the difference between “change by ()” and “next”. The former one is “change by any value”, while the latter is always “change by 1”.

Last edited by WindOctahedron (June 23, 2019 07:14:19)

leonid2009
Scratcher
13 posts

Previous Costume Block

Or if you want to make a loop(go 321987654), you would need to make a VERY complicated program.
I don't exactly understand what you mean, but I think that if I understood, I would disagree.
I meant like from costume 2 to cost. 1 to cost. 9 (last costume. this number could change in your programs) and then to 8 and so on.
Just use the workaround.
What workaround?

P.S. also, fery is actually spelled very
P.P.S. The blocks glitched out when I did the workaround

Last edited by leonid2009 (June 25, 2019 02:41:56)

MaximunPokeMaster
Scratcher
500+ posts

Previous Costume Block

no support. just do:
switch costume to [previous costume v]
switch backdrop to [previous backdrop v]

Last edited by MaximunPokeMaster (June 25, 2019 03:48:29)

CatsUnited
Scratcher
1000+ posts

Previous Costume Block

leonid2009 wrote:

Or if you want to make a loop(go 321987654), you would need to make a VERY complicated program.
I don't exactly understand what you mean, but I think that if I understood, I would disagree.
I meant like from costume 2 to cost. 1 to cost. 9 (last costume. this number could change in your programs) and then to 8 and so on.
Just use the workaround.
What workaround?

P.S. also, fery is actually spelled very
P.P.S. The blocks glitched out when I did the workaround
So like
switch costume to [2 v]
forever
switch costume to ((costume #) - (1))
end
? I'd say that's a pretty simple workaround.
E_Equals_EmCeCube3
Scratcher
1000+ posts

Previous Costume Block

A previous backdrop block technically already exists - it's one of the drop-down options for the existing switch backdrop block:
switch backdrop to [previous backdrop v]
alongside next backdrop and random backdrop.

And as for previous costume, it appears that this block has been suggested before in this topic.
In which case, please resume the discussion there so we can keep suggestions organized and in one place. Thanks!
WindOctahedron
Scratcher
1000+ posts

Previous Costume Block

E_Equals_EmCeCube3 wrote:

And as for previous costume, it appears that this block has been suggested before in this topic.
In which case, please resume the discussion there so we can keep suggestions organized and in one place. Thanks!
Okay then… I'll* report this, so that the Scratch Team can close this.
*Four vertical lines, the second one 3 times shorter than the others… I don't like this font as much as before.

Powered by DjangoBB