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

#1 2010-08-18 21:46:22

ggatch
New Scratcher
Registered: 2010-08-18
Posts: 1

Resetting stage

Is there an easy way to return the sprites to their original positions after the animation is finished or the stop button is pressed?

Offline

 

#2 2010-08-18 21:53:08

samurai768
Scratcher
Registered: 2009-07-21
Posts: 1000+

Re: Resetting stage

Well, you set the sprites postions and stuff by dragging out this block:
[blocks]<when green flag clicked>[/blocks]
Then putting any blocks after that to set the position or costume and stuff.

I hope this helped  smile

Last edited by samurai768 (2010-08-18 21:53:23)

Offline

 

#3 2010-08-19 18:10:21

SabGames
Scratcher
Registered: 2009-02-18
Posts: 78

Re: Resetting stage

do this :<when green flag clicked> <go to x sad  x position )y sad  y position ). That will put your sprites in the position where wanted at the beginning. If you want another sprite to move  near the middle of the project, and you don't want to bother going through all that timing stuff? Follow this... put this when you want the sprite(s) to move.

Code:

Broadcast '(Whatever you want to call it'

And add this to the sprite that is moving.

Code:

When I receive '(Whatever it was called'
Do what you want to do after this

Simple  big_smile


http://sabgamesdownload.weebly.com/uploads/5/2/4/8/5248085/4881802.png

Offline

 

#4 2010-08-20 03:49:52

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: Resetting stage

If you already have the scripts in to make it start in one place, just click the flag then stop the project straight after.
If not put a [go to x: (_) y: (_)] with the correct locations in it at the start of each sprites script.

Offline

 

Board footer