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

#1 2010-05-29 02:23:23

bobinnit
Scratcher
Registered: 2010-05-28
Posts: 2

how do you make your time go back to zero with your stage background?

Hi, i'm just starting and seeing as you guys are talking about advanced stuf i thought u could help me

Offline

 

#2 2010-05-29 02:27:49

bobinnit
Scratcher
Registered: 2010-05-28
Posts: 2

Re: how do you make your time go back to zero with your stage background?

blocks]this is my code pls fix it fur meee
<when green flag clicked>
<if><<  <and>  >>
<set{ time }to( 0

Offline

 

#3 2010-05-29 02:31:48

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: how do you make your time go back to zero with your stage background?

What do you want the script to do?  hmm  Also, this isn't advanced stuff... this should go in All About Scratch.  smile


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

#4 2010-05-29 04:30:41

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: how do you make your time go back to zero with your stage background?

Judging from the title...you are looking for a way to reset the project back to where it was at the start.  Scratch doesn't have a reset feature...if you want something put back to where it was, you have to put it there.  It's a good practice to set up scripts for each sprite and the stage that set things up the way you want them to be at the start of the project.  These scripts are set up using the "When green flag clicked" hat block:

[blocks]
<when green flag clicked>
<switch to costume[ first costume
<go to x sad  0 )y sad  0
<point in direction( 90
<broadcast[ Start Game
[/blocks]


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2010-05-29 08:05:33

SeptimusHeap
Scratcher
Registered: 2010-02-01
Posts: 1000+

Re: how do you make your time go back to zero with your stage background?

Paddle2See wrote:

Judging from the title...you are looking for a way to reset the project back to where it was at the start.  Scratch doesn't have a reset feature...if you want something put back to where it was, you have to put it there.  It's a good practice to set up scripts for each sprite and the stage that set things up the way you want them to be at the start of the project.  These scripts are set up using the "When green flag clicked" hat block:

[blocks]
<when green flag clicked>
<switch to costume[ first costume
<go to x sad  0 )y sad  0
<point in direction( 90
<broadcast[ Start Game
[/blocks]

Can't you broadcast scratch-startclicked or something?


http://i46.tinypic.com/dw7zft.png

Offline

 

Board footer