Discuss Scratch

medians
Scratcher
1000+ posts

Previous costume

Zack_39450 wrote:

BigNate469 wrote:

ihavenocluewhythisis wrote:

switch costume to [previous costume v] // make a costume called previous costume, set the block to it and delete the costume. easy workaround.
no support
Why should there have to be a workaround at all when the functionality is obviously built into Scratch itself?
If it already exists, why does this topic still exist? They could just add it.
Because the dropdown option isn't added which is the suggestion (so people might not know about the workaround), and it should since previous backdrop already has the dropdown option added.

Last edited by medians (Nov. 4, 2024 01:48:50)

50_scratch_tabs
Scratcher
1000+ posts

Previous costume

No support.
switch costume to ((costume [number v]) - (1))

// Or

switch costume to (join [previous costume] [])
Or any of the other many workarounds.

The workarounds are easy, therefore it doesn't need to be added.

(although I believe this was in 2.0 but removed, so the ST thinks it's not necessary.)

Last edited by 50_scratch_tabs (Nov. 24, 2024 22:43:28)

medians
Scratcher
1000+ posts

Previous costume

50_scratch_tabs wrote:

No support.
switch costume to ((costume [number v]) - (1))

// Or

switch costume to (join [previous costume] [])
Or any of the other many workarounds.

The workarounds are easy, therefore it doesn't need to be added.

(although I believe this was in 2.0 but removed, so the ST thinks it's not necessary.)
No, it wasn't in 2.0 but the functionality was added in 2.0, and we already have previous backdrop and next costume/backdrop:
https://scratch.mit.edu/projects/918894112/
https://scratch.mit.edu/projects/784273667/
Easy workaround doesn't mean that it cannot be added. Previous backdrop wasn't always there either.

Last edited by medians (Nov. 24, 2024 23:47:31)

medians
Scratcher
1000+ posts

Previous costume

QueenKyttySparkle wrote:

What's weirder is they have a next backdrop block but you can also use a dropdown???
Also, Scratch actually implemented some of the code too. If you name a costume to “previous costume”, select it in the “switch costume to” dropdown, delete the block and backpack it, you have a previous costume block that actually works.
I'm late, but yea that's because of the fact that the next backdrop block actually existed as next background before the dropdown option was added, though that doesn't mean one cannot be removed (if we're going to remove one of them, I'd remove the next backdrop stack block so you can select next backdrop in the switch backdrop to () and wait block, since the two switch backdrop blocks use the same dropdown).

Last edited by medians (Nov. 24, 2024 23:55:35)

medians
Scratcher
1000+ posts

Previous costume

Bringing this topic up.
CampingUK
Scratcher
6 posts

Previous costume

Malthetalthee wrote:

Im not sure if this already is here, but I would love a block called previous costume.

Me too - I think this would help alot. Obviously, we could just code “switch costume to (costume number -1)” or something like that (idk how to write.. blocks haha ) but we have a show button AND a hide button, so we should do likewise with next and prev.! Similar to what I just mentioned, it’s really easy to code a button for this but it would make stuff way easier for lots of Scratchers!
nikky10000000
Scratcher
500+ posts

Previous costume

lunaluvgood wrote:

theamazingblob wrote:

Also, they should have a next/previous backdrop block. I know they have that in the dropdown for the switch backdrop to ______ block, but seems a little inconsistent with the costume blocks.
So why don't they make a block that says "Switch to ?
Did you just predict the future or what
soarroying
Scratcher
500+ posts

Previous costume

Why are we discussing this anyway? Paddle's not adding anything until scratch 4.0, so there's really no point.
ihavenocluewhythisis
Scratcher
500+ posts

Previous costume

CosmicHamster wrote:

Catgirl555 wrote:

CosmicHamster wrote:

No support. The workaround only needs 3 blocks, which is really simple.

switch costume to <(costume #) - (1)>

Just because it has a scary operator block in it does not mean it is hard. In my opinion, the work around should be very easy to remember. But if the
switch backdrop to [ v]
block has “previous backdrop” and “next backdrop” as some of the options, then I suppose that it could be an option for the
switch costume to [ v]
block, too. But I still think that the work around is easy.


I don't think operators are scary.
I know, but some people when they start Scratch think that operators are complicated, so I was referring to them.
well I mean there is one complicated one

I'm talking about you,
[abs v] of ()

Last edited by ihavenocluewhythisis (Dec. 4, 2024 21:50:24)

pesto_toons
Scratcher
41 posts

Previous costume

There are too many blocks. When 4.0 releases there should be some added capabilities for 3d and reduced lag, but they should remove quite a few blocks that can be replicated by other blocks. If someone wants to learn to code on scratch then they should be willing to do a quick search to find out how to go to the previous costume. If scratch is holding your hand through the whole process, then you will gain nothing from using this website, because it will not teach any real skills. If they keep adding more and more blocks at some point there will just be a “Make game” block /j
medians
Scratcher
1000+ posts

Previous costume

pesto_toons wrote:

There are too many blocks. When 4.0 releases there should be some added capabilities for 3d and reduced lag, but they should remove quite a few blocks that can be replicated by other blocks. If someone wants to learn to code on scratch then they should be willing to do a quick search to find out how to go to the previous costume. If scratch is holding your hand through the whole process, then you will gain nothing from using this website, because it will not teach any real skills. If they keep adding more and more blocks at some point there will just be a “Make game” block /j
This doesn't have to be a new block since the dropdown option could just be added to the switch costume to (), and I don't think adding previous costume would result in that. There's already next costume/backdrop and previous/random backdrop (the next backdrop stack block could be removed though, and next costume could merge with switch costume to ()):
https://scratch.mit.edu/projects/918894112/

Last edited by medians (Dec. 5, 2024 01:10:23)

Voxalice
Scratcher
1000+ posts

Previous costume

Bringing this topic up to the first page of Suggestions.
EndlessArtist
Scratcher
45 posts

Previous costume

I totally agree!
50_scratch_tabs
Scratcher
1000+ posts

Previous costume

EndlessArtist wrote:

I totally agree!
The forums are not a ballot box.
The Scratch Team implements suggestions based on the pros and cons, not how many people support it. Please explain why you support.
medians
Scratcher
1000+ posts

Previous costume

Bringing this topic up.
Pixel2024
Scratcher
12 posts

Previous costume

I do agree to this statement. Since there are you know previous backdrop, next backdrop, next costume. Why isn't there a previous costume block? I mean wouldn't it be easier? I'm getting tired of having to put in every second and then switch to costume _____, which would be me switching it to the previous costume beforehand. I hope the scratch team is looking forward to actually doing this, so it can make everything easier.
NotK3ndricAltAgain
Scratcher
500+ posts

Previous costume

bump ‘cause dupe
edit: WHAT KING??? didnt know

Last edited by NotK3ndricAltAgain (Jan. 18, 2025 13:17:24)

Cool_kid092
Scratcher
500+ posts

Previous costume

workarounds
switch costume to ((costume [number v]) - (1))
unnor
Scratcher
1000+ posts

Previous costume

NoxSpooth wrote:

Just do this:

define previous costume
switch costume to ((costume #) - (1))
that does not work.
workaround:
define previous // run without screen refresh
repeat ((number of costumes) - (1))
next costume
end

Last edited by unnor (Jan. 19, 2025 22:27:02)

medians
Scratcher
1000+ posts

Previous costume

unnor wrote:

NoxSpooth wrote:

Just do this:

define previous costume
switch costume to ((costume #) - (1))
that does not work
Did you try it?

Cool_kid092 wrote:

workarounds
switch costume to ((costume [number v]) - (1))
This is known, but the functionality is already added to the switch costume to () block (you can use previous costume in a join block to see this), so it would make sense to add it to the dropdown.

Powered by DjangoBB