AISubs v3.5
In 2020, programming education will be introduced in elementary school classes.
Now, we must have computers in our lives.
For children who want to have a future, it is important for them to know how computers work.
To do that, they need to learn programming.
Learning programming doesn't mean changing the world in the future!
Therefore, in the program, we will challenge programming one step ahead for next year's popularization!
We will use games and music to learn programming with fun!
What is it?
It's a song!
A song of love sung by a programming star!
Therefore, everyone in front of the TV should also prepare tablets and computers,
and while having fun with us, let's go on a journey of programming!
"Mezase! Programming Star"!
Hello, everyone!
I am Kyoko Gunji, the class president of "Mezase! Programming Star", which creates programming stars of the future.
Nice to meet you!
And Ando-sensei, who will teach us programming.
My name is Ando-sensei. Nice to meet you!
Ando-sensei teaches programming learning series "Pro Star" which can be learned in more than 100 schools all over the country and can be learned online and through communication.
This time as well, we will study with everyone in front of the TV.
The young master of "Shounan no Kaze", Shinji Nira.
Rino Sashihara produced "equal love" and Emiri Ohtani and Iori Noguchi.
In addition, a new student has joined us for the first time.
Shoko Takewaki of "equal love".
Nice to meet you.
Also, this is Hitomi Suzuki of "not equal me" for the first time.
Nice to meet you.
Have you two done programming before?
No, we haven't.
Are you good at computers?
I like it, but I'm not good at it.
You like it, but you're not good at it.
Computers...
That's right. When I was little, I used to play games a lot.
There are three seniors who are studying first.
Ask me anything.
Of course.
Let's ask our teachers and study together.
Let's do our best.
First of all, before today's mission, let's review what we've done so far.
Programming is about commands.
An algorithm makes programming efficient.
What you're learning now is a programming software called "scratch".
Scratch is different from the source code you've used in programming before.
You can program just by connecting blocks.
It's easy to get scratch.
Search "scratch" on the Internet and select scratch's website.
Click "make" and you can start right away, so let's get ready!
And last time we learned how to add sound.
To add sound to a character, click the "sound" tab and select the microphone mark from the speaker in the lower left corner.
If you click "Record", you can record your own voice.
Basashi
When you're done recording, let's name it and program it.
From the "Event" palette, select "When grouper is pressed" and "Red-purple sound palette" and "Play sound until finished" and name it.
If you click "Gata"…
Basashi
And we also learned how to repeat.
If you want to repeat a sound or movement…
If you want to repeat a sound or movement
Instead of clicking the flag over and over again, you can use the "Repeat Always" block from the orange control palette to repeat the sound over and over again with just one click of the flag.
In today's lesson, this "repeat" is very important! Remember it well!
When you're done, let's fire up today's mission "Fireworks"!
"=LOVE" programming is being streamed uncut on Hulu! Don't miss their "nice error"!
This program is brought to you by PROSTA, a programming learning system.
Today's mission is "Fireworks"!
Finally!
I can't wait!
Fireworks!
Last time we made paper plays, but this time we'd like to fire up fireworks!
For that purpose, let's draw patterns first!
Patterns!
Please, teacher!
We'll start with mathematical elements.
Are you good at math?
It's not math, is it?
It's math!
It's okay if it's math!
First of all, angle is important.
If you rotate 15 degrees in motion, it will move.
Next, let's rotate 30 degrees.
30 degrees?
I think it will rotate more than 15 degrees.
15 degrees?
It rotates faster.
By the way, in case of 30 degrees, do you know how many times it rotates to return to normal?
6 times?
Shinji-kun?
No, that's wrong. It's 12 times.
Let's try it.
In case of 30 degrees...
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.
Correct.
Shinji-kun is correct.
Let's put together the programming we just did.
Since it's 12 times, we repeated it before.
In the "control" section...
It's "control". It's on the left.
Since we repeated it 10 times, it's "control", right?
Yes, we repeat it 10 times.
If we rotate it 12 times...
The arrow will rotate.
If we click on it...
It will rotate automatically.
It's fast.
By the way, how did you know it's 12 times?
Since it's 360 degrees.
360 degrees is the correct answer.
Let's put it here.
Let's put "make it rotate 10 steps" while rotating it.
Make it rotate 10 steps?
What kind of movement will it make if it rotates 10 steps?
Wow!
The target that receives the programming on the stage is called "sprite".
This time, we will use this "sprite" arrow.
Let's select "make it rotate 15 degrees" from the "movement palette" and click on it.
Then, the sprite will rotate 15 degrees.
If we change 15 degrees to 30 degrees, it will rotate 30 degrees.
If you want to move this with programming, select "repeat 10 times" in the control block and rotate 360 degrees, so if it is 30 degrees, it will rotate 12 times, and if it is 15 degrees, it will rotate 24 times!
Moreover, if you connect "repeat 10 times" of "move" palette, it will rotate like drawing a big circle!
Did you get it, everyone?!
Moreover, let's change various things around here.
For example, let's change "repeat 10 times" to "20 times", and since we moved it, we want to leave a trace of movement,
so under this block definition, there is a pen.
There is a stamp on the pen.
Please put the stamp here.
It is like this.
What do you do with the stamp?
I put the stamp under "move 20 times".
It is cool to put the stamp in "repeat 12 times" command, isn't it?
Wow!
If you choose a stamp from the pen palette and connect it under "move 20 times", you can leave a trace of movement of the sprite!
If you can do this, prepare a lot of costumes of different colors!
If you do so, if you connect "move 20 times" to the next costume from the appearance palette,
the appearance will change one after another!
Next, let's move the pattern!
Now that you've drawn the pattern, let's move the pattern.
Teacher, how do you do it?
First of all, in order to move it, you move the stamp.
Here it is. You move the stamp here.
You bring the number of rows from this column here.
The value of this can be anything, but -100 to, for example, 100.
The number can be anything, even 10 to 100.
If you do so, every time you push it, it becomes like this.
By reflecting this onto fireworks, it can be lifted up to various places in the night sky.
So, we'd like to change this value and try something that can be used for fireworks.
In order to move the pattern in various places, you connect "move 10 times" block under "space" key.
If you combine the number of rows from the appearance palette from 1 to 10 with "move 10 times" block,
the pattern will move at random!
If you connect "move 10 times" block under "space" key with "move 10 times" block...
It's so cool now.
Like a pen.
But it's sticking out.
The pattern is moving sideways, but how does it move vertically?
Mr. Ando, please tell us.
Like this.
It doesn't work like that.
In addition to "move a few steps", "angle" is also generated by "rotation".
If you connect "move 15 times" under "rotation" block...
and "rotation" from "pen" to "one" to "ten" with "move 15 times"...
The pattern moves sideways and vertically at random.
Are you ready now?
You two are excellent.
Let's look at the patterns made by Shinji.
First of all, Hitomi.
I can't see it. Why is it like that?
What's up with you, Sera?
It's good. It's beautiful and amazing.
But it's amazing.
It's like meat dumplings.
Meat dumplings.
Why did Hitomi's sprite move to the edge of the screen?
That's because the value of "rotation" was too high and it was set to move out of the screen.
If you reduce the value of "rotation" and reprogram it...
It's moving slightly like this.
That's good.
Let's look at Shouko's pattern.
Wow, beautiful!
Shouko is getting used to the order of numbers.
Shouko's order of numbers is set in numbers from one to one hundred,
so that the pattern moves properly in the screen.
If you make the order of numbers bigger than two hundred and forty, it will protrude from the screen, so be careful.
After this, they will try to launch fireworks.
What kind of fireworks will be launched?
In Voodoo, there is a popular game that has more than one hundred million people registered in the world, Minecraft.
We are delivering original contents to learn the programming function of the educational version.
Please watch it!
If you can move the pattern, let's launch fireworks for today's work!
Let's launch fireworks using patterns!
First of all, you need sound for fireworks according to the previous pattern.
Then you have to change the background.
So, we will ask you to do it with the knowledge of the previous pattern.
First of all, we will choose the background for launching fireworks.
To change the background, if you click "insect glasses" from the "change background" mark of the stage,
a background like this will appear.
To draw the pattern of fireworks, if you click the "costume" tab, you will see a screen where you can draw a picture.
Let's press it.
I want to kill this stage, so I'll put it here.
What are you doing?
To record firework sound, click sound tab and select microphone from speaker in lower left.
If you click "record", you can record your own voice.
What kind of fireworks will fly?
"=LOVE" programming of "=LOVE" is being streamed without cut on Google.
Don't miss their nice error!
Making original fireworks.
What kind of fireworks have been made?
First of all, Hitomi-chan.
It's cute.
There is no sound.
Oh, there is sound.
Nice error!
I made a mistake.
Nice error!
This is wonderful.
What did you think you made a mistake?
The place where sound comes in...
It came in last.
It will be processed from top to bottom in order, so I thought it would be good to put it in first.
Hitomi-chan had a lot of repeated blocks.
Nice error!
So, the sound of fireworks going up was repeated over and over again.
When you ring the firework, make sure you don't pinch it with repeated blocks.
In addition, let's choose "ring firework until the end" for blocks of sounds.
Then, the firework will go up after the recorded sound rings until the end.
Now, let's take a look at the reprogrammed firework.
Yes, like this.
Now it's done.
It's beautiful, isn't it?
Next is Shinji.
What's this smell at the end?
I don't know.
It's a coincidence. And why is it so low?
Why did Shinji's firework go up low?
Let's see how it's programmed.
Shinji's programming uses "x coordinate" and "y coordinate" blocks of "movement palette".
By combining this block with the number of rings, the firework will go up at random, but...
The number of "y coordinates" representing the height was combined with the number of rings up to -150 in the lower part.
If you want to raise it higher, let's put numbers from 0 to above!
Next up is Shouko!
Dokan, Dokan, Dokan...
It's like a beautiful explosion!
It is!
Shouko has made a beautiful firework!
Dokan, Dokan, Dokan...
Let's look at the programming!
The sound "dokaan" is incorporated in the programming of fireworks, so the sound rings at the right timing.
Let's move on to Emily-san.
Here we go.
It's novel.
dokaan
I wanted to make it feel like space, so I chose this sound.
It makes me feel like a child is going to cry.
Was there a "dokaan" like this?
Yes, it's already incorporated in the sound.
So you chose it.
I made this curriculum, but I didn't think it would be this beautiful.
It's amazing.
It's very beautiful.
Emily-chan's programming is...
The sound of fireworks going up and opening...
Both of them are programmed before the fireworks move.
And, after the programming of sound,
there is a "display" in appearance palette.
It's nice, isn't it?
It really looks like fireworks are flying.
The last one is Iori-chan.
Oh, it's good.
Wow, wow, wow, wow!
The last one is scattered.
You said it in a good way.
Looking at Iori-chan's programming,
the way of putting the number of fireworks that move sideways is a nice error!
When you put a number in a firework,
put a smaller number than the number on the right of the firework on the left!
When you put a number in a firework,
make sure of the value before you program it!
We've done it up to this point.
How did you feel about participating for the first time?
I thought it would be more difficult,
but I thought it would be fun and I could do it.
Otomi-san, how did you like it?
The picture I drew became a firework right away.
I thought it was amazing.
I thought it was amazing that it could become a firework.
I made a mistake in saying it,
but it went well in the end, so I'm glad it was fun.
After seven times, we've been able to do it this far!
Yes, we haven't done it yet.
Today's review!
This time, we set off fireworks!
This time, we'll use this arrow sprite!
From the movement palette, select "rotate 15 degrees" and click!
Then, the sprite will rotate 15 degrees!
If you change 15 degrees to 30 degrees, it will rotate 30 degrees each!
If you want to move this with programming, select "repeat 10 times" in the control block...
Since one rotation is 360 degrees, if it's 30 degrees, it will rotate 12 times, and if it's 15 degrees, it will rotate 24 times!
In addition, if you connect "repeat 10 times" in the movement palette, it will rotate like drawing a big circle!
If you select "stamp" in the pen palette and connect it under "repeat 20 times", you will see the movement of the sprite!
If you can do this, try preparing a lot of different colored costumes!
If you do that, if you connect "repeat 20 times" in the next costume from the appearance palette, the appearance will change one after another!
To move patterns in various places, connect "repeat 10 times" in the movement palette under "space key pressed"...
If you combine "repeat 10 times" in the movement palette from "circle" to "number 1" to "number 10" and combine them with "repeat 10 times" in the movement palette under "space key pressed", you will see patterns moving at random!
Next time is "repeat 10 times" so far!
Look forward to it!
In Voodoo, Minecraft is a popular game that has more than 100 million people registered in the world!
Learning the programming function of the educational version, original content is being distributed!
Watch it!
This program was brought to you by PROSTA of the Programming Learning System.