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

#1 2013-03-11 14:35:43

Charlie16
New Scratcher
Registered: 2013-03-11
Posts: 1

Reset button?

Question:
is there a way to reset the game?
You know, like, bring the sprites back into the position they were when the game started?

Thanx!  smile

Offline

 

#2 2013-03-11 14:39:46

BLU_Spy
Scratcher
Registered: 2012-01-05
Posts: 1000+

Re: Reset button?

Charlie16 wrote:

Question:
is there a way to reset the game?
You know, like, bring the sprites back into the position they were when the game started?

Thanx!  smile

You could just press the Stop button, then the green flag. But make sure you have scripts that set each sprite‘s position. Something like this:

when gf clicked
go to x: ( ) y: ( )

Last edited by BLU_Spy (2013-03-11 14:41:58)


I HAVE SWITCHED ACCOUNTS! My new username is NoxSpooth.

Offline

 

#3 2013-03-11 19:30:54

echristophy
New Scratcher
Registered: 2013-02-28
Posts: 17

Re: Reset button?

I have a reset script.

When a condition is met (i.e. the end of the game is reached), the sprite broadcasts "reset". When all the other sprites recieve reset, they execute a script that repeats all the conditions I set up at the beginning when the green flag was clicked.

Offline

 

Board footer