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

#1 2007-12-11 15:13:35

He_Milk
Scratcher
Registered: 2007-12-11
Posts: 2

Start Position

Hi, I'm on my first attempts making an animation with Scratch.

I'm trying out a few things,  but there is one question I could not solve so far:

Is there any script command that says "everything back to start"?

After running the animation by pressing the green flag, all my sprites are on diffrent position at the end, because of  their moving during the animation.

When I press the green flag again, the sprites start moving from their last position and not from their start position of course.
I am able to bring them back to their start position, however I have to add additional script commands to each sprite.
Is there a way to "save" the (start) position of the entire scenery  so I can jump to a specific point?

kind regards, Quentin

Offline

 

#2 2007-12-11 15:54:11

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

Re: Start Position

You have to put  a script in each sprite that says where to go when you start, and what state you want to be in (hidden, pen up, ghost effect, ...) if you change any of the state information.

This can either be in a "when greenflag clicked" script or in a "when start received" script with a "broadcast start" used to get everything into its initial position.  The "start" message is good if you want to have a way of resetting that does not use the green flag.

Offline

 

#3 2007-12-12 12:05:58

He_Milk
Scratcher
Registered: 2007-12-11
Posts: 2

Re: Start Position

Ok, thx for the help :-)

Offline

 

Board footer