AISubs v3.5
Nice to meet you.
Nice to meet you, too.
I'm going to do programming today.
But before that, I'm going to have lunch.
Yay!
Do you know where we are?
We've moved.
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.
You should know how to heal yourself.
Before we meet again,
please give me back
those memories of that day.
There is a shop that has landed in Japan for the first time.
- Japan? What's that? - Shall we go there?
- 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.
Have you tried anything in Hokkaido?
In Hokkaido?
But there might be a lot of sashimi we haven't tried yet.
- Is that so? - Yes.
We only eat what's always been decided.
- We've arrived. - What?
This is the shop that has landed in Japan for the first time
- with food they have in Japan. - What could it be?
- It says "Korean food stall". - It's written in Korean.
- Korean? - I haven't tried it in Korea.
- Shaved ice? - Yes.
- Shaved ice? - What could it be?
- 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. - I have.
It smells good.
- Grilled meat? - It smells good.
This is the shop we're going to visit today.
- What could it be? - What could it be?
- Hello. - Hello.
This is a Korean food stall that has landed in Japan for the first time.
- It's called "vegitejiya". - Vegitejiya?
- Vegitejiya. - Vegitejiya.
The three of them have visited a Korean food stall, "vegitejiya".
It's said that this shop has landed in Japan for the first time with Korean food.
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.
"Sabugyo fusarugushi" has lettuce at the bottom.
- It's the best. - It's "cheese takkalbi."
- It's "takkalbi." - "Seseri" and "sausage" and "mochi" are stuck on "sotoku."
Next to it is "iidako chukumigushi."
- That's amazing. - What's "chukumi"?
"Chukumi" is "iidako" and "chukumi."
- So it's "iidako" and "iidako"? - That's right.
It's a cute "chukumi."
It looks delicious. "sotoku."
Thank you for the food.
How will you eat it, Miko?
It's delicious.
It's spicy, but it's delicious.
I want to eat it with rice.
I'll eat it cold.
It looks delicious.
It's delicious.
I ate it before it got cold.
- I have to cut it and work on it. - That's right.
It's very difficult.
But if you eat it like this, you can eat it in one piece, so you can rest assured.
- That's right. - It doesn't get dirty.
It's delicious.
Should I make it into an octopus? I was curious about it.
- What do you call it? - "Chukumi."
- "Chukumi."
Thank you for the food.
- Thank you for the food. - Thank you for the food.
- What? - It's so big.
- 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's really good. - It's good.
- It's good? - It's good.
Thank you for the food.
It's amazing.
- It's crispy on the outside. - It's good, 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.
- A distant relativeship? - Yes.
Everyone eats it, right?
That's why I don't eat it.
- You know what I mean, right? - Yes.
It's like looking at you from an angle.
But it's really good. It's chewy.
How far away is it from your distant relativeship?
My cousin's grandmother.
- Isn't it far? - It's far.
It's pretty close, isn't it?
How far away is it from your distant relativeship?
It's as far as Oda's chest.
- It's really far. - It's really close.
Isn't your cousin's grandmother your grandmother?
- No, it's the same. - It's the same.
Cousins are parents' siblings' children, right?
Parents' parents are the same.
But parents' fathers are different.
- Over there? - Yes.
This is difficult.
- Would you like some shaved ice? - Shaved ice?
- We'll go on another trip after this, is that okay? - Oh, I see. Then we'll stop.
We can eat at the next shop.
I won't say anything like a child.
- I'll endure it. - I'll make it small.
- Thank you very much. - Thank you very much.
- Would you like some? - What do you have?
- Would you like one of each? - Yes, please.
- Puppins. - Cute!
These are berry puppins.
Tropical puppins and chocolate puppins.
- Wow, they look delicious. - What are puppins?
- Puppins are shaved ice. - Puppins.
There's quite a lot in there.
Thank you for the food.
It's good!
The shaved ice is crispy.
- There's quite a lot in there. - Yes, there is.
Mmm, it's good!
Is there anything different about Japanese shaved ice?
At home, we have milk shaved ice, which is very popular in Korea.
It's white in color.
It's completely different from home-made shaved ice.
Do you make it at home?
When my dad came to Tokyo and gave me a present for the first time,
it 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.
As a group of students so far,
we'll pick up the key, open the door and escape.
We'll try to make a simple escape game from scratch!
Project creation!
What should we name it?
- Oh, it's done! - Nao's done, too!
Nice!
First, launch the project...
...take in images like keys and doors...
- Oh, over there! - Yes!
- Make the door appear on the screen. - Yes! How do you do the door?
Drag and drop the image into the image!
- Oh, it's fixed! - It's fixed!
You can see that it's fixed on the bottom left.
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 and the door opens and closes, opens and closes...
Enter "image.sprite" here and...
Wow!
It's opened.
Thank you very much.
So, programming is done until the door is closed.
And, before we learn these three things...
When I was programming last time, I thought there were many things I didn't explain.
I thought there were many things I didn't explain.
So, I'd like to explain a little bit.
When you say "please make a script", "please make a c# script",
do you remember that you have a class?
Did you notice it?
Like "fabric class door".
You made a class every time.
class door
What kind of variables does a class have?
What kind of functions does a class have?
Is it the same as "class" in "fabric" class?
Ah...
It may be a little different.
For example, when I'm making a game...
When I make a human character...
I make "class human".
Various information that humans have...
class human
For example, what kind of variables or functions do humans have?
Do you know?
I know.
For example, height, speed of movement...
Those things are general.
That's right. Those are variables.
For example, in an action game...
When a 3D character moves...
What kind of function does it have?
What is "function"?
For example, walking...
Walking...
Walking... Yes, yes, it's okay.
I said it in a very small voice, but...
What else is there?
Dancing.
Dancing, too.
In an action game, the action itself is usually a function.
So, something with 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 hit "class".
Okay, let's start programming again.
In order to create such a basic escape game using keys, we will start with number four.
Okay, here we go.
Okay, today...
If you don't have the key in your hand...
Yes, yes, yes.
You want to make sure the door doesn't open.
Yes.
If you don't have the right conditions...
Yes.
You want to make sure the door doesn't open.
Yes.
If you don't have the key in your hand...
Yes.
Do you remember the programming you used when you used words like "the door won't open" ?
Yes, Yumi-san.
if
That's right.
What do you use when you say "do you have the key or don't you have it" ?
Do you know what "if" means ?
"flag" ?
Yes, it's "flag".
What is "flag" ?
"Flag" is...
Well...
I know what it is.
Whether a flag is standing or not.
Yes, that's right.
"flag" is...
If a flag is standing, you do something about it.
If a flag is not standing, you do something about it.
In other words, "on" or "off" ?
Yes, that's right.
First of all, you use "flag" and "if" and you don't have a key.
In other words, you program "flag" so that the door won't open if it is not standing.
There are only two values of "flag" itself.
There are only values of "on" or "off".
Oh, I see.
Do you remember ?
"true" and "false".
Oh, that's amazing.
Yes, that's right.
They are exactly two values of "true" and "false".
The program that represents "flag" is "fabric bool".
In other words, if you write "flag is not standing" like this, it's OK.
Kanagawa-san made a mistake.
I made a mistake.
Which one ?
At first, you don't say "flag is standing".
Yes.
When you pick up the key, you say "flag is standing".
I think "fabric bool" and "flag =" are "false" ?
At first, you don't say "flag is standing".
Oh, I see.
"flag is not standing".
I think it's OK like this.
Yes, it's OK like this.
Then, try to execute it.
I don't have a key, so I can't open it.
That's right. You don't have to open it.
If you don't have a key, you can't open it.
Are you ready?
Yes.
Now you have a key.
Shall we go to the next one?
OK.
So far, they are doing well.
But...
What do you want to do with the key?
We will come back to that question.
Thank you.
I'll enjoy it.
The official T-shirt and smartphone case of the program are on sale.
There is also a Nagizaka color purple.
It's cute, isn't it?
Please check it out.
An escape game made by three people from scratch.
Next, prepare a key flag.
Prepare something to make a flag.
It's a key.
Yes.
A key.
Yes, it's a key to make it.
What is it?
You just prepared an image door, didn't you?
Yes.
Shall we put the key in the screen in the same way?
OK.
Like the previous door,
take in the image of the key...
It's three by four, so...
Change the size...
Is the key small?
If you click this,
I want you to write a program to make 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?
If you click this key...
I want to make a flag.
Yes, you want to make a flag true.
Yes.
In other words...
You want to change the flag.
What variables do you need?
Who has the flag?
This is important.
Who has the flag?
Me.
Where did you write the program for the flag?
DOA!
That's right.
So DOA has the flag.
What variables do you need?
DOA.
DOA, that's right.
Can you prepare the variables of DOA as you have prepared the variables of your image and text so far?
Can you write it for me?
Yes.
It's difficult.
What?
Is it okay only for the flag and DOA?
Yes, if you can prepare the variables, it's okay.
That's right.
Ms. Kanagawa.
Shall we prepare the variables?
Yes.
You have prepared the variables of your image and text so far.
You have prepared the variables of your image and sprite so far.
Yes.
What variables do you need this time?
DOA.
DOA, that's right.
That's right.
Can you prepare the variables of DOA?
- Is it OK? - OK, it's OK.
Now that you've prepared the key flags, it's finally the last programming session of the day.
If you mouse-click a key...
and you want to set up a flag...
what name do you want for it?
- What's the function's name? - What kind of action?
- Anything is fine, right? - Just now you said "open the door" so...
- Oh, I know! "take" - Oh, that's good.
- I don't know how to say "take" in English. - Then I'll teach you.
In this case, you might want to use "pick up" in English.
- It's "pick up", right? - "Pick up"
"Pick up" here means "pick up".
You don't have a key flag. Who has it?
- DOA. - Yes.
- Which means... - Oh, "door"...
- Oh, yes! That's it! - Oh, "door" and "flag"
- "Flag" equals "true", right? - That's right.
Once you pick up the key...
you complete the program to set up the flag!
Kanaga-san, you named it "open".
- Should we change it to "pick up"? - Yes.
What do you want to do there?
Since DOA has the flag...
once you pick up the key...
you complete the program to set up the flag and open the door.
Miyake-san is asking questions slowly...
in order to guide Yan-chan who is confused.
What do you want to do once you pick up the key?
- Once you pick up the key... - Once you pick up the key...
Since you have 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" means that you pick up the key and what you want to do with the flag.
"pick up" means you pick up the key and what you want to do with the flag.
"stand up" means "true" so you have to write "true" somewhere.
That's right.
Nao explained it for me, but I'll review it again.
Now the door is closed and the flag is not standing.
You pick up the key and the door opens.
So you program "door.flag=true" to make the flag stand up.
This is difficult.
Oh, Yan, it's okay.
You're full of energy.
Take a break and review it again.
[Laughing]
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 program free speech and write it?
Yes, I do.
Is it okay?
Yes.
I can understand it better than before.
Thank you very much.
After programming the flag, click the image and set it up so that the flag is called out.
Good. All three of you have done it.
Yes.
Let's do it.
It won't disappear even if you click the key.
It's hard to tell if you took it or not.
After clicking it, open the door.
Oh, it opened!
It opened! Wow!
It opened!
Click the key and open the door.
It's okay.
Wow!
It's up to here.
The programming of the key flag is completed even though she struggled!
Yumiki-san.
Yes.
This week is over, but how was it this time?
Let me see...
You are translating a book in Japanese in your head.
I was the first one to come here.
If I had known, I would have done a lot of translation work.
Now, let's review today's lesson.
First of all, programming without a flag.
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 a door.
Yes, that's right.
Create a key flag and...
Flag equals door.
That's right.
Then flip the key and open the door.
OK.
Next time, finally, the escape game is complete.
Yumiki-san, how was it this time?
Well...
Today, there were a lot of things I didn't know or didn't know.
Even if I don't know it, I'm like, "Oh, I don't know."
I'm good at making it sound like I know it.
I say, "Oh, I see. I see."
Today, I asked the clerk, "What is it?"
When the clerk gave me shaved ice, I asked, "Is shaved ice different from usual in Japan?"
There were a lot of things I learned from that.
I thought it was important to ask questions and push them in more and more.
I thought I had to get used to it.
Oh, I'm sorry.
Happy birthday to you.
Happy birthday, dear...
Aya-chan.
Happy birthday to you.