AISubs
In 2020, programming education will be introduced in elementary school classes.
Now, we also have to have a computer in our lives.
It is important for children to know the mechanism of the computer.
In order to do that, we need to learn programming.
Learning programming is not a dream to change the world in the future.
So, we will challenge programming one step ahead for the finalization next year.
We will learn programming happily using games and music.
What?
It's Takayama!
The programming star is singing the song of love.
So, everyone in front of the TV should prepare tablets and computers.
Let's go on a journey of programming while having fun with us.
Go for it! Programming star!
Hello, everyone.
I'm Kyoko Gunji, the head of the department,
and I'm going to be a programming star in the future.
I'm going to be a programming star in the future.
Nice to meet you.
And Mr. Ando is going to teach us programming.
Nice to meet you.
Mr. Ando is the head of the programing series
which is popular now,
which can be learned in school and online
and he is also the principal of a professional star.
This time, I'm going to study with everyone in front of the TV.
Mr. Shinji Nira, the young master of Shougan no Kaze
Ms. Emiri Ohtani and Ms. Iori Noguchi from Equal Love,
which is produced by Rino Sashihara.
In addition, the new students are
Ms. Nonno Satake from Equal Love.
Nice to meet you.
I've been practicing on my own,
so I'd like to do my best.
And the other one, Honda Miyuki from Not Equal Me.
I'm Honda Miyuki from Not Equal Me.
I've been practicing on my own,
so I'd like to do my best.
Can you show me the notebook you just saw?
I'd like to see it.
It's packed.
It's amazing.
I have to learn it.
I can't keep up with it.
Before today's mission,
a review of what we've done so far.
Programming is to create an order book.
Algorithm is to program it efficiently.
What we are learning now is a programming software called Scratch.
Scratch is different from the source code used in conventional programming.
You can program just by connecting blocks.
It is easy to get Scratch.
Search for Scratch on the Internet and select the Scratch website.
If you click on Create, you can start immediately, so let's get ready.
We will use a conditional formula to complete the Sugoroku this time as well.
This Sugoroku is on the official website, so please download it.
First of all, let's review.
Shinji, last time, we learned a program to bend a character by using a conditional formula.
Please explain it to the two new members.
Conditional formula means that this is what will happen if you become something.
In this picture, there is something like a straight life game.
If you go straight, if you turn green, please bend.
It is a system called conditional formula to send instructions.
Let's do it.
Please take out the space key at the event of the code.
Is the code all right?
Please take out the space key.
Now, when the space key is pressed.
Next is the control.
Yes.
Control.
Yes, control.
If...
Somehow...
Did you find it?
Yes.
All right.
Please take it out.
It's a control.
Please go back to the control again.
Yes.
How many times do you repeat it?
Yes.
It's 10 times.
Yes.
Please take it out.
Yes.
Next is...
Blue.
The blue of movement.
How many steps do you move?
Please take it out.
And...
How many times do you turn to the left?
Yes.
How many steps do you move?
Yes.
Please take it out.
Yes.
First of all...
If...
Somehow...
Please put it on.
In the meantime...
How many steps do you move?
I don't know why I'm so nervous.
I'm nervous, too.
I'd like to put a BGM or something under the number of steps.
Turn 90 degrees.
Please put it in.
Not 90 degrees.
How many degrees do you turn?
Turn 15 degrees.
Please put it in.
Next, Shinji-kun.
This one square of Sugoroku is 36 steps.
So, turn 10 steps into 36 steps.
To turn 90 degrees to the left, I changed 15 degrees to 90 degrees.
Next, from the palette of Shirabelle,
Combine the blocks when the color is touched with 〇〇.
Click on the color and select Shinji-kun's note and the color of the green square from the spoit mark.
By doing this, when Shinji-kun touches the green square, it will turn to the left.
It will turn to the right.
Sensei, I'm not good at this.
Why am I not good at this?
Because, under the condition,
When the white touches the green,
Because it's under the condition,
At first,
How many steps at first?
You have to move a few steps.
I'm sorry, I made a mistake.
Then, up.
First, move 36 steps.
Move 90 degrees to the left.
Then, move 36 steps to the space.
Put it here.
Then, turn 90 degrees.
Put it in between.
Like this.
That's right.
And, this programming,
From the control palette,
Combine by repeating 10 times.
There are 30 squares of Sugoroku, so let's change it to 30.
Then,
First, let's start with Nonno-san's.
I'll start.
I did it.
Let's look at Miyuki-san's.
It was easy to understand.
Thank you.
If we can review, let's learn about today's mission.
Don't miss the nice errors of these girls!
This program was brought to you by the Programming Learning System.
This time's mission is the same as last time, to learn the conditional division.
In Sugoroku, when you stop at a square, you go two squares forward.
There are various events such as going back to the beginning.
This time, I would like to make the event using this conditional division.
The first study is to learn the block definition.
Shinji-kun had a hard time writing the script.
Actually, it's connected here.
It's a nice error.
Actually, if it's this long, it's very difficult to write later.
If you put it together into one block, it will be easier to see the programming.
In fact, this block is an order to walk on the course of Sugoroku.
So you can name the whole course as walking.
This is called definition.
Have you ever heard of it in math?
Yes, I have.
First of all, if you put this together, it will work well.
I think the definition is good if you look at it.
This block definition, the pink block.
Then, the upper part of this pen creates a block.
Here, the name of the current script is walking the course.
To make it easy to understand, let's call it walking the course.
Now we have a block of definition.
Then it's OK.
Now we have a block of walking the course.
Let's put this here.
Then it's good to forget this.
If you put the space in the order of walking the course, it will work.
Shinji had a hard time with one block.
That's right. The point is to simplify what you see.
To put together a complicated program, use the pink block definition.
Click on the block in the block definition, and you can create a new block.
Let's name the program you want to put together.
Once you have a block with a name, let's connect the program you want to put together with this block.
When you press the space key on the event block,
and when you connect it to the block definition block,
the program will be executed.
Create?
Yes, create a block.
Add the text of the label.
Block name?
Yes, block name.
Write the block name.
Block name.
You can write your favorite name here.
This time, I named it walk on the course.
Let's take a look at everyone's block definition.
Let's start with Emily.
Yes, I'll press it.
Ta-da.
Yes.
It's clean.
Yes.
Yes, Yuri.
Yes, I'll go.
One, four, five, six, six, five, four, three, four.
I'm sorry.
The dice is...
It's a mess.
Yes, I'm sorry.
When the space key was pressed,
Shinji and the dice were pressed,
so Shinji and the dice moved at the same time.
Let's be careful when we give orders.
If you learn justice, you'll learn the message.
Let's move on to the next study.
The next one is to learn the message.
In order to create an event, you need a program called a message.
How do you make a message?
I think you did a paper play before.
In the paper play, you pressed 1 or 2 by yourself to change the scene.
However, it's not like a computer in terms of automating.
It's kind of analog.
Yes, it's kind of analog.
So I thought about how to automate it all.
That's why there's a function called a message.
In the paper play I programmed last time,
I pressed a flag or switched the scene by pressing 1 or 2 buttons.
It's kind of analog.
Ah, I have to go to school today.
I wonder if I can meet him today.
Ah, Kenta-kun!
Um, I...
Kenta-kun...
Wait, let me say it first.
I like you.
Hey, the class is about to start.
But, if you use a message, these three scenes will switch automatically just by pressing the space key.
Then, teacher, please tell us how to use a message.
A message is like this.
For example, a scratch cat can give an order to Kenta or a bat or a background.
For example, if a scratch cat tells Kenta to cry, Kenta will cry.
Or, if a scratch cat tells Kenta to change the background, Kenta will change the background.
I want to show you that a scratch cat simply gives an order to Kenta.
Now, press the space key and send a message.
Then, Kenta will say, Hello.
If a scratch cat says, Hello, Kenta will say, Hello.
First, the appearance.
After saying, Hello for 2 seconds, a scratch cat will send a message to Kenta saying, Hello.
The way to send a message is to send a message in this event.
Send a message.
If you send a message like this,
Centaurus will receive the message and say hello.
I'll send you a message saying,
I said hello.
Click Centaurus at that time.
When you receive the message,
Hello Centaurus.
What is this?
It's Centaurus.
Let's do it right away.
Press the space key.
Hello.
I sent a message.
Tonight is Centaurus.
You can send messages like this.
When you want to send an order from a character to another character,
Select send a message from the event palette.
Let's connect under the programmed block.
Next, select the character to receive the command,
and select when the message is received from the event palette.
Next, select the character to receive the command,
and select when the message is received from the event palette.
After this, the message is used to create an event.
What kind of event will be created?
In Hulu, the popular game that has more than 100 million people registered in the world, Minecraft.
The original content to learn the programming function of the educational version is being distributed.
Today's work. Let's create an event using the message.
From here, it is work.
Everyone, I will work freely using the function of the message.
What kind of thing do you do?
Yes. First of all, I would like to try using the message to say that the event will happen by moving the dice.
Yes.
Please take a look at it immediately.
Yes. First of all.
Yes.
Oh, Shinji-kun is here.
Hello.
Do you use it alone? You're great.
No, no. Are you shooting alone?
Thank you for your hard work.
You're an adult.
You can have a conversation like this.
Unlike the previous one, it's not analog, but it's like a computer.
First of all, I choose a background to create an event.
If you click on the insect glasses from the mark of changing the background of the stage, various backgrounds will appear.
I like this kind of thing.
What did you change?
I changed this.
Next, to add sound to the character, click the sound tab and select the microphone from the speaker at the bottom left.
If you click to record,
Hey, let's dance together.
you can record your own voice.
I can do it.
I had a fight with my mom yesterday and I'm going to eat yakiniku, so I'm going to the butcher's.
This is the first time for them.
Let's buy some beef and go home.
The point of programming is that there are two characters, so let's check which one is ordering and which one is receiving the message.
What kind of event has been completed?
I'm going to do it here.
In Hulu, they are broadcasting the programming of Equal Love without cut.
Don't miss their nice error.
Make an event using a message.
What kind of event has been completed?
First, Iori-chan.
I'm going.
What kind of event has been completed?
What kind of setting is this?
Shinji-kun teleported into the sea,
and tried to say hello,
but the air got out,
and he said,
Are you okay?
So I wanted to end it with that.
So you completed it halfway through.
Yes, up to here.
You could tell that he was drowning, right?
He's bubbling.
He's bubbling, so it's like he's underwater.
I'm glad you could tell that.
Now, Emily-san.
Please.
Lastly, let's buy some beef and go home.
Oh, Shinji-kun.
Wow, Emily-chan.
Let's go on a date.
Yes.
I wanted to make some more tea.
I'm curious about the next part.
The tempo was good.
There were a lot of conversations.
You mastered the message perfectly.
Thank you.
That was great.
Next,
Yuki-san, are you ready?
Yes.
I don't know if I can do it.
Yes.
Please.
Yes.
Here I go.
I want to go to the flowers over there.
I knew it.
That was good.
The effect of the sound was there.
Yes.
With that voice, you don't want to go, right?
Yes.
I felt it.
Yes.
That was great.
You even changed your voice for the first time.
Yes.
Next, let's look at Nonno-chan's event.
I'm lost.
Let's dance together.
No.
I'll pay you.
Okay.
That was great.
That was fun.
Please look forward to the next.
How do you solve this problem with money?
As an idol, I think it's fine.
Everyone likes money.
I programmed it well.
This is a good timing.
How to get money.
Thank you.
The last is Shinji.
Hello.
Where are you going?
I had a fight with my mom yesterday.
I eat grilled meat.
Don't hate people even if you have a fight.
That's cool.
It's a pun.
That's great.
And it's cool.
Don't hate people.
That's great.
How was it?
I often say puns.
I want to refer to it.
Today's summary
This time, I made an event using a message.
To put together a complicated program,
Use the pink block definition.
Click on the block in the block definition.
You can make a new block.
Name the program you want to put together.
Once you've created a block with a name,
connect it to the program you want to put together.
When you press the space key on the event block,
and when you connect it to the block definition block,
the program you put together will be executed.
When you want to send an order from a character to another character,
select Send Message from the Event Palette.
Connect it to the block you programmed.
Next, select a character you want to receive an order from,
and select When you receive a message from the Event Palette.
Connect the block you want to send an order to.
When you send an order from a character to another character,
the program you want to put together will be executed.
Next time, we'll be using conditional division to create a block!
Look forward to it!
On Hulu,
there's a popular game that has more than 100 million people registered in the world,
Minecraft!
We're delivering original content to learn the programming functions of the educational version!
Watch it!
This program was brought to you by Frosta, a programming learning system.