Scratch wants to change the color of objects. For example, create a heart and a magic wand. The magic wand will change color when it clicks on the heart. How can it be realized? Let’s take a look at the detailed tutorial.
- Software name:
- Scratch 2 (graphical programming tool) v2.0 official free green version
- Software size:
- Update time:
- 2016-01-15Download now
1. Import background: click Select background from background library, and then select the appropriate background to import.
2. Import wand characters: Click“Select from the library, and thenFind the wand from the library and import it.
3. The magic wand script is as follows: drag the mouse at runtime, and the wand will move with it.
4. Edit the script of love,First judge if the wand has touched love。
5、If it does, add 5 to its color valueTo change the color of love.
6. Run the program, drag the magic wand to love, the color of love will change constantly.
The above is scratch to achieve color change of objects tutorial, I hope you like, please continue to pay attention to developeppaer.
How to create a pigeon flying in the blue sky animation?
How to make Pico walking animation effect by scratch?
How does scratch 2.0 create a prince and Princess scene in a castle?