Discuss Scratch

EmmaTaylor
New Scratcher
9 posts

Restarting a game

Hi there,

Just wondering if there was a really simple way of restarting my game once it has been completed. I have tried a few different ways, but because it is a matching game where objects disappear if correctly matched, they don't seem to reappear when the game restarts? Any help would be great, thanks!
drmcw
Scratcher
1000+ posts

Restarting a game

You should have a when green flag clicked script which initialises things for each sprite and the stage as needed. So if a sprite is likely to end up hidden during a game then it should have a show as part of its initialisation. If you want to create levels or have your own restart mechanism then you need to initallise things at the beginning of a level or a restart so as part of a
whenIreceive
script so that you can then use a broadcast to change a level or restart.
scubajerry
Scratcher
1000+ posts

Restarting a game

Use one green flag somewhere in the game ( I put it in the stage) that looks something like

whenclickedinitializevaliablesandlistbroadcaststart gameeverywhere else you had a green flag, replace it withwhenIreceivestart game

Last edited by scubajerry (Jan. 9, 2014 12:32:54)

Cturnerdhf
New Scratcher
1 post

Restarting a game

The initialize variables list isn't a button and even though I knew how to do previously to this conversation, you should be clearer in your responses scubajerry
Bengaming
Scratcher
1 post

Restarting a game

Marshmello7
Scratcher
1 post

Restarting a game

HOW though because I would like step by step please
mariyahavila
New Scratcher
1 post

Restarting a game

on my game, i'm trying to make my rocket so that whenever it hits a orange ball it will start over to the beginning. pleeeeaaasssee help me projest due tomorrow!!
GunChleoc
Scratcher
500+ posts

Restarting a game

I made a remix - have a look at what I did with the rocket sprite.

https://scratch.mit.edu/projects/65321910/
zapolinaar
New Scratcher
1 post

Restarting a game

dknjvjbvv
Beanpole9
New Scratcher
2 posts

Restarting a game

hi! can you tell me how to make a sprite die and reappear in a cirtian position????? pleeeaaaaseeee????
Beanpole9
New Scratcher
2 posts

Restarting a game

it would really help
SuperMarioFan4
Scratcher
100+ posts

Restarting a game

..I'm surprised that the Scratch Team didn't close this topic after all the spam and necroposting!
NoMod-Programming
Scratcher
1000+ posts

Restarting a game

SuperMarioFan4 wrote:

..I'm surprised that the Scratch Team didn't close this topic after all the spam and necroposting!
Yup.
Harakou
Scratcher
1000+ posts

Restarting a game

SuperMarioFan4 wrote:

..I'm surprised that the Scratch Team didn't close this topic after all the spam and necroposting!
If you see something that needs our attention, report it. We probably won't see it otherwise.

Edit: You already had (missed that one) - thanks!

Last edited by Harakou (Feb. 14, 2016 06:26:26)

Powered by DjangoBB