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

#1 2007-05-25 04:27:05

fendr63
Scratcher
Registered: 2007-05-24
Posts: 3

Suggestion: rewind or reset button

would be useful to be able to rest the position of all sprites to their starting co-ordinates (ie: first frame of animation) after playing all or part of movie.

Offline

 

#2 2007-05-25 07:43:43

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Suggestion: rewind or reset button

That is easy to implement:  just put a
    when greenflag clicked
    goto x y
script in each sprite.

If you prefer, you could use
    when I receive reset
    goto x y

and on the stage put
    when greenflag clicked
    broadcast reset and wait

which would allow reset to be done at arbitrary times in the program.

Offline

 

#3 2007-05-26 00:37:37

mungojelly
Scratcher
Registered: 2007-05-19
Posts: 35

Re: Suggestion: rewind or reset button

Here's a useful thing that I didn't notice at first: If you put a sprite in a position, and then go to the motion blocks, the "goto x y" block will already be filled in with the location the sprite is at.  That makes it a lot easier to set up places for sprites to go.

<3

Offline

 

Board footer