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

#1 2010-09-27 21:19:59

centerfu
Scratcher
Registered: 2010-04-15
Posts: 2

Stupid Number Thing

I have a bunch of backgrounds for a platformer. I accidentally put the background for level 17 in the place of level 14, calling it level14, and vice versa. I put the backgrounds in the right order, but then when I go to change the names, it automatically calls what should be level14 but is titled level17, level18. I have no idea why, and it's really stupid.

Offline

 

#2 2010-09-27 21:26:46

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Stupid Number Thing

Yeah - it's because it wants to name things in order. I find it really hard to rename things to the right number, and the only solution I've found is to rename them all to obscure things and naming them appropriately after that.

Offline

 

#3 2010-09-27 21:31:31

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Stupid Number Thing

a way to do this is to add a random letter after the number. Then (when calling a costume) use the (join[(whatever calls it)][random letter])


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#4 2010-09-28 10:55:54

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: Stupid Number Thing

Its the annoying way scratch trys to auto-number things.
I hope they make it so that when you change it it stays how you named it in the next version.

Offline

 

#5 2010-09-28 19:40:25

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Stupid Number Thing

You know, you can just call a costume with its number. So if you have a variable that has a value of 3, and use the costume block like this: [Switch to costume (variable)], it will switch to costume #3. But yes, the numbering is annoying because it messes you up.  sad


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2010-10-01 17:55:37

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Stupid Number Thing

start at the last (biggest numbered costume) and rename each costume with 3 or 4 random letters. Repeat this all the way back to the costume that won't re-number correctly. Once it is all letters also, re-try numbering it (now it should work) and re-number the rest of the costumes. Also, use a numbering system like this...

01
02... etc


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

Board footer