Sometimes, animators use a smokey effect
to show that a character is really upset.
In this add on,
you will program that effect for your monster.
To start, click paint new sprite.
(silence)
Draw a gray circle.
(silence)
Next, drag the gray sprite to
where you want it to appear on the monster.
Program the gray dot to move and fade.
Add a move block and a change effect block.
The gray dot shouldn't move very far from the monster,
so change the value in the move block to a smaller number.
This example uses two.
Great.
Next, to fade the dot,
change the drop down in a change effect block to ghost.
This adds a fading effect.
(silence)
You may not want the gray dot to disappear too quickly.
So change the value in the change effect block
to something that works for your program.
This example uses two.
To make this happen multiple times,
add a repeat loop around the move and change effect blocks.
And tinker with the number in the block.
This example uses 40 in the repeat loop.
Test it out.
(silence)
Awesome.
Click the clear graphic effects block
to make the sprite visible again.
To make a smokey look,
make multiple gray dots on a stage
that moves in multiple directions.
One way to do this, is to clone the gray dot.
Add a create clone of myself block
and place a repeat loop around it.
(silence)
Then, add a when I start as a clone block,
to the top of the first repeat loop.
Test this.
(silence)
The dots move and fade.
To delete the clones, so the smoke fades away,
add a delete this clone block under the first repeat loop.
Smoke gets larger when it spreads,
so add a change size block under the change effect block
to give it this effect as it fades.
This example uses a small number, like three,
in the change size block.
Use what works best for your program.
To make the smoke go in a random direction upwards,
instead of to the right,
add a point in direction block from the motion menu,
under the when I start as a clone block.
Then add a pick random block to set the limits of the smoke.
Tinker with the values in this block.
Pointing in a direction of zero makes the smoke go up.
It's helpful to have a negative number in one value space
and the positive of the same number in the other.
Like negative and positive 20.
Finally, add a hide block above the repeat
and create clone of myself blocks to hide the gray circle.
Then, add a show block so that you can see the smoke effect.
Use broadcast and when I receive blocks
to broadcast the angry smoke effect.
This example uses a broadcast block,
names it fuming, and adds it above the show feelings block,
that expresses the angry effect.
(silence)
Then, the when I receive block is added above the hide block
for the gray dot sprite.
(silence)
Your smoke effect might be bigger or last longer.
Tinker with the values in the pick random blocks
and repeat loop to create your desired effect.
(silence)
Now it's your turn.
Draw a new gray circle sprite.
Create a fading effect and code a smoky effect,
using repeat loops and create clone of myself blocks.
Make the smoke effect go in different directions.
Finally, code the smoke effect to hide,
then appear when it's called.