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

#1 2007-12-20 12:08:39

1mm0rtel
Scratcher
Registered: 2007-12-20
Posts: 2

Variable reaches 0 or below, sprite animation occurs

Does anyone know how to do this?

Offline

 

#2 2007-12-20 13:17:07

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Variable reaches 0 or below, sprite animation occurs

<when green flag clicked>
<wait until><( <{ variable }> <<> 1 )>
<repeat( -----
<next costume>
<wait( ---- )secsc>
<end>


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

#3 2007-12-21 10:57:09

1mm0rtel
Scratcher
Registered: 2007-12-20
Posts: 2

Re: Variable reaches 0 or below, sprite animation occurs

Thanks for the help, but I can't seem to find     variable      1

Edit to cflarify, I currently have the wait until <  > but I cannot find the variable=1 to insert.

Last edited by 1mm0rtel (2007-12-21 11:00:27)

Offline

 

#4 2007-12-21 12:08:18

MyRedNeptune
Community Moderator
Registered: 2007-05-07
Posts: 1000+

Re: Variable reaches 0 or below, sprite animation occurs

It's < variable<1 >, not < variable=1 >.

The <(  <<>  )> block is found in the light green "Numbers" section.  smile

Last edited by MyRedNeptune (2007-12-21 12:08:43)


http://i52.tinypic.com/5es7t0.png I know what you're thinking! "Neptune! Get rid of those filthy advertisements and give us back the Zarathustra siggy, you horrible person!" Well, don't worry about it, the Zara siggy will be back soon, new and improved! ^^ Meanwhile, just do what the sig tells you to. >.>

Offline

 

Board footer