AISubs v3.7
This time we are in Shimokitazawa.
Yes!
Yay!
Do you come to Shimokitazawa often?
I do. I think I come here quite often.
What do you come for?
Basically, I buy clothes in Shimokitazawa and come here for live performances.
Oh, I see.
Actually, Shimokitazawa is said to be the birthplace of curry.
Oh, is it a birthplace?
I see.
So, this time we are going to eat curry.
Yay!
It is said that it is the best curry in Shimokitazawa.
The best!
Wow!
That's what we are going to eat.
It's the origin of curry.
Then, let's go!
Yay!
♪ I felt like I was going to fall more and more ♪
♪ Good-bye, spray ♪
♪ I'm all alone ♪
♪ My memories are about to fall ♪
♪ Good-bye, love ♪
Good evening, I'm Nogizaka46's Sato Rika.
I love curry, and last year on my birthday,
the staff of the Tokyo Computer Club gave me curry,
and I love it so much.
I can't wait to eat curry!
Around Shimokitazawa station,
there are more than 50 curry restaurants.
Every fall, Shimokitazawa Curry Festival is held.
More than 100,000 people come together to wait for curry.
This time, I came to Masoyaji-san,
which is said to be the oldest shop in Shimokitazawa,
before Shimokitazawa was called the city of curry.
Before Shimokitazawa was called the city of curry,
they made curry here.
Oh, I see.
You've been working hard all this time.
I think it's because of the convenience of the shop.
It's very Shimokitazawa-like.
It's calming.
Curry doesn't depend on the ingredients at home.
Curry?
Curry has a strange intonation.
Curry is curry of fish.
So, fish is curry?
Fish.
Say it again.
Which one?
Both.
Fish is curry.
This is curry.
Oh, that's a good question.
It's my first time hearing it.
I like that.
Mixing sweet and spicy.
Oh.
I like sweet and spicy.
Wow, you're quite mature.
Mature?
Is it okay?
I don't have any children yet,
but my siblings haven't grown up yet,
so they like sweet and spicy.
That's good.
You're good at hiding it.
Hiding it?
I don't think I've ever hidden it.
You haven't?
I wonder what it is...
Like "lories"
You're pretty serious about "lories", aren't you?
No, but I've liked my mom since I was little.
I have an image of putting it in my curry.
Your mom likes "lories"
It seems like my mom likes "lories".
There's no "lories" down there, is there?
At a place where flowers are blooming for curry talk...
Here you go.
Thank you very much!
Wow!
There's eggplant!
Eggplant?
But it's amazing!
It's like "lories"
What we're going to eat this time is...
Chicken, beef, vegetables and boiled eggs.
It's a special curry!
Thank you for the meal!
What does it taste like?
It's gentle!
Ah, but...
You can catch up with it later.
This spice, right?
Yeah.
Mmm!
It's kind of sweet!
Yeah, yeah.
There's a lot of sweetness from the vegetables and vegetables.
Mmm!
It's really good!
It's like...
It looks really wild, but...
There's more!
It's like someone who's really kind inside.
It's not too spicy, so...
And I think it's properly spicy, so...
You can't catch up with it.
I've never said "hehe" before.
You've never said it?
Yeah, since I was a kid.
The meat is soft.
Which one did you eat?
Beef.
Huh? It came off easily with a spoon.
It's soft!
It's good!
This is for Rika.
Oh, you're kind.
But I won't give it up.
You're definitely saying "hehe" while narrating, aren't you?
Damn it! I'm jealous!
I wanted to eat it, too!
I'll definitely go next time!
The eggplant is great!
Is it great?
It's sweet!
Besides, I haven't forgotten about the eggplant itself.
It doesn't go with the curry either.
You can really taste the eggplant.
It's great!
But it's soft.
It's really soft.
Why?
And this shop, which is popular for dessert after meals...
Honey yogurt in an old-fashioned bottle.
It's like drinking yogurt.
It's creamy.
You're right.
It's creamy.
This is fun!
Thank you for it.
It's creamy!
I feel like I can drink it.
It's great!
It's sweet and delicious!
The honey is dripping.
It's great!
Is it good?
It's fun!
The spicy spice in the curry flows at once.
It's harmonized.
It's infinite.
It's dripping.
The honey is great!
It's dripping!
After enjoying the dessert after meals, it's time for programming.
Before that...
Let's check their fashion! What do you pay attention to?
Today, I'm wearing a brown one-piece dress.
This part looks like a pocket, and I can put many things in it.
It's a one-piece dress, and it's stuck together.
This part looks like a space, and I can put anything in it.
You can put candies in it.
No, it looks like a chest plate.
I'm wearing this luxurious velvet fabric, and a tweed heart. It's like winter.
It's cute.
The belt is also one point.
It's cute.
My coat was very unique and red, but when I took it off, it was already white.
So, in one word,
"Abekobe".
I haven't remembered it recently.
Now that we've heard the three of yours particular points, let's do the programming.
Today's programming is...
Now that I think about it, we've been learning a lot of things for two years.
Actually, there's something I've heard many times, but it's a little difficult and I've been pretending not to look at it.
Where is it?
I think you've heard it many times, but it's called "right judgment".
"Right judgment" that we've heard many times.
Actually, it's very difficult to really learn.
But learning how to make games is an essential knowledge that we can't avoid.
How did you know it was "right judgment"?
When we did the narration once for this show, we were just talking about "right judgment".
I've heard it many times, but...
I was like, "yeah".
You only knew the short version?
That's right.
By the way, Yumiki and Yoshida, is "right judgment" something like this?
If you put "right judgment" on this object, this other object will hit you.
If you don't put "right judgment", you'll get hit. Something like that?
That's right. That's right.
That's one way of using it.
For example, you can't pick up items or you can't move because you hit a wall.
Hatena Box.
All of them are like that.
I see.
For example, if you want to make a base, but you don't know how to do it, you just go ahead and do it.
You make the ground and ceiling.
If you don't do it, you'll become a ghost.
That's right.
I can only give you a rough explanation of it.
The three of them have only been taught roughly.
It's been almost two years since the show started.
At this timing, let's take a step forward and learn how to hit from scratch.
Today is different from usual.
If you don't know how to do it, let's ask Mr. Kobayashi right away.
As a player character who basically moves, I put a rice ball for the time being.
A player's rice ball is already programmed to move up and down and left and right.
Let's make an enemy-like object here and try to hit it.
There are actually two ways of hitting it.
One is probably the one you know, with a rigid body and a collider.
This time, let's take it properly with a program.
I think I did something like that with Watage-kun.
What?
Is it because you went up?
Watage... Watage and...
The collision of the wind.
I think I did that once.
Ah, you mean the hit judgment, right?
But that's one player character, right?
And a lot of wind comes out.
So, the moment the wind comes out,
I'll find the player character in this cold air,
and see if I'm close to the player character or not.
However, for example, in a shooting game,
you don't know when the enemy will come out,
and you don't know when the player will shoot the bullet either.
That's true, I see.
So, when it comes to the player and the bullet,
you can't find it now and get a hit judgment.
So, you have a list of enemies,
you have a list of enemies filled with enemies,
and you have to put it in there and see if it's hitting them or not.
If you want to get a hit judgment for multiple enemies that you don't know when they will come out,
you have to put that target on the list and see if it's hitting them or not.
First of all, you make a suitable object and create a list that manages enemies.
List...
Enemy...
And here's the point...
It's called "static".
"Static"...
What does "static" mean?
Well, it's quite a difficult concept,
but something that doesn't have "static" has a value for the object itself.
So, for example, for each enemy...
This enemy moves at a speed of 10, this enemy moves at a speed of 20...
The settings can be set for each enemy.
But what Static has is a data string on the main body of the enemy.
Ah, one-hit management.
That's right, it's managed in one hit.
I see.
So, if you change one, will everything be the same?
Everything will be the same.
Everything will change.
For example, if you add Static and change the enemy's speed from 10 to 100, all enemies on the list will be 100.
When you make a list, you can define it like this with "new list".
It's very early, but what is a list?
A list is an array of enemies.
An array of enemies.
So, an enemy has a hook and everything is connected like this.
This structure is a list.
Next, about how to add enemies and remove enemies from a list.
Here are the functions you need for this, "awake" and "ondestroy".
"Awake" is basically the same as "start", but it's executed much faster than "start".
"Awake" is when an object is placed on a screen and it's executed at the moment it's created.
At the moment of "awake", you put yourself on the list.
"Add" and "this".
What does "ondestroy" mean?
Is it "last"?
"Last".
I was wrong.
Ah, "disappear"?
"Disappear", that's right.
"Disappear" is when you disappear.
Ah, I see.
For example, when you collide with an enemy and disappear.
Or when you go to the top of the screen and disappear.
So what you do there is, of course, remove yourself from the enemy list.
By doing this, the more enemies you bring out, the more you go into the list, and the fewer enemies you bring out, the more you go out of the list.
By the way, not only enemies, floors and such. If there is a block like this, a wall like this, and a ground like this,
this and this and this are all on the list, and it depends on whether the player hit it or not.
Do you remember this as a set?
That's right. You can remember this area like an assignment.
This is a common way of using it when taking a hit judgment of the enemy list, so remember it well!
At the same time, we create a hit judgment function called by the player.
It's called by the player, so it's public. Whether you hit it or not, whether you can say yes or not.
There was such a variable, wasn't there? A variable that says yes or not.
True or false.
Yes, what was the type of variable that says true or false?
Type?
What type?
Oh, it's like a sudden change, isn't it?
It's like a sudden change, isn't it?
Something like that, isn't it?
It's not like that.
Something like that.
Variables that correspond to "type" are "int", "float", and "string".
"Bool"!
It's "bool".
Wow!
Great!
Great! It came out!
b-o-o-l
bool
It's "bool"!
"bool" that came out in the first "if" part.
Oh, you were doing it quite early.
Yes, it's "bool" that comes in the "if" part.
By the way, the "get" key I often use is also "bool".
It's "bool" type "get" key.
Oh, it's "bool" type "get" key.
I'll give you "bool" type "get" key back.
Let's go for "is hit" as a hit or miss judgment.
And the important thing is here.
In this brackets.
My voice turned upside down.
I was worried about you.
You were cheating.
In the brackets,
you have to think about what and what hits.
The hit judgment changes depending on the shape of the bracket.
This time, we will take it with the center of the rice ball and the outer circumference of the enemy circle.
In other words, you need the center of the circle and the bracket.
The center of the circle can be taken by position.
It can be "two" or "three".
The position of the transform is "three", so you can take it with "three".
However, since it is a two-dimensional game now, you can only use "x" and "y" information, so you can use "two".
If you want to make it easier when you call, you can use "three".
But if you want to make it meaningful, you can use "two".
So the difference between "two" and "three" is dimension, right?
That's right.
"x" and "y", and "two" is "two x", and "three" is "x" and "y" and "z".
I understand whether you have "z" or not.
In the same way, we decide the criteria for judgment of the enemy side, but...
For example, now it is a circle from the center point, but if there is a floor and a circle is on top of it, the parameter will change a little again.
Depending on the shape of the enemy, the parameters will be completely different.
So even if it's different, is it okay for it to be "float"?
If it's different, the number of members will change more and more.
I think it will be difficult if you don't take one more step in that area.
Then let's stop.
You said it.
This time it's radius.
Once you have a program that you can use as a criterion,
we will talk about how to deal with it when a hit criterion occurs.
If you write it in a program, it will look like this.
If the magnitude is smaller than the radius,
is it correct?
Isn't it correct?
If the magnitude is smaller than the radius...
Magnitude means the length of the vector.
In short, the distance between the dots of the line.
Ah, then it's correct.
It's correct.
It's a lot.
In short, this program measures the distance between the center of the rice ball and the center of the enemy.
If the distance is smaller than the radius of the circle, it is correct.
If it is larger than the radius, it is not correct.
Well, well.
Now that we have a hit criterion program here,
I will call you on the player side.
You will call each enemy in the enemy list in the name of "e".
If you hit it here, it will hit the log and display it.
If you hit it, it will appear as "hit" in this log.
It won't appear on the screen.
We haven't made it that far yet.
Yes, here.
If it appears there, it means that it was hit properly.
That's right.
And in fact, there are still parts that are not enough.
There are parts that we haven't done yet.
Well, I think you can understand it somehow, but you don't have a transform here, do you?
You don't have a transform here, do you?
And the radius "r", if you get it like "÷2" of this circle's scale, you can get the radius, by the way.
Yes.
Well, let's do it.
Yes.
Oh, it's a hint.
There is a hint when you get it.
That is...
Everything is white and heavy.
Just now, when Hayashi was talking in the opening, I thought "Ah, I'm out of breath", and I was soberly praying by myself.
I'm out of breath.
Get the radius "r" from "÷2". Let's check if you can program it properly.
A hint.
Oh, it's true.
A hint.
Oh, it's a hint.
You get a hint when you get it.
It's true.
And there is only one of this on the list, so there is only one of it.
For example, even if there are many enemies like this, you can get the radius "r" like this.
Even if there are many enemies, you can get the radius "r" like this.
Poor Eren.
It's fine up to here.
Oh, it's fine up to here.
It's fine up to here.
The center and...
The center...
The center of the rice ball.
Oh, I see.
If it's a white area, it's barely safe.
That's right.
The center of the rice ball is probably here.
I see.
It's still safe.
I see.
This cross intersection, this point, just above the rice ball, this is the center of the rice ball, so it's still safe.
That's right.
That's why when I made the game last time, I wrote in my impression that my gorilla's hit rate hadn't changed.
That's right.
Well, that's about it for the hit rate.
Thank you for your hard work.
Thank you very much.
Thank you for watching!
Using their smart heads, the three of them have a lot of words in their brains.
Even if the time has come for us to process our guesses, it's okay, right?
I think it was difficult in terms of content, but I was taught to do it with concentration.
But I understood the meaning of it in my head.
I think it's a different problem whether we can actually do it or not.
Certainly.
I understood the structure.
If you can understand the structure, you can see what's already been put together like this.
You can read it. You can read people's actions.
I think that's big.
Mimiki already has an aura of knowing things.
Only Sougatsu...
I see.
That's right.
Well...
I have a lot of siblings, so I rub it in secret.
I rub it in such a way that I wish I could do it like him.
"Tokyo Basketball Club" is available on TVer and other platforms after the broadcast.
The program will continue for three years, four years and more.
Please click on the "Like" button of TVer.
The common point of "Shimokitazawa" and this programming is that we don't pretend not to see it.
At first glance, it was a fashionable atmosphere that you wouldn't think it was a curry shop.
When I went in, it smelled like a curry shop.
I didn't know until I went in.
I didn't know if I pretended not to see it.
But this time, I pretended not to see the programming and it was okay.
I didn't know for a long time, but when I looked at the contents, I thought I had discovered something new.
So I'm grateful to Mr. Kobayashi.
Next time "Sabukare's sacred place" Shopping at Shimokitazawa.
Wow, it's been a while since I came to Shimokitazawa.
Wow, there are a lot of things.
There is also a book.