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

#1 2012-06-06 10:08:51

Jupitar
New Scratcher
Registered: 2012-06-05
Posts: 27

Block Basics: Reappearing Text

Block Basics: Reappearing Text

Hi Everyone!
Today, I am going to show you a simple script to help with reappearing text. Mostly it uses the ghost effect. The repeats are also a very important block to watch out for, that is one of the essentials. Here is the script:

when gf clicked
forever
wait [0.5] secs
repeat [20] 
change [ghost v] effect by [5] // see the different between the 5 and -5?
repeat [20] // This repeats the effect.
change [ghost v] effect by [-5]
wait [0.5] secs
The script is pretty basic, and if you are familiar with the ghost effect you are bound to work it out pretty easily.

Offline

 

#2 2012-06-06 11:32:28

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Block Basics: Reappearing Text

It looks like you've got a bit of a ScratchBlocks error there. Let me fix that.  smile

when gf clicked
forever
wait [0.5] secs
repeat [20] 
change [ghost v] effect by [5] // see the different between the 5 and -5?
end
repeat [20] // This repeats the effect.
change [ghost v] effect by [-5]
wait [0.5] secs
Is that more of what you had in mind?

Note to modifiers:
To get it to completely fade:
  You can change the values of the repeat and ghost, as long as the product is 100. A higher repeat is faster, and lower is slower.
Or, you can make the product less than 100, so that it'll still be a drop visible.

Offline

 

#3 2012-06-06 14:28:09

James07
Scratcher
Registered: 2012-04-04
Posts: 500+

Re: Block Basics: Reappearing Text

scimonster wrote:

It looks like you've got a bit of a ScratchBlocks error there. Let me fix that.  smile

when gf clicked
forever
wait [0.5] secs
repeat [20] 
change [ghost v] effect by [5] // see the different between the 5 and -5?
end
repeat [20] // This repeats the effect.
change [ghost v] effect by [-5]
wait [0.5] secs
Is that more of what you had in mind?

Note to modifiers:
To get it to completely fade:
  You can change the values of the repeat and ghost, as long as the product is 100. A higher repeat is faster, and lower is slower.
Or, you can make the product less than 100, so that it'll still be a drop visible.

YOU have a problem with them! 

when gf clicked
forever
wait (0.5) secs
repeat (20) 
change [ghost v] effect by (5) // see the different between the 5 and -5?
end
repeat (20) // This repeats the effect.
change [ghost v] effect by (-5)
wait (0.5) secs
There.  The right input shapes.


http://trinary.site40.net/images/scratchrank.php?username=James07

Offline

 

Board footer