Hey, I'm just a newb here, and I was wondering what's a good way to make sprites do two things at the same time and finish at the same time? Is there a special script to do that, or do I just need to time it right? Or, if anyone wants to give me an example of a game where the sprites animate while moving, that would be great. Thankies!
Offline
I've never done this, but you could try doing it this way:
[blocks]
<when green flag clicked>
<set{ done }to( 0)
<repeat( certain number of times)
<think[ put in whatever blocks you want in here]
<end>
<set{ done }to( 1)
[/blocks]
that would be in one sprite
the other would have this:
[blocks]
<when green flag clicked>
<repeat until> <( <{ done }> <=> 1 )>
<think[ put whatever blocks here]
<end>
[/blocks]
Offline
<when I receive[ what you could do is
<when green flag clicked>
<broadcast[ start]
(blocks go here that you want to do the same)
<end>
that is for the first one
<when I receive[ start]
blocks go here
<end>
or you could use variables ( this is only if they are doing the same thing if not plz say)
Offline