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
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
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
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
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"?
Offline
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
Offline
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.
Offline