美文网首页
Scratch Programming-music(1)-son

Scratch Programming-music(1)-son

作者: 思求彼得赵 | 来源:发表于2020-08-24 12:54 被阅读0次

2020-08-23
if you like music, Scratch will satisfy you. there is a music extension in Scratch IDE. so, you can make music works to enjoy yourself.


this work can play songs, little star for example.

image.png
  1. choose the music extension.


    image.png
  2. make a new sprite and make two costumes would be better for a switch.


    image.png
  1. use the blocks in music to program the song for this sprite.
    function technology is used here.


    image.png

    then the function will be called when the sprite is clicked.


    image.png
  2. change the costumes when one click the sprite.


    image.png
  3. maybe you want to play more songs. so you can add other sprites or songs.

  4. test it!
    the prototype for this case is listed below. just play it and give me feedback.
    your valuable advice is most welcome.


    image.png

https://scratch.mit.edu/projects/419532871

相关文章

网友评论

      本文标题:Scratch Programming-music(1)-son

      本文链接:https://www.haomeiwen.com/subject/nbtijktx.html