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

#1 2010-05-09 10:01:54

tooteaching
Scratcher
Registered: 2009-08-15
Posts: 5

Help!

I'm this close to finishing me first game. Here's my problem. I'm using a Sprite as my title graphic. I have several other sprites that I use for the game. When I hit the green flag to reset the game one of the sprites from the game appears over the top of my title Sprite. I've tried having the title sprite glide over the top but the sprite still appears over the top and blocks the title.

I've been able to solve this somewhat with alternate navigation (ie allowing a restart of the game without going back to the title sprite) but I still want this fixed.

How do I fix this so the title sprite is always on top when it appears and that green flag is pressed?

Thanks!

Offline

 

#2 2010-05-09 10:12:45

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Help!

You could try hiding the other sprites while the title graphic is showing, and then show them while it's hiding.

Offline

 

#3 2010-05-09 10:25:15

MaxtheWeirdo
Scratcher
Registered: 2010-03-18
Posts: 500+

Re: Help!

You could also use the "go to front" block on the title graphic.


My website. Hall Crawler My Awesome OS
It's just marketing, guys! Nothing sinister!

Offline

 

#4 2010-05-09 10:52:10

tooteaching
Scratcher
Registered: 2009-08-15
Posts: 5

Re: Help!

How do you "hide" sprites?

Offline

 

#5 2010-05-09 11:01:37

Wolfie1996
Retired Community Moderator
Registered: 2009-07-08
Posts: 1000+

Re: Help!

Go to "Looks", and there are some blocks that look like this:
[blocks]
<hide>

<show>
[/blocks]

Put these into your script, then they'll show and hide the sprite when you tell them to  smile


"...Jargon - the practice of never calling a spade a spade, when you might instead call it a manual earth-restructing implement..." - Bill Bryson, Mother Tongue

Offline

 

Board footer