Discuss Scratch

derekrobertson
Scratcher
2 posts

Sprites within a sprite

I have made a sprite of a goose in flight (sprite 1). 5 images to give the effect of flight. I am trying to position this sprite in to another sprite (sprite 2) so that I have a v shape of a number of geese (lots of the sprite 1). How do I make the sprite 1 operate within sprite 2?
Wahsp
Scratcher
1000+ posts

Sprites within a sprite

I’m not sure I completely understand what you are trying to do, but you can use broadcasts to start scripts in other sprites
For example:

broadcast [message v] //in one sprite

when I receive [message v] //in another
...

​I am Wahsp
______________________________________________________

Formerly pretty active on the forums, probably mostly retired now…
If you see one of my posts send me a hello!
______________________________________________________
pinkieofthepies
Scratcher
500+ posts

Sprites within a sprite

Could you clarify what you mean? to me it sounds like you're talking about costumes, the separate images that can be within a sprite and changed between. i cant get a screenshot right now sorry

still here
KICK_THE_HABIT
Scratcher
100+ posts

Sprites within a sprite

Maybe the clone block would do the job.


zafzaf
Scratcher
1000+ posts

Sprites within a sprite

spriteception
I think that could be done with clones.

“that's life, goofball, sometimes you lose people. sometimes you lose people you care about. and you never see them again. and the worst part is, you never even get a chance to apologize to them for letting them down.”

give me an internet so I can feel better about myself



derekrobertson
Scratcher
2 posts

Sprites within a sprite

Thank you everyone. No problem with your help at all Pinkieofthepies. Really appreciate your response. I will now investigate clones.

Powered by DjangoBB