AISubs v3.7
Thank you for having me today.
Thank you for having me.
I'm going to do programming today.
Before that, I'm going to have lunch.
Yay!
Do you know where we are?
We've been moving.
Where are we?
Market.
Gakudai Market.
I don't know.
Where is Gakudai?
It's a station called Gakugei University.
That dream is...
Love left a mark.
It's not pretty.
Getting better at hurting each other.
Before we met, I was full of things.
Remind me of that day.
There is a shop that has landed in Japan for the first time.
- What is it in Japan? - Let's go and have a look.
- In Japan? - Is there anything you haven't tried yet?
- Something you haven't tried yet. - There must be a lot.
- I'm from Kyoto.
- Have you tried yuba? - No, I haven't.
- No? - No, I haven't.
Is there anything you haven't tried in Hokkaido?
In Hokkaido?
There may be a lot of sashimi you haven't tried yet.
- We only eat what we always order. - I see.
- We've arrived. - What?
This is the shop that has landed in Japan for the first time.
- What is it? - It says "Korean food stall".
- It's written in Korean. - Korean?
- I haven't tried it in Korea. - Shaved ice?
- What is it?
- You've tried it before, right? - I have.
- You know, chicken and... - Yes.
- Cheese hotdog? - Cheese hotdog?
- It's famous, so I'm sure you've tried it before. - I have.
- It smells good. - Grilled meat?
- It smells good. - This is the shop you'll visit today.
- What is it? - What is it?
- It's a Korean food stall that has landed in Japan for the first time. - Hello.
- It's called "vegitejiya". - "Vegitejiya".
- "Vegitejiya".
The three of them visited a Korean food stall, "vegitejiya".
It's said that it's the shop that has landed in Japan for the first time, but what kind of food is it?
- What kind of food is it? - It's "takkochi".
- Mochi? - "Takkochi".
- It's a Korean-style fried chicken.
"Takkochi" is a fried chicken grilled in sweet and spicy sauce.
It's also a specialty in Korea.
- Where can we eat it? - It's fast.
- Here you go. - Thank you.
- It's amazing. - It looks delicious.
The "sanchu" at the bottom is "sabugyo fusarugushi".
- It's the best. - It's cheese "takkalbi".
- "Takkalbi". - "Seseri" and "sotoku" with sausage and mochi.
Next to it is "iidako chukumigushi".
- It's amazing. - What is "chukumi"?
"Chukumi" is "iidako" and "chukumi".
- So it's "iidako" and "iidako"? - That's right.
- It's cute. - It's a cute "chukumi".
- It looks delicious. - "Sotoku".
Thank you for the food.
Which one should I eat first?
It's delicious.
It's spicy, but it's delicious.
- I want to eat it with rice. - Do you like rice?
- I'll eat "sambuyokusa". - Okay.
- It looks delicious. - Yes.
It's delicious.
I've eaten "sambuyokusa" before,
- but I have to cut and work on it. - That's right.
It's very difficult.
But I can eat "sambuyokusa" in one piece, so I'm relieved.
- That's right. - It doesn't get dirty.
It's delicious.
Should I eat it with octopus? I was curious about it.
- What is it called? - "Chukumini".
- "Chukumini".
- "Chukumini". Thank you for the food.
It's delicious.
What?
It's hot.
- Is it good? - It's good!
It's a taste I've never had before.
- Is it spicy? - It's a little spicy...
- but it tastes really good. - It's delicious.
- It's delicious? - It's delicious.
Thank you.
It's amazing.
- It's crispy on the outside. - It's delicious, isn't it?
It's my first time eating Tteokbokki.
- Is it your first time eating Tteokbokki? - Yes.
I have a little distant relativeship with Tteokbokki.
- Distant relativeship? - Yes.
Everyone is eating it, right?
That's why I don't eat it.
- What is it? - Do you know that pride?
There was an angle from above.
But it's delicious when you eat it. It's chewy.
How far away is it from your distant relativeship?
My cousin's grandmother.
- Isn't that far away? - It's far away.
It's very close.
How far away is it from your distant relativeship?
It's as far as Oda's chest.
- It's very close. - It's very close.
Isn't your cousin's grandmother your grandmother?
- No, it's my cousin's grandmother. - It's the same.
Cousins are parents' siblings' children, right?
Parents are the same.
But parents' fathers are different.
- Over there? - Yes.
This is difficult.
- Do you want some shaved ice? - No, thank you.
- Shaved ice? - Shaved ice is fine.
- We'll go on another trip after this. - Oh, I see.
Then we'll stop.
We can eat at the next shop.
I won't say anything childish like that.
I'll endure it.
- We'll give you small ones. - Small ones.
- Is it okay? Thank you. - Thank you.
- Thank you.
- Can you all eat? - What do you have?
- One by one. - Okay.
- Yay! - Puppins.
- Cute! - This is berry puppins.
Tropical puppins and chocolate puppins.
- Looks good. - What are puppins?
- Puppins are shaved ice. - Puppins.
- There's a lot in it. - Thank you for it.
- It's good! - Shaved ice is...
crunchy.
- There's a lot in it. - Right?
Mmm, it's good!
Is there anything different about Japanese shaved ice?
At home, we have milk shaved ice, which is popular in Korea.
- I see. - Would you like to try it?
It's really white, isn't it?
It's completely different from the shaved ice we make at home.
- Do you make it at home? - Yes.
My dad came to Tokyo and gave me a present for the first time.
And that was a shaved ice machine.
Let's do programming again today!
Last time...
As much as we can with the knowledge we've learned so far...
The three of us will make one game and go.
As a group of students so far...
Pick up the key, open the door and escape.
Challenge to make a simple escape game from scratch!
Project strategy.
What should we name it?
- Oh, I've got one. - I've got one too.
Nice!
First, start up the project...
Take in images like keys and doors...
- Oh, over there... - Yes!
- Make the door show up on the screen. - How do you do the door?
Drag and drop images into your imagination.
- Oh, is it working? - It's working, it's working.
Right now, the lower left...
I think you can see the state it's in.
Is there anything wrong with it?
- The size is different. - It's small.
- The size is different, right? - Yes.
Adjust the size with "width" and "height"...
Oh, it's big!
Click with your mouse...
The door opens and closes, opens and closes...
Here, type in "image.sprite"...
Then...
"w" "i" "m" "o" "m" "w"
- It's done. - It's working.
It's opened.
- It's opened. - It's opened.
- Thank you. - Thank you.
So, we're done programming until we can open and close the door.
Before we say, "we're going to protect these three",
I realized we don't explain a lot of things in our previous videos.
We don't explain but just talk.
I'd like to give you a brief introduction.
When you're asked to make a script for C#, do you remember the word "class" attached to it?
Did you notice it?
Like "fabric class door".
Oh, you're right!
You were making "class" every time, weren't you?
Yes, we were.
Class
What kind of variables and functions do "classes" have?
Are "classes" the same as "fabric classes"?
Ah...
They might be different.
For example, when I'm making a game, and I'm making a human character, I'm making "class human".
For example, what kind of variables and functions do "classes" have?
I know!
For example, height and movement speed.
Those are "classes" in general.
I see.
Those are "variables".
For example, in an action game, when a 3D character moves around, what do you think becomes "class"?
What is "class"?
I don't know.
Like walking.
Walking.
Walking. Yes, yes, it's okay.
I said it with a very small voice.
What else is there?
Like dancing.
Like dancing, yes.
In an action game, the action itself is usually a function.
So, having that kind of variable or function is called "class".
I see.
Let's leave it at that.
In other words, "class" is something you use when you want to program variables or functions into objects that contain characteristics or properties.
In this case, "hero" will be in "class".
Okay, let's start programming again.
Using a key to escape.
In order to make such a basic escape game, we will start with this number four.
Okay, here we go.
Okay, today, if you don't have a key in your hand, you can't open the door.
If you don't have the right conditions, you can't open the door.
If you don't have a key in your hand, you can't open the door.
Do you remember the programming we used when we used those words?
Yes.
Yes, Yumi.
"If".
That's right.
If you don't have a key in your hand, you can't open the door.
What do you use it for? How do you use it?
Do you know what it is?
Is it a flag?
Yes, it is.
What is a flag?
A flag is...
Well...
I know what it is.
It is a flag that shows whether a flag is up or not.
Yes, it is.
If a flag is up, you can use it for something.
If it is not up, you can use it for something.
Does it mean "on" or "off"?
Yes, it is.
First of all, you don't have a key.
If a flag is up, you can use it for something.
A flag has only two values.
"On" or "off".
Yes, it is.
Do you remember it?
"True" and "false".
It is amazing.
Yes, it is.
A flag has only "true" and "false".
A program that shows a flag is "fabricool".
In other words, you can write "a flag is not up" like this.
Kanagawa is wrong.
I am wrong.
Which one?
At first, a flag is not up.
When you pick up a key, a flag is up.
I think "fabricoolflag=" is...
"false"?
At first, it means "a flag is not up".
I see.
I don't know.
I think it is wrong.
I think it is okay.
Try it.
I don't have a key, so I can't open it.
Yes, you don't have to open it.
If a flag is not up, you can't open it.
Did you get it?
Yes.
Now you have a flag.
Shall we go to the next one?
Yes.
They are doing well so far.
But...
What do you want to do after you pick up a key?
That brings me back to the question.
The official T-shirt and smartphone case of the show are on sale.
There is also a purple one in Nogizaka color.
It's cute, isn't it?
Please check it out.
An escape game made by the three of us from scratch.
Next, prepare a key flag.
Prepare something to set up a flag.
A key, right?
Yes.
A key?
Yes, we're going to make a key.
We've prepared a door for you now, haven't we?
Yes.
Shall we put the key in the screen in the same way?
Yes.
As with the previous door,
take in the image of the key...
It's 3 by 4, so...
...change the size.
Is the key small?
If you click this,
I want you to write a program to set up a flag of the door.
Now, let's make a program called "key" and open it.
Last time, you wrote an image, didn't you?
Yes, an image.
What do you want to write this time?
What?
If you click this key...
I want you to set up a flag.
Yes, you want to make the flag "true".
In other words, you want to change the flag,
so what variables do you need?
Who has the flag?
It's up to you.
Who has the flag?
Me.
Where did you write the program for the flag?
The door!
Yes, that's right.
If the door has the flag,
what variables do you need?
Door.
Door. That's right.
Then, can you prepare the variables for the door as you have prepared for the variables for the image and text so far?
Can you write it for me?
Yes.
It's difficult.
What?
Is it okay to just have a flag and a door?
Oh, that's right. If you can prepare the variables, it's okay.
That's right.
Is it right, Kanagawa?
That's right.
Kanagawa-san, shall we prepare the variables?
Variables...
You have prepared the variables for the text so far.
Last time, you prepared the variables for the image and the variables for the sprite.
What variables do you need this time?
Door.
That's right.
Can you prepare the variables for the door?
- Is it OK? - Yes, it's OK.
Now that you've prepared the key flags, it's time for the last programming session of the day.
If you mouse-click on a key, you want to set up a flag.
- What name do you want for it? - Anything is fine.
- Because you opened the door earlier... - Oh! I know! "TORU"!
- I don't know how to say "TORU" in English. - OK, I'll teach you.
In this case, you might want to use "HIROU" in English.
- So it's "pick up". - "Pick up".
"HIROU" means "pick up".
- You don't have a key flag. Who has it? - The door?
- Yes. So... - Oh! "DOOR"...
- Yes! That's it! - Oh! "DOOR"...
- Oh! "DOOR" and "FLAG". - Yes.
- "FLAG" equals "TORU" - Yes!
I'm happy.
Now that you've picked up the key, you've completed the programming session of "FLAG".
- Kanaga-san, you named it "OPEN". Should we change it to "PICK UP"? - Yes.
What do you want to do there?
Since the door has a flag, if you pick up the key, the flag will stand up and the door will open.
Miyake-san is asking a slow question to guide the confused Yan-chan.
What do you want to do when you pick up the key?
- When I pick up the key? - When you pick up the key...
Since you've prepared the flag, what do you want to do with it?
What do you want to do with the flag?
You said "if flag true", didn't you?
If the flag is true, the door will open, didn't you?
Yes.
But the default flag is false, isn't it?
So now the flag won't stand on its own.
If the flag doesn't stand, the door won't open.
So you picked up the key and what do you want to do with it?
That's the question.
I don't know.
I got it. Here we go.
I got it.
I can explain it so that Yan can understand it, too.
"public void pick up" is about what you want to do with the flag
if you press "pick up".
"pick up" equals "hirou" (pick up)
If you pick up, you want to raise the flag.
"tateru" (raise) equals "true" (true)
So you have to write "true" somewhere.
That's right.
Nao-chan explained it to me, but I'll review it again.
Now the door is closed and the flag is not standing.
If you pick up the key, the door will open.
In other words, in order to raise the flag, you program "door.flag=true".
This is difficult.
Yan, it's okay.
You're full of energy.
Take a break and review it again.
Thank you.
I don't know what I don't know.
She doesn't know what she doesn't know.
After that, Yan-chan asks Miyake-san a lot of questions.
Do you want me to program "freedom of speech" and write it?
Yes, please.
Is it okay?
Yes.
I can understand it better than before.
Thank you very much.
After programming "freedom of speech", click the image and set it up to call "freedom of speech".
Good. All three of you are ready, right?
Yes.
Let's do it.
It may not disappear even if you click the key, so it's hard to tell if you took it or not.
After clicking it, open the door.
Oh, it's open!
It's open. Wow!
It's open!
Then click the key and open the door.
OK.
Wow!
It's up to here.
Programming of "freedom of speech" and "key flag" is completed!
Yumiki-san.
Yes.
This week is over.
How was it this time?
Well...
In your head, you are translating a book in Japanese.
I was the first one to come here.
Oh, I found you!
You're a big-time translator.
Now, let me review what we learned today.
First of all, programming of "key flag" is incomplete.
I don't know because I don't have a key.
Since you want to change the flag, what variable do you need?
Who has the flag?
It's "door"!
That's right!
Create a "key flag" and...
"flag" equals "true"
That's right!
Then, flip the key a little and press "door".
OK!
Next time, finally, the escape game is completed!
Yumiki-san, how was it this time?
That's right.
Today, there were "takkochi" and many things I didn't know.
Even if I didn't know it, I felt like "takkochi", and I'm good at expressing what I know.
Even for various things, I say "I understand, I understand".
Today, I asked the clerk "what is it?"
When the staff gave me shaved ice,
I asked "is shaved ice different from usual in Japan?"
There were many things I learned from that.
I thought it was important to ask questions and ask more and more.
I thought I had to make it my habit.
Oh, I'm sorry.
Happy birthday to you♪
Happy birthday, dear...
Aya-chan♪
Happy birthday to you♪