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

#1 2012-06-01 13:01:25

Xfadingsmilex
Scratcher
Registered: 2012-05-10
Posts: 11

I want my title to disapear

In my game I want my title to disapear when the space bar is clicked and I need help.... so far with it (whcih doens't work) I have:

When *flag* clicked
Forever
Next Costume



If <key -SPACE- is pressed>
hide

Offline

 

#2 2012-06-01 13:06:36

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: I want my title to disapear

If you want  it to just hide, then use the when key space pressed, hide block. If that doesn't work, you may have a different script accidentally showing it. If you want a cool fade effect, then have a

when key [space v] pressed
repeat [50]
change [ghost v] effect by [2]
That way, you don't have to hide it, and it looks cool!


Why are the secret organizations getting all the attention?  mad

Offline

 

#3 2012-06-01 13:08:09

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: I want my title to disapear

Try this:

when gf clicked
show
forever
 next costume
 if <key [space v] pressed?>
  hide
  stop script
 end
end


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

#4 2012-06-02 02:43:33

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: I want my title to disapear

If it is a sprite.

[scratchblocks]
when gf clicked
show
forever if <key [space v] is pressed>
hide
end

Offline

 

#5 2012-06-02 02:46:33

JH1010
Scratcher
Registered: 2012-05-31
Posts: 1000+

Re: I want my title to disapear

when gf clicked
show
forever if <key [space v] is pressed>
hide
end
sorry for the blocks error in the other post.

Offline

 

#6 2012-06-02 10:26:59

aryabtsev
Scratcher
Registered: 2012-02-05
Posts: 81

Re: I want my title to disapear

I would do:

when flag clicked
show
repeat until <key [space v] pressed?>
next costume
end
hide


http://i.imgur.com/NX7AO.jpg

Offline

 

#7 2012-06-02 10:55:43

SimplyMelee
Scratcher
Registered: 2012-01-14
Posts: 100+

Re: I want my title to disapear

all I can think of is this

 when flag clicked 
 clear 


http://oi48.tinypic.com/2czzjol.jpg

Offline

 

#8 2012-06-02 13:56:37

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: I want my title to disapear

Just do this:
clear graphic effects
When space key pressed
repeat 10
change ghost effect by 10
wait 0.001
end of repeat
hide
clear graphic effects

That is what I do, and it works all the time.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#9 2012-06-02 13:58:13

Andres-Vander
Scratcher
Registered: 2010-09-16
Posts: 1000+

Re: I want my title to disapear

Backgrounds can't be hidden so that might be your problem


http://www.gifsoup.com/view1/2260823/flugelhorn-feline-o.gif

Offline

 

#10 2012-06-02 15:20:40

bluecat600
Scratcher
Registered: 2012-02-12
Posts: 500+

Re: I want my title to disapear

here!

forever if << space v key pressed?>>
 hide
end


I gaze off into the boundless skyline, noteblock choirs playin in the sunshine, turn round pick up my sword and wield the blade that once forced evil mobs to yield, if this battle shall leave me slain, I know Herobrine still calls my name, better just take a stand, that was when I ruled the land.

Offline

 

#11 2012-06-08 14:37:05

Xfadingsmilex
Scratcher
Registered: 2012-05-10
Posts: 11

Re: I want my title to disapear

thanks. this helped :3

Offline

 

Board footer