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

#1 2010-07-26 18:56:35

Fidelio
New Scratcher
Registered: 2010-07-24
Posts: 2

Multiple Sprites With same name

Hi All,
I downloaded a program called 'Fish' which had multiple sprites all called 'yellowfish'
I can't seem to do this. If I give two sprites the same name , the second gets renamed as 'name1'
Can I do this? Many Thanks
F

Offline

 

#2 2010-07-26 19:07:13

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

Re: Multiple Sprites With same name

I'm not sure why you would want to, but no, I don't think so. If the names were the same, Scratch wouldn't be able to tell which sprite is which.


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

 

#3 2010-07-26 19:10:17

JeanTheFox
Scratcher
Registered: 2010-06-14
Posts: 1000+

Re: Multiple Sprites With same name

Maybe they put spaces in the names?  hmm

It doesn't really matter though...


http://i51.tinypic.com/20gcn5j.png

Offline

 

#4 2010-07-26 19:21:51

Fidelio
New Scratcher
Registered: 2010-07-24
Posts: 2

Re: Multiple Sprites With same name

Thanks guys
There don't seem to be any spaces in there. The Shark sprite has an 'if touching yellowfish' bit of script which seems to work for all the yellowfish, which is quite handy. I suppose I could copy this and cnage it to yellowfish1..2..3 etc.

But anyway, it does seem to be possble, and I can't work out how.

Offline

 

#5 2010-07-26 19:44:47

JeanTheFox
Scratcher
Registered: 2010-06-14
Posts: 1000+

Re: Multiple Sprites With same name

Oh well.


http://i51.tinypic.com/20gcn5j.png

Offline

 

#6 2010-07-27 02:01:51

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Multiple Sprites With same name

Maybe they import a sprite repeatedly and then edit it? :S


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#7 2010-07-27 02:23:41

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

Re: Multiple Sprites With same name

Interesting though. It could be useful in a situation like that. Maybe they used the Hidden Sprite Trick? Repeating the trick seemed to give me multiple sprites, all with the same name.

http://i25.tinypic.com/2lc5q8w.jpg


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

 

#8 2010-07-27 18:58:13

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Re: Multiple Sprites With same name

You just duplicate the sprite with the name. Easy.
AND you can make a nothingness costume by clicking "paint" and clicking it again without closing it.  smile

Last edited by geohendan (2010-07-27 19:00:56)


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#9 2010-07-27 19:03:29

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

Re: Multiple Sprites With same name

geohendan wrote:

You just duplicate the sprite with the name. Easy.
AND you can make a nothingness costume by clicking "paint" and clicking it again without closing it.  smile

When you duplicate a sprite, Scratch changes its name.


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

 

#10 2010-07-27 19:07:33

geohendan
Scratcher
Registered: 2009-08-06
Posts: 1000+

Re: Multiple Sprites With same name

Harakou wrote:

geohendan wrote:

You just duplicate the sprite with the name. Easy.
AND you can make a nothingness costume by clicking "paint" and clicking it again without closing it.  smile

When you duplicate a sprite, Scratch changes its name.

Ah, well, It works on my computer. Just for one sprite, though.  hmm

Last edited by geohendan (2010-07-27 19:08:35)


Scratching that nasty wart on my back since 2009!
http://i.imgur.com/OzpGtWV.jpg

Offline

 

#11 2010-07-27 19:13:25

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

Re: Multiple Sprites With same name

geohendan wrote:

Harakou wrote:

geohendan wrote:

You just duplicate the sprite with the name. Easy.
AND you can make a nothingness costume by clicking "paint" and clicking it again without closing it.  smile

When you duplicate a sprite, Scratch changes its name.

Ah, well, It works on my computer. Just for one sprite, though.  hmm

Really? That's odd; It doesn't on mine. What OS are you running, and what are your computer's specs?


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

 

#12 2010-07-27 19:42:10

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

Re: Multiple Sprites With same name

geohendan wrote:

Harakou wrote:

geohendan wrote:

You just duplicate the sprite with the name. Easy.
AND you can make a nothingness costume by clicking "paint" and clicking it again without closing it.  smile

When you duplicate a sprite, Scratch changes its name.

Ah, well, It works on my computer. Just for one sprite, though.  hmm

Are you sure it's not that the sprite's name is so long that you can't see the number?

Offline

 

Board footer