Will the object do something to attract attention? How will the character react? You decide! Create the second part of your animation.
Decomposition is breaking a project down into parts that are smaller and easier to understand. This means that you can build a project one part at a time until you have completed it. In this step you will focus only on the curiosity part of your animation.
Choose: If you want the 🎂🎾🎁 interesting object to do something to attract attention, choose what the object will do.
Add blocks to the end of the 🎂🎾🎁 interesting object’s when green flag clicked
setup script.
Rooster effects: See inside
The set color effect to
and change color effect by
blocks both have drop-down menus in which you can choose from a range of different graphic effects that can be used to change your sprite’s appearance:
color
: from 0
to 199
(bigger numbers will wrap around, so 200
is the same as 0
)fisheye
: 0
means no effect, bigger numbers cause a bigger ‘fisheye’ effect, and negative numbers cause a reverse ‘fisheye’ effectwhirl
: 0
means no effect, big numbers make a big whirl to the left, and big negative numbers make a big whirl to the rightpixelate
: 0
means no effect, and bigger numbers create more pixelsmosaic
: 0
means no effect, and bigger or negative numbers affect the number of copiesbrightness
: 0
means no effect, numbers up to 100
make the sprite lighter, and negative numbers down to -100
make the sprite darkerghost
: 0
means no effect, and numbers up to 100
make the sprite more transparentTry to set
the different effect values to see what each one does. Explore how different effect changes make your sprite look.
setwhirleffectto100setpixelateeffectto50
Tip: A color effect
of 225
is the same as a color effect
of 25
, so you can keep changing the colour. For other graphic effects, no other changes will be made after you reach the maximum or minimum number for the effect.
foreverchangecoloreffectby25wait0.5seconds
Use the clear graphic effects
block to start again. Clicking on the green flag also clears all graphic effects.
To set a graphic effect for a sprite when the project is started, place a set graphic effect to
block under a when green flag clicked
block:
whenclickedsetghosteffectto25
Tip: You can also set
and change
graphic effects for the Stage.