Scratch- lit birthday candles

Children birthday is the creation Scratch works often used materials , today introduced the use of some basic skills to light the birthday candles implementation.

1, the role of design are only three: the birthday cake, no candles lit, has lighted candles.

2, unlit candle: when the program starts, clone yourself, and then wait for all the happy birthday song played after the candle is lit.

In a different location clone several times:

Scratch --- lit birthday candles

After playing music here is waiting for the seven candles lit

Scratch --- lit birthday candles

Unlit candle candles close after waiting ignition switch to the lighting Art

Scratch --- lit birthday candles

3, already lighted candles:

Toggle repeat three different shapes, the generation of flickering fire effect.

Scratch --- lit birthday candles

https://www.kidscoding8.com/90849.html

Guess you like

Origin www.cnblogs.com/scratch3/p/10972899.html