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

#1 2011-03-28 20:29:06

bryanso
New Scratcher
Registered: 2011-03-27
Posts: 4

How to maintain many similar sprites?

I have 52 sprites, each one is a playing card.  I designed many useful block scripts for the first one first and then duplicated it 51 times.

I like it so far, each card seems alive.  As opposed to having one sprite, stamping card images on the stage.

But... now I have to make a change to a block script, which needs to be replicated in all sprites.  Making manual changes in each one seems to be nightmarish.  Same problem if I have to add a new utility block script to each.

Any suggestion please?  Is there any Inheritance feature?

Thanks

Bryan

Offline

 

#2 2011-03-29 05:58:40

rdococ
Scratcher
Registered: 2009-10-11
Posts: 1000+

Re: How to maintain many similar sprites?

Edit 1 script of it, drag the script to the next sprite, delete the script of the 2nd sprite with the bug, and so on (or vice versa if you're american).

Offline

 

#3 2011-03-29 06:28:10

lemonpretzel
Scratcher
Registered: 2008-10-23
Posts: 100+

Re: How to maintain many similar sprites?

rdococ wrote:

Edit 1 script of it, drag the script to the next sprite, delete the script of the 2nd sprite with the bug, and so on (or vice versa if you're american).

What bug?

Offline

 

#4 2011-03-29 07:29:18

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: How to maintain many similar sprites?

lemonpretzel wrote:

rdococ wrote:

Edit 1 script of it, drag the script to the next sprite, delete the script of the 2nd sprite with the bug, and so on (or vice versa if you're american).

What bug?

The script you're replacing.

Offline

 

#5 2011-03-29 08:26:50

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

Re: How to maintain many similar sprites?

rdococ wrote:

Edit 1 script of it, drag the script to the next sprite, delete the script of the 2nd sprite with the bug, and so on (or vice versa if you're american).

What does it matter if you are American or not? How would you do it "vice versa"?  hmm

Offline

 

#6 2011-03-29 13:02:35

bryanso
New Scratcher
Registered: 2011-03-27
Posts: 4

Re: How to maintain many similar sprites?

Repeat 51 times for each bug fix?!  I'm giving up.

Bryan

Offline

 

#7 2011-03-29 13:17:01

Necromaster
Scratcher
Registered: 2010-04-07
Posts: 1000+

Re: How to maintain many similar sprites?

bryanso wrote:

Repeat 51 times for each bug fix?!  I'm giving up.

Bryan

You don't have to say 'bryan' at the bottom of each post  tongue

Offline

 

#8 2011-03-29 14:57:55

bryanso
New Scratcher
Registered: 2011-03-27
Posts: 4

Re: How to maintain many similar sprites?

I think I need this: Panther supports cloning, this is incredibly useful for games where many, very similar sprites are constantly appearing and dissapearing, such as enemies, bricks or coins.

Offline

 

#9 2011-03-30 09:07:41

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

Re: How to maintain many similar sprites?

bryanso wrote:

I think I need this: Panther supports cloning, this is incredibly useful for games where many, very similar sprites are constantly appearing and dissapearing, such as enemies, bricks or coins.

Yes, there is talk about adding cloning to Scratch 2.0.  smile

Offline

 

Board footer