Discuss Scratch
- Discussion Forums
- » Suggestions
- » Costume name?
- LS97
-
Scratcher
100+ posts
Costume name?
I think scene name is useful to tell the playing user which scene it is without having to employ a long IF-ELSE, whereas costumes were never devised as needing output to user.
- Lucario621
-
Scratcher
100+ posts
Costume name?
LS97That's a good point LS97. Costumes are usually just an output, and don't actually cause other scripts or events to happen; whereas with scenes, they now work more like broadcasts, as they can trigger scripts in other sprites - so having a scene name block is much more useful. That's not to say that a costume name block would be bad (I would still like to see it added); but it's not completely necessary.
I think scene name is useful to tell the playing user which scene it is without having to employ a long IF-ELSE, whereas costumes were never devised as needing output to user.
- rockstar151
-
Scratcher
23 posts
Costume name?
Yep, I do not need a costume block either. A scene block is more important because we don't need to know the name of a costume.
- rockstar151
-
Scratcher
23 posts
Costume name?
Yep, I do not need a costume block either. A scene block is more important because we don't need to know the name of a costume.
- ProdigyZeta7
-
Scratcher
1000+ posts
Costume name?
Yeah, this can easily be made with a local list of the costume names:
(item (costume #) of [costume names v])
Last edited by ProdigyZeta7 (July 28, 2013 22:20:31)
- PERCE-NEIGE
-
Scratcher
100+ posts
Costume name?
I think scene name is useful to tell the playing user which scene it is without having to employ a long IF-ELSE, whereas costumes were never devised as needing output to user.
I totally disagree!
It's up to the programmer to choose how he wants to use the scripting materials. I've made some project using the name of the custom as a trigger.
You have the script (in the blue blocks section):
“name of costume” of….
Last edited by PERCE-NEIGE (July 28, 2013 23:33:41)
- Paddle2See
-
Scratch Team
1000+ posts
Costume name?
You have the script (in the blue blocks section):
“name of costume” of….
Yes, the costume name is available from the sprite attributes block under the Sensing tab. It's one of the sprite attributes you can choose from the dropdown menu. Since this feature is currently available, there seems little reason to keep this topic open.
- Discussion Forums
- » Suggestions
-
» Costume name?







