AISubs v3.7
Den!
Thank you for having me!
Thank you!
We have Iyama-san as our guest again this week.
Thank you for having me!
Let's cooking show!
Cooking show!
I made a mistake.
Today, I will teach you how to make snacks.
Yay!
Snacks, snacks.
I can already see what you are going to make.
I'm sure it's that.
Do you know what you are going to make?
It's written.
It's written how to make sweet potatoes.
Do you know how to make snacks?
It's bothersome, so I won't do it.
What?
Isn't it fun to make snacks?
No, it's bothersome.
It's better than cooking.
I like making things.
What?
I like detailed work.
What?
Because there is an answer.
Right, right, right.
I like to bring the right answer to the right person.
Aren't you too flexible?
No, I like math, but I don't like Japanese.
It's the opposite!
It's the opposite for me.
I'm not good at writing my own ideas or expanding my imagination.
It goes well with us.
Really?
Because we are literary people, right?
I'm a literary person.
Can we both do it?
I like Japanese.
I like Japanese, so I'm a literary person.
I'm a literary person, so it's great today.
I see.
That's right.
It's a good day.
Good evening, I'm Nogizaka46 Shimasa Torika.
When it gets cold, you want to eat vegetable soup, don't you?
I love vegetable soup and I can make a lot of vegetable soup, so please let me know anytime.
This time, just before Halloween,
so it's perfect for this time of year.
I'm going to make vegetable soup.
Just before Halloween,
so it's perfect for this time of year.
I'm going to use sweet potatoes and make sweet potatoes.
Before you make the sweets,
I'd like you to try to face the river with the apple you just picked.
I'd like you to try it with confidence.
What kind of...
Like this?
I've never done it before.
Can you do it?
Have you ever done it before?
I have.
Then, please do it. I haven't.
Then, let's do it.
What? Why?
Then, Yumiki will try to face the river with the apple.
Oh, yes, yes, yes.
Oh, good, good.
Good, you're good.
Oh, cute.
It looks like it's easy to cut.
Right? It's easy to cut.
But it keeps sticking to me.
Be careful.
Is it good?
Oh, good, good.
Oh, no.
Cute.
Oh, good, good.
It looks like it's really easy to cut.
Oh, no.
A little deeper. A little deeper.
But for the first time,
it's a beautiful "no".
"No".
It's true.
Now that Yumiki knows how to do it,
let's start making the main dish, sweet potato.
Based on the ingredients we have here and the recipe,
only the three of us will be making the sweet potato.
The time limit is 30 minutes until programming.
Will they make it in time?
First, peel the sweet potato.
Then, cut it into slices and soak them in water for 3 minutes.
Can I wash my hands?
Yes, you can.
Hands off!
I'll peel it.
Okay.
Be careful, it's hard.
Okay.
Soak it in water...
I'll get you some water.
Thank you.
She prepared something for me. I'll go and cheer for you.
Didn't you say you were going to cook?
I cook when I have to.
That's right.
What did you make recently?
Recently?
Yes.
Grilled vegetables.
Grilled vegetables?
What kind of vegetables?
Summer vegetables.
Aren't they great?
I want to eat some.
I'll make you some.
Yay!
Aya-chan, I want you to cut it.
Okay.
They talk a lot, but can they complete it in time?
I can only get warm eyebrows.
This is appropriate, isn't it?
3 centimeters is 3 centimeters, not 3 minutes.
I made a mistake.
3 centimeters and 3 minutes is definitely...
I suddenly became a 3-meter worker.
3 minutes.
I can't do it. I'm sure I can't do it if I hold it like this.
No, it's how you hold a daikon radish.
It's how you hold a daikon radish.
I'll never be stable like this.
Me, too. Me, too. I can't do it.
OK.
Soak it in water for 3 minutes.
I have to wait for 3 minutes.
Here you go, 3 minutes.
I can't wait for 3 minutes like this.
If it's a common cooking show...
Here's what I soaked in water for 3 minutes.
Here it is.
After 10 minutes, they're finally ready.
After that, wrap it in a bowl and heat it up in the microwave until it softens.
And...
Here it is.
Let's crush it.
It smells good.
I think it's soft.
I don't know if it's soft or not.
But I know it's soft.
I'll put it in now.
Do you put butter in it as it is?
OK, let's put it in.
Let's put it in.
Can you do it?
Let's do it.
Will it melt in the heat?
I don't know.
They only have 10 minutes left.
After putting all the ingredients in, they just have to bake it.
Will they be able to make it in time?
It looks like it's easy to do it with your hands.
In that case...
This...
Heart.
If you're going to do it, do it nicely.
What is this?
Have you ever seen a heart?
Yes, I have.
A heart.
It's hard to make a star.
Why are you making it so difficult?
It's hard.
Just a little.
A little star?
It's cute.
Here you go, cat.
After painting it with egg yolk and baking it, it's complete.
It's okay.
Don't worry about it.
I won't forgive you if you drop your ear.
Cat, pet it.
It's okay.
Think of it like a cat.
It's hard.
Like petting a cat.
I've never lit up a cat.
I think it's okay.
Is it okay?
Yes.
Is it going to be baked in the oven?
I'm going to bake this in the oven.
The time limit is...
All I have to do is bake it, but I'll show you the finished product later.
Look forward to it!
Now, this is the real programming.
Last time, we played "pyopyo" which is also used in programming textbooks in a two-on-two team battle.
Oh, no! Kobayashi-san is strong!
I'm strong?
Oh, no! Stop it!
I'm sorry!
Yay!
Yumiki isn't doing anything!
Why? That's impossible!
I can't do it! I can't do it!
Yay!
Yumiki was winning by Kobayashi-san's lead, but...
This is an individual match. Who will win?
This is dangerous.
What? What? What?
I'm scared!
What should I do? What should I do?
Hey!
Why? That's the worst!
That's not it!
What is it?
One?
Ah! What? The most!
That's terrible!
I don't like this.
I don't like it.
This is bad. This is bad.
This is bad! What should I do?
I can't do it!
Ah! I can't do it!
I can't do it! I can't do it!
What should I do?
Ah! I'm begging you!
Ah! I'm getting something again!
No! I can't do it! What should I do?
Ah! Wait! Wait! Wait!
Ah! Wait! Wait! Wait! Wait!
A lot of...
Since the bowstring has fallen off, it's Ayatee-san and Renka-san's one-one.
I think Renka is really strong.
She's really strong!
One? One?
Ah! I'm losing it!
One?
One!
Wow!
That was a transfer.
Ah! It feels good!
Wow!
One?
I've been attacked!
Thank you!
Wow!
So, the individual match was won by Ayatee-san!
Now, let's talk about programming for the Puyo Puyo game.
Last time, we learned how to create the Puyo itself, which is the basis of the game, and a stage, and how to color it, and how to display Puyo on the stage we created.
This time, we will learn programming for moving the Puyo and programming for rotating the Puyo.
Next, we will bring out the Puyo we will operate.
We will bring out the Puyo and move it with the left and right keys for now.
We will leave the rotation for now and try to move it first.
Let's define the Puyo we will operate with variables.
puyodot color
Next, "chon", "coma", "mai", "hai", "retsu"
Then, what should we do?
now color
What should we do?
current color
now
I haven't heard "now" in a while.
It's a little old-fashioned.
"now color" equals?
was
Isn't it nostalgic?
It's nostalgic.
Isn't it nostalgic?
It's "ni".
"now color" has...
For example, red and green, blue and yellow.
It has two colors.
Two colors?
It has two colors.
It's a moving Puyo, so it has two colors.
Also, we need the current Puyo coordinate.
So, we have "vector to int", so let's use it.
vector to int
"now position", "pos".
now pos
"now eat", "now pos", "now pos"
So far, the system of moving the puyo has been completed.
And, it seems like the sweet potato, which was in the middle of completion, has been baked.
Let's take a break and check the programming.
Open the door
Wow, it's great.
It's baked color.
It's a little burnt.
The cat's ears are great.
It's true. It's cute.
It's a little colored.
It's cute.
It smells good.
It's a good looking.
It's cute.
Let's eat.
It looks great and delicious.
It's crispy and great.
It's good.
It's a little salty.
Did you put too much salt in it?
I think I put too much salt in it.
But, it's good.
It's good.
It's like a food.
All right.
I'm sorry. I'm just eating.
Let's do it again.
Ms. Koya, please.
Please.
After this, it's time for "Puyo Puyo Game Making Second Half".
It's good.
It's like an apple.
"Puyo Puyo Game Making Second Half".
Next, we will program the system that rotates Puyo.
We also need information about rotation.
So, "int" and "rot", "rotation" of "rot".
"Rot" equals "zero" or something like that.
There are various ways of entering information about rotation.
For example, "zero", "one", "two", "three" for up, left, right and down.
It is easy to understand by changing number from "zero" to "one" for the clock.
"Zero" equals "zero" by 0 o'clock. "Three" equals "three" by 3 o'clock, "six" equals "nine" by 6 o'clock...
onge "zero", "three", "six", "nine", "zero", "three", "six", "nine" are easy for you to understand.
Let's manage with "zero", "three", "six", "nine".
Okay.
Thank you very much.
By programming "zero", "three", "six", "nine",
When you press the specified button,
the system of rotating one-fourth like this is completed.
Next, let's specify which button to use to rotate.
Which button do you like for rotation?
Do you want "z" and "x"?
"space".
"space" is easier to use.
Well, "jump".
"jump"?
Let's rotate "space" to the right.
Rotate to the left.
Then, right.
Right hand.
"space" to the right.
Then, rotate to the left.
Oh, you decide right and left.
That's right.
Why did you decide it?
It will be difficult to operate.
That's right.
You said "z" just now.
Yes, I assumed it was "z" and "x".
Then, I declare "z" and "x".
"z" for left rotation and "x" for right rotation.
I didn't know there were two of them.
Me, too.
I didn't know, either.
"rotate" means this "now rod" we mentioned earlier.
In fact, you can multiply it with one line.
"now rod" equals "now rod" plus 3.
It's 12%.
"percent" means "overlap".
Then, "now rod" becomes "zero" plus "three".
"three" is "zero" plus "three".
"zero" becomes "three".
"three" becomes "six".
"six" becomes "nine".
"nine" becomes "ten" plus "three".
"ten" divides "twelve".
"one" becomes "zero".
"zero" returns "zero".
I see.
Therefore, "now rod" becomes "three".
In brackets, it becomes "six",
but "six" cannot be divided by "twelve", so the remainder becomes "six".
So, every time you press "x", it becomes "zero", "three", "six", "nine", "zero", "three", "six", "nine" and so on.
Who came up with it?
If I were to say it now, it's me.
Wow!
If you press "x" now, the programming for Fuyo's right turn is complete.
Next is programming for left turn.
The problem here is what happens when you turn left.
How can we make a loop of this 0-9-6-3-0-9-6-3?
In the case of left turn, you have to change "3" in brackets to a different number so that "too much" starts with "0".
What is included in it?
If you change "3" to "12", it becomes "0" "3" "6" "9", right?
If you change "3" to "12", "too much" becomes "3".
What?
The one above adds "3" to "now lot" and divides it by "12".
So, when it is "0", "0" plus "3" is calculated and it becomes "3".
If you change "3" to "12%", it becomes "too much" "3".
So, "now lot" becomes "3".
That is how it works.
Are you doing math now?
I am doing math.
It is difficult. It is really difficult.
"3"?
It is a flash. It has nothing to do with programming.
It is a function. "3" divided by "12" is "0" "too much" "3".
"0" is not "too much" "3".
"3" divided by "12" is "0" "too much" "3".
It is different. It is definitely different, isn't it?
So, "0" is "too much" "3", isn't it?
Does "2" and "5" add up and become "3"?
"3" divided by "12" is not "too much" "3", isn't it?
I got it! I got it!
Here, "3" divided by "12" becomes "0", doesn't it?
But "3" cannot be divided by "12" anymore, so "3" remains "too much" "3".
"3" remains "too much" "3"!
"3" remains "too much" "3"! It is not math!
It is, isn't it?
It is a figure! It is a figure!
It is a figure!
Everything you see is everything.
That's right.
Are you changing it to "9" now? Are you changing "3" to "9" now?
"9" is correct.
Wow!
Now, by pressing the "Z" button and turning Puyo to the left, programming is complete.
Next, let's program a system in which Puyo falls slowly from above.
Let's write a program that moves it using this "get" key.
Okay.
if
"input.getkeydown" is good, isn't it?
getkeydown
Then, use the "keycode" you like.
First, you want to move it to the left.
When you press the "left" key, what will happen?
Let's write it down.
Can you guess it by feeling it?
Huh? When you press the "left" key...
What will happen?
"x" becomes "plus".
Isn't it "minus"?
It becomes "minus".
Yes, it becomes "minus".
What "x" becomes "minus"?
Oh, I know it!
With the number of rows.
Okay!
Go ahead.
"vectortoint"?
"vectortoint" is one name, isn't it?
But it's this, isn't it?
Yes. "nowpos".
"nowpos".
"nowpos" becomes...
"now".
Yes, the "now" becomes "minus".
Yes, that's right.
"nowpos".
"nowpos" becomes "zero" becomes "x" becomes "minus" becomes "minus"
"nowpos" becomes "one" becomes "x" becomes "minus".
With the same pattern, with the same method, make "right" and "down" as well.
"left", "right", and "down" only.
Okay, let's save it and run it.
Okay.
Is it moving as intended?
Yes.
It's not moving.
It's the "up" and "down" of the game, the white part.
If you press the arrow, will it not move?
Yes.
It won't move.
Oh, why?
Oh, I know it! There is no "update view".
I see, I see.
There is no "update view", so it won't reflect on the screen, right?
It's important, right?
Instead of saying "this is not enough"
Instinctively like this...
Were we being tested?
That's what it is!
Notice it, you guys!
What is it?
There is something you guys don't notice.
Well then, let's get back on track and replay it.
Oh, great! It moved!
Yay!
Oh, it's true!
It moved!
Wow!
Shall we go down?
This time, we were able to make sure that it wouldn't fall from above.
If we add a program that rotates Puyo...
Oh! It moved!
Wow!
From now on, we'll be processing against this table.
For example, it will disappear and fall or chain.
In the meantime, Kobayashi-san, it's about time.
Oops!
What?
No way! The video was almost completed and the filming time was over.
I couldn't do it until the end, but I'd like you to make a game that will be completed if you go through this and go to the end.
Kobayashi-san is making it for me.
Let's watch it until the end and finish it.
You can make something like this.
Then...
Rotate it like this and it will fall on its own.
Press the accelerate button and it will fall.
It accelerated!
Wow!
Wow! It's fluffy!
It's cute!
When it falls, it becomes fluffy.
Right? It's amazing!
It's true!
It's cute!
It's true!
It disappeared!
Wow!
Well, there are four colors.
It's fluffy!
I can practice being fluffy!
It's like this.
Wow!
You're still a beginner.
I wasn't going to be able to do it.
It's really beautiful.
I used to make mud dumplings a lot.
It brings back memories!
The surface of the mud dumplings...
It's slippery, isn't it?
I used to do it at home.
Tokyo Basketball Club will be broadcasting on TVer and other platforms.
The show will continue for three years, four years and more.
Please press the "Like" button on TVer.
Kobayashi-san will fix the game we made and distribute it for free.
Please play it!
Have fun!
Next time...
A fierce battle in the latest real-time FPS game!
Shoot as many bullets as you can!