This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-02-19 17:58:16

graflo001
New Scratcher
Registered: 2011-01-16
Posts: 3

Costume name of "c1"

I believe I'm finding an issue when attempting to name a costume "c1".  I have other costumes named "c2", "c3", etc.  The costume was originally named "c1" but not being recognized when called to change to this costume.  When I deleted it and re-added the costume the editor will not accept "c1" and changes it to "c11" by default.  I've ensured that no other costume for this particular sprite are named "c1". 

Is this a reserved costume naming convention?
Is there a limit to the number of costumes?
Are there any known issues with having costumes of multiple sprites named the same?

Offline

 

#2 2011-02-19 18:04:16

graflo001
New Scratcher
Registered: 2011-01-16
Posts: 3

Re: Costume name of "c1"

For anyone attempting to troubleshoot this, some additional information that appears relevant ...

the same sprite has costumes named "c10" and "c11".  It appears the issue surfaces only when these costumes have been created.

Offline

 

#3 2011-02-20 01:17:20

Guinea_Pig_Girl
Scratcher
Registered: 2010-08-25
Posts: 100+

Re: Costume name of "c1"

graflo001 wrote:

I believe I'm finding an issue when attempting to name a costume "c1".  I have other costumes named "c2", "c3", etc.  The costume was originally named "c1" but not being recognized when called to change to this costume.  When I deleted it and re-added the costume the editor will not accept "c1" and changes it to "c11" by default.  I've ensured that no other costume for this particular sprite are named "c1". 

Is this a reserved costume naming convention? No, I don't think so.
Is there a limit to the number of costumes? I don't think so! I've had a LOT of costumes at times XD
Are there any known issues with having costumes of multiple sprites named the same? Nope!  smile 

It's just the way Scratch works. It puts a number after the costume name sometimes, even when there's already a number there, but it's kinda hard to explain.

Example:
I name a costume "guineapig1" and it stays like that.
I name a costume "1" and it goes to "11"

Not sure why  smile


http://img841.imageshack.us/img841/783/misstdd.png
Put this in your siggy if you miss The_Dancing_Donut!

Offline

 

#4 2011-02-20 22:56:02

graflo001
New Scratcher
Registered: 2011-01-16
Posts: 3

Re: Costume name of "c1"

Thanks for the thoughts.  Actually I found another post from iCode-747 that described putting a space after each costume name.  This did the trick.

Offline

 

#5 2011-02-21 10:20:51

TheGameMaster1231
Scratcher
Registered: 2009-07-24
Posts: 1000+

Re: Costume name of "c1"

Guinea_Pig_Girl wrote:

I name a costume "guineapig1" and it stays like that.
I name a costume "1" and it goes to "11"

Not sure why  smile

You have to have something before the "1". Like in "costume1", there's "costume" behind "1". If you replace "costume" with "c", it'll be "c1".

But if you only put in "1", Scratch will think the "1" is supposed to be the thing behind the number, so it would think "1" is like the "c". But Scratch has a habit of adding a number to the end of the costume name if all that's in the name is a number, so it would change "1" to "11", so that the "1" is before a number. So it would be "1 (the "c" type one) 1 (the number after the "c" or "costume" or whatever)".

It probably sounds confusing, but yeah. Meh.

Offline

 

#6 2011-02-21 10:32:37

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Costume name of "c1"

Scratch doesn't allow a number lower than the highest costume name number.

Offline

 

Board footer