How to Make Piano Game || Learn to Use Music Extension ||Scratch Tutorial for beginner

Code For Kids · Beginner ·🧒 Coding for Kids ·4y ago

Key Takeaways

This video tutorial teaches kids how to create a piano game using Scratch Desktop and the music extension, covering the basics of game programming and music integration.

Full Transcript

hello everyone welcome back to my channel for kids so this is our new project how you will create your piano tiles again so how are you all how was your day so how you will create your piano test first thing what is so it is just your instruments right so now i will show you how you will create your piano okay so now what you can do we will uh start from our new project right okay so this is our sixth project okay so if you want you can access our playlist you need to just search for your youtube okay and how you will get our playlist you have to just search for code for kids code for kids so you will get our channel here if you go to your playlist you will get your scratch full playlist okay so from here or you can start from a video one means that all are the basic part how you will log in how you will enable your share button after that we have a fish project how you will draw the circles how you will make your dino gem then how you will make your catch game right after that we have a some dance stories we have a maze game okay so here you will get all the projects so you can access one by one okay so now this is our new project how we will create our piano ties so here what i will do first i will run this project i will show you you need to just click on your piano so you will get a sound see whatever key you will place you will get for that key the different sounds okay see [Music] so you will get all the sounds okay so now i will show you how you will create this background how you will add your stripes each and everything you will see so for that you have to take one new project i will show you how you will search for the scratch just right on scratch press the enter button you will get scratch.mit.edu here we will create a new project so you need to just click on the create okay so here you will get one by default sprite which is cat so i will delete this first after that how you will create your backdrop you need to don't choose a backdrop we want to paint that so here we will click on the paint option now we want one simple square whatever color you want select that color and just draw the square okay like this okay so this is our square after that we want to add a sprite so you need to click on chooses right click on paint option so here you have to create a tiles okay so we want that tiles in white color so you need to just create like this so here you will get your ties so this is our first styles so now we want a costume also costume means like once you will click here see so you will get one blink part so how you will add that so first i want will make this little bit less in size so how you will do that you need to just click here duplicate so you fill it okay so as you can see we have one sprite so how many sprites we want so as you can see how many note we have we have note a b c d e f g h after that how many sharpies we have see we have a sharp b sharp c sharp so we have total five and this note we have total eighth note so how you will duplicate that you need to just right click duplicate so where you want to arrange arrange that then again right click duplicate so this is our third one then we want our fourth one also right click duplicate take this put it here then the one fifth one so right click duplicate so you will get your fifth one so like that we need to add three more six seven 8 okay so after that so this is your nose now you will see how you will create the next part which is your shards okay so you have to arrange that according to your choice you can arrange that it is not like you have to create the same no whatever size you want you can arrange so this is the nodes we have total eight node after that what we want we want to add our instead of note we will take our shots so what you will do click on paint option you will get one so now this we want in the black color so you have to select a black see where we want to put here we can make it little bit less after that what we want we want a white color so you need to just click on duplicate select this area and you need to fill with white color click on the color select your color white okay why because see if i will click here you will get white color okay so now we need to just duplicate this five time this is second this is third one then four then we want one more so now you have to arrange this so this is the second position third we have to arrange two more so this is our design part of your piano okay now we will see how you will start the coding okay so what is our algorithm how we will start the coding so always we have to add some even so what is the even name when i click on this prime so where you will get when this sprite is clicked okay so when this sprite is clicked so what we want this that is our second question okay so when this sprite is clicked so we want to switch the positive so where we will get that inside the looks once you will scroll down you will get your switch costume after waiting for some time so where we will get weight in the control we have of it so this is one second once again is very uh we can say big time so now we will make it small like a 0.1 and then we will switch our costume so switch the costume to costume 1 how you will add your instrument here we don't have that okay so you need to just click on this to add extension click on that and select your music you will get that okay where you will click add extension and add the music so what we want to add here we want to set the instrument right what we want we want to set the instrument to our piano okay and what will be your play note see once you will click here you will get so we will start from here okay now if you will click here wait we did uh in this sprite if you will click here you will get okay so instead of this what is this note we will select this one okay now see if you will click you will get a sound so now what we have to do we will do for our nodes also so suppose this is my first node again when this sprite is clicked okay so in the event we will get that when this sprite is clicked so what will happen first we want to change a costume okay then after waiting for some time instead of 1 we will make it 0.1 so after waiting for 0.1 second again we want to switch our costume okay instead of costume 2 we will make it as a costume one after that we want to set the instrument so here we have piano we have a electric piano organ data whatever you want you can select and whatever node you want so for the first we have to start from this so now see you will get so first try two what you will do no need to write the same code again and again you can just take this code and you can paste it here now if you will see your sprite too so again what you will do take this code and put it here or is what we can do we have one more mechanism if you will scroll down you will get a backpack okay so what we can do you need to copy this code inside your backpack okay and once you click on your sprite tool you can just take that code and you can put it here so this is the use of your backpack okay or is if you want you can write the code so so this is our sprite two so we want this one okay your d62 for third sprite we we need to just change this so this is your third one a64 for your sprite 4 again we will copy and paste it here so this is your fourth one so you have to take f65 for your sprite six instead of this you have to take one two three four fifth one okay now we have three more so we can copy this four here so here we will take our sixth one copy this code in your seventh one so we will make it eight and we will copy the code here here we will make it seven so as you can see one so you will get okay see okay now we have to do for our all these sharps so again you have to copy the board you will paste it here so this is your fifth one so we need to select this after that what is this as you can see this is your first one so copy the port take it here again copy this then what we will do you need to copy the same code here okay so uh see how you will do in the back but you need to just copy the code put it inside your backpack you will get that code now come to your sprite where you want to copy this put it here so which one is this this is this third one select and select your third for this this is your fourth one copy and you need to just select your four so this is your second one copy the code and here you will take your second so in this way see [Music] see we have all the keys we added so in this way we can create a piano okay now how you will rename your project here we need to just write piano now once you will click on your see your project page you can share your project also with anyone okay so what i will do i will copy this link i will put into the chat box and you have to also do the same project and once you will finish this project you can copy your project link okay by using this copy link click on the copy link copy this link okay and in a comment box please paste your projecting i will see okay and i will give you the reply also okay so thank you so much for watching this video so please like share and subscribe our channel share with your friends with your family members like they can also learn the coding okay so thank you so much subscribe our channel that is code for kids so have a great day bye

Original Description

Scratch Tutorial || My Piano || Instrumental Games || codeforkids Learn to use the music extension to make instrumental games. How to make a piano game in Scratch Desktop . Easy game programming for kids at home. Hey friends! Today we are making our first instrumental game. Let's create a piano game in Scratch. This way you can learn to play piano #piano #scratchprogramming #scratchpractice #ScratchTutorials #codeforkids #GameDevelopment #EasyScripting #BasicCoding #HowTo #InstrumentalGames query solved : piano tiles in scratch quiz game in scratch scratch piano notes piano scratch repair scratch colour piano scratch games makey makey piano piano games unblocked
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Code For Kids · Code For Kids · 23 of 60

1 #Scratch Tutorial 1 | How to create your own Scratch account #codeforkids #scratch #Game Development
#Scratch Tutorial 1 | How to create your own Scratch account #codeforkids #scratch #Game Development
Code For Kids
2 #Scratch Tutorial 2 ||How to enable Share Button option in Scratch #codeforkids #scratch #game
#Scratch Tutorial 2 ||How to enable Share Button option in Scratch #codeforkids #scratch #game
Code For Kids
3 Fish Moving inside an Ocean 🌊🌊 #codeforkids #scratch 🥰
Fish Moving inside an Ocean 🌊🌊 #codeforkids #scratch 🥰
Code For Kids
4 Scratch Programming | Fish Aquarium game | #codeforkids #scratch #game
Scratch Programming | Fish Aquarium game | #codeforkids #scratch #game
Code For Kids
5 Draw the circle in scratch#codeforkids #scratch #game
Draw the circle in scratch#codeforkids #scratch #game
Code For Kids
6 Draw Circles in Scratch || How do you draw shapes on Scratch? #codeforkids #scratch #game #coding
Draw Circles in Scratch || How do you draw shapes on Scratch? #codeforkids #scratch #game #coding
Code For Kids
7 How to Make a Dino Jump Game in Scratch | Tutorial #codeforkids #scratch #game
How to Make a Dino Jump Game in Scratch | Tutorial #codeforkids #scratch #game
Code For Kids
8 Scratch Tutorial || How to Make a Catch Game in Scratch.|| Scratch Tutorial for absolute beginer
Scratch Tutorial || How to Make a Catch Game in Scratch.|| Scratch Tutorial for absolute beginer
Code For Kids
9 Scratch Tutorial || Day 1
Scratch Tutorial || Day 1
Code For Kids
10 Scratch Tutorial || Day 2  (DJ System , Dance and Story writing)
Scratch Tutorial || Day 2 (DJ System , Dance and Story writing)
Code For Kids
11 How to Make A Maze Game in Scratch 3.0 | Scratch 3.0 Tutorial |Scratch Tutorial for begineer
How to Make A Maze Game in Scratch 3.0 | Scratch 3.0 Tutorial |Scratch Tutorial for begineer
Code For Kids
12 Scratch Tutorial || Day 3
Scratch Tutorial || Day 3
Code For Kids
13 Scratch Tutorial || Day 4
Scratch Tutorial || Day 4
Code For Kids
14 Scratch Tutorial | Cat And Mouse Game | Scratch Tutorial for  Beginner
Scratch Tutorial | Cat And Mouse Game | Scratch Tutorial for Beginner
Code For Kids
15 Scratch Tutorial || Day 5
Scratch Tutorial || Day 5
Code For Kids
16 how to make dress up game on scratch || Scratch Tutorial for Beginner
how to make dress up game on scratch || Scratch Tutorial for Beginner
Code For Kids
17 How to Make a Pong Game in Scratch || Scratch Tutorial for Beginner
How to Make a Pong Game in Scratch || Scratch Tutorial for Beginner
Code For Kids
18 Scratch Tutorial || Day 6(part 1)
Scratch Tutorial || Day 6(part 1)
Code For Kids
19 Scratch Tutorial || Day 6( Part 2)
Scratch Tutorial || Day 6( Part 2)
Code For Kids
20 Scratch Tutorial || Day 7
Scratch Tutorial || Day 7
Code For Kids
21 Scratch Tutorial || Day 8
Scratch Tutorial || Day 8
Code For Kids
22 How to Make Piano Game || Learn to Use Music Extension || Scratch Tutorial || Day 8
How to Make Piano Game || Learn to Use Music Extension || Scratch Tutorial || Day 8
Code For Kids
How to Make Piano Game || Learn to Use Music Extension ||Scratch Tutorial for beginner
How to Make Piano Game || Learn to Use Music Extension ||Scratch Tutorial for beginner
Code For Kids
24 Scratch Tutorial || Day 9
Scratch Tutorial || Day 9
Code For Kids
25 Scratch Tutorial || Draw Shapes #shorts #codeforkids #youtubeshorts
Scratch Tutorial || Draw Shapes #shorts #codeforkids #youtubeshorts
Code For Kids
26 Scratch Tutorial |How to Draw Shapes in Scratch #scratch #scratchtutorials #codeforkids
Scratch Tutorial |How to Draw Shapes in Scratch #scratch #scratchtutorials #codeforkids
Code For Kids
27 Day 10|| Scratch Tutorial
Day 10|| Scratch Tutorial
Code For Kids
28 Scratch Tutorial || Archery Tutorial
Scratch Tutorial || Archery Tutorial
Code For Kids
29 #1 || Thunkable  Beginner Tutorial  Platform Overview
#1 || Thunkable Beginner Tutorial Platform Overview
Code For Kids
30 App Development ||Tutorial 2 || how to add button in Thunkable || Thunkable for beginner #codeforkid
App Development ||Tutorial 2 || how to add button in Thunkable || Thunkable for beginner #codeforkid
Code For Kids
31 App Development || Tutorial 3||  Beginner Tip "Change screens with a button click" in Thunkable
App Development || Tutorial 3|| Beginner Tip "Change screens with a button click" in Thunkable
Code For Kids
32 Scratch Tutorial ||
Scratch Tutorial ||
Code For Kids
33 Thunkable Tutorial || Using Camera and Image Recognition components with Thunkable
Thunkable Tutorial || Using Camera and Image Recognition components with Thunkable
Code For Kids
34 Build a Translator App with Thunkable ||Thunkable App Development || Tutorial 5||
Build a Translator App with Thunkable ||Thunkable App Development || Tutorial 5||
Code For Kids
35 Thunkable Beginner Tutorial #6  || Web Viewer|| Redirecting App
Thunkable Beginner Tutorial #6 || Web Viewer|| Redirecting App
Code For Kids
36 #1 World in Python || Python Tutorial || Python Programming || Google Colab
#1 World in Python || Python Tutorial || Python Programming || Google Colab
Code For Kids
37 #2 Python Tutorial for Beginners | User input in Python | Command Line Input | Python Variable
#2 Python Tutorial for Beginners | User input in Python | Command Line Input | Python Variable
Code For Kids
38 #3 Python  Comments | How To Write Comments In Python | Python Tutorial For Beginners |
#3 Python Comments | How To Write Comments In Python | Python Tutorial For Beginners |
Code For Kids
39 #4 Python Tutorial for Beginners | Data Types in Python
#4 Python Tutorial for Beginners | Data Types in Python
Code For Kids
40 #5 Numbers & Typecasting in python | Python Tutorial
#5 Numbers & Typecasting in python | Python Tutorial
Code For Kids
41 #6  Strings Tutorial | How To Use Strings In Python | Python Tutorial | Python Training |
#6 Strings Tutorial | How To Use Strings In Python | Python Tutorial | Python Training |
Code For Kids
42 #7 Slicing And Other Functions In Python | Python Tutorials For Absolute Beginners.
#7 Slicing And Other Functions In Python | Python Tutorials For Absolute Beginners.
Code For Kids
43 #8 Boolean in Python | Python Tutorial for Begniner
#8 Boolean in Python | Python Tutorial for Begniner
Code For Kids
44 #9 Python Tutorial for Beginners | Operators in Python
#9 Python Tutorial for Beginners | Operators in Python
Code For Kids
45 #10  Lists And List Functions | Python Tutorials For Absolute Beginners
#10 Lists And List Functions | Python Tutorials For Absolute Beginners
Code For Kids
46 #11 Tuple in Python | Python Tutorial
#11 Tuple in Python | Python Tutorial
Code For Kids
47 #12  In Python | Python Sets Tutorial | Python Tutorial for Beginners | #python #pythonprogramming
#12 In Python | Python Sets Tutorial | Python Tutorial for Beginners | #python #pythonprogramming
Code For Kids
48 #13 If Elif Else Statement in Python || Python Tutorial for Beginners |
#13 If Elif Else Statement in Python || Python Tutorial for Beginners |
Code For Kids
49 #14  While Loop in Python ||Python Tutorial for Beginners
#14 While Loop in Python ||Python Tutorial for Beginners
Code For Kids
50 Python Tutorial for addition of 2 numbers #shorts #youtubeshorts #codeforkids #pythonprogramming
Python Tutorial for addition of 2 numbers #shorts #youtubeshorts #codeforkids #pythonprogramming
Code For Kids
51 Python Tutorial for absolute Beginner|| While loop #pythonprogramming #shorts #youtubeshorts
Python Tutorial for absolute Beginner|| While loop #pythonprogramming #shorts #youtubeshorts
Code For Kids
52 Machine learning for the kids with Scratch || Machine Learning for kids ||Day 1
Machine learning for the kids with Scratch || Machine Learning for kids ||Day 1
Code For Kids
53 # Tutorial 1 || Machine Learning for kids | Image Classification example | Girl and boy
# Tutorial 1 || Machine Learning for kids | Image Classification example | Girl and boy
Code For Kids
54 #15 For loop in Python || Python Tutorial for Beginner
#15 For loop in Python || Python Tutorial for Beginner
Code For Kids
55 # Tutorial 2 || Machine Learning for kids | Smart Home Automation | Turn On the Fan
# Tutorial 2 || Machine Learning for kids | Smart Home Automation | Turn On the Fan
Code For Kids
56 #Tutorial 3 || Snapchat Filter in Machine Learning|| Machine Learning for the kids ||
#Tutorial 3 || Snapchat Filter in Machine Learning|| Machine Learning for the kids ||
Code For Kids
57 #Tutorial 4 || Image Identification || Machine Learning for the  kids|| Tiger , Elephant, boy
#Tutorial 4 || Image Identification || Machine Learning for the kids|| Tiger , Elephant, boy
Code For Kids
58 Scratch Tutorial || Apple Catcher Game || Fruit Catcher|| catch game in Scratch
Scratch Tutorial || Apple Catcher Game || Fruit Catcher|| catch game in Scratch
Code For Kids
59 Scratch Tutorial || How to record audio in Scratch || Scratch Tutorial for beginner ||
Scratch Tutorial || How to record audio in Scratch || Scratch Tutorial for beginner ||
Code For Kids
60 Scratch Tutorial || how to translate language in scratch || Scratch tutorial for beginner
Scratch Tutorial || how to translate language in scratch || Scratch tutorial for beginner
Code For Kids

This tutorial teaches kids how to make a piano game using Scratch Desktop and the music extension, introducing them to game programming and music integration. By following the steps, kids can create their own instrumental games and learn the basics of coding.

Key Takeaways
  1. Open Scratch Desktop and create a new project
  2. Add the music extension to the project
  3. Create a piano game sprite and add sounds
  4. Program the piano game using Scratch blocks
  5. Test and debug the game
💡 The music extension in Scratch allows kids to create interactive music experiences, such as piano games, and learn about music integration in game programming.

Related Reads

Up next
Robotics Workshop at IST Hyderabad | Coding to Real-World Applications | Intellipaat School
Intellipaat
Watch →