AISubs v3.7
Thank you for coming again this week.
Thank you for having me.
Yes.
We have another guest this week, Ms. Nakanishi Aruno.
Thank you for having me.
And well,
this outfit.
Yes.
Since last week, I think you've been playing with indoor attraction facilities called "tondemi".
But this time,
the most eye-catching part of this facility is...
Please look back.
It's like a climbing spot.
Wow!
It's shining!
It's wide!
Have you done it before?
No!
No, we haven't.
Oh, Ms. Yumiki.
Yes.
Right here.
Have you been here before?
Yes, I have.
No way!
About three times.
That's easy.
But it's scary every time.
Well, let's try it once.
Yes.
Well, Ms. Kato, who has become a trampoline and taught us a lot,
Yes.
Please continue.
Thank you for having me.
Well, let's go!
Yes!
[Nogizaka46]
Good evening, I'm Satou Rika of Nogizaka46.
Recently, it's getting cooler and autumn is approaching.
Speaking of autumn, it's sports.
So, let's move our bodies!
So, this time as well, we're visiting an indoor athletic facility, Tondemi-san, to experience climbing.
The difficulty levels are divided, right?
Yes.
The one in the front is the most...
The one in the front is easier.
I see.
By the way, Satou-san, you were really good at trampolining,
but it seems that you're best at climbing.
What?!
I've never seen such a selfish person trampolining.
You're so selfish!
First of all, you climb up.
Since it's upside down, if you hold it up like this, you won't be able to use your strength.
So, you hold it in front of you and climb up one step at a time.
Wow, you're fast!
It's like a staircase!
Wow!
And if you touch this button, you'll reach the goal.
Wow!
And when you go down, hold this red rope with both hands and fall backwards.
Wow!
No, I'm scared of this!
I've seen this a lot!
I'm scared of this!
I hope you can go down while lightly kicking the wall.
All right.
Then, Yumiki-san, you're the top batter.
My eyes are open.
I'm counting on you.
Look at me straight in the eye.
I'll do my best.
First, Yumiki, an experienced batter.
I don't think I can do it.
You can do it.
I can do it.
What?
You were talking quietly.
An experienced batter is different.
Why are you looking this way?
Are you scared?
It might be easy.
What?
Isn't it hard to do backhand?
Not at all.
It's easy.
An experienced batter is good.
It's good.
One step at a time.
I'm sure of it.
I'm scared of this.
I'm scared of going down.
It's red, isn't it?
Yes, I'm holding red in my hands.
Is red here?
It's a little higher.
I'm going.
I'm scared.
I can't do it.
What are you doing?
It's very easy, but I'm not good at going down.
I'm afraid of heights, so I'm afraid of going down.
You're afraid of falling down.
Next up is Aruno-chan's challenge.
You're going to go like this, aren't you?
I'm going to go.
Can you do it?
It's like, "Do your best," but it's like a battle of hands and feet.
I'm not good with my hands and feet.
I'm a little scared.
Are you okay with high places?
I'm okay with high places, but...
It's higher than I thought.
Where's the high place?
You can hold it with both hands where you have it now.
Wow!
It's like a South American bird.
When I looked down, it was pretty high.
Yeah, it was scary.
It's going down pretty smoothly now.
Yeah, you're right.
I get hungry pretty fast, so...
Wow!
Lastly, Ayati-san's challenge.
I'm used to going up, so I'm trying to go up.
I'm trying to go up.
Are you going to jump twice?
Wow!
Can you do it?
You can do it, can't you?
Wow, you're jumping twice.
I can't do that.
You're sweating a lot.
Here we go!
You're fast!
One, two...
You're good!
Wow!
You're good!
It's fun to get off!
You're kidding, right?
Ayati-san, you have great athletic nerves!
I've done a lot of things in the back of that area.
But I've never done anything in this area.
On the contrary?
Yes.
Then, shall we go over there?
No, no, no, no, no, it's pretty hard.
So, to the attraction that Yumiki is afraid of...
Isn't there a rope or something like that?
What is it?
It's called "Stairway to Heaven".
"Heaven", you say.
To put it simply, it's like stairs.
You have to walk up to the top of the stairs.
And you have to hold this rope like you did before...
And you have to go down towards the center of the stairs.
Oh!
Wow!
Like that.
Yes.
Wow!
You're kidding!
What if you fall in the middle of it?
That's right.
So you have to be careful of your balance as you go up.
And basically, even if you're about to fall...
You have to fall towards the center of the stairs.
Let's start with Ayati-san.
Huh?
One step might be too much.
Wow!
Huh?
But it's actually really crispy.
Wow!
Huh?
What happens if you use it?
Huh?
I got my shoelace off!
Oh no!
Turn around!
It's over there.
I got my shoelace off!
Here we go!
Wow!
Is it high?
Huh?
Wow!
It's amazing!
It's seriously amazing!
Wow, Ayati-chan!
You can do it!
Huh?
When did you get your shoelace off?
Wow! It's too loose!
Wow!
I can do it!
Hold the blue part with both hands and go towards the middle.
Here? Can I jump down?
One, two...
Be careful of your back.
Wow! It's fun!
Wow! You can do it!
But it looks fun.
Maybe you should be careful of this part.
I'll try my best to go as far as I can.
You can do it!
Why was I climbing so smoothly?
You can do it!
But I'm in 6th place.
I think I'll start shaking after that.
You'll start shaking?
I might feel it.
Do you feel it?
Oh!
I might be in trouble.
Can you do it?
Wait!
You can do it!
But I want to go as far as I can.
Wait!
I'm shaking a lot.
Ah!
Be careful!
My shoelaces...
Did you take it off?
Why do you all have shoelaces?
I don't have shoelaces!
I don't know!
No way!
My shoes are slippery.
I did it! I did it!
Wow!
Ah! I'm going down!
I'm going down!
Go down towards the middle.
Eh? Where?
Towards the center.
Towards the center?
Eh? I'm scared!
Here I go!
Ah!
Stop! Wait for me!
Watch out!
Wow!
I feel like I'm facing a river.
I don't know!
I feel like I've leveled up.
I feel like I've leveled up as a human being.
You can do it!
But...
I feel like I'm going up quite a bit.
Can you do it?
You should stop at the top.
Until that part is the limit?
Yes, until halfway.
Then, halfway...
I'll try it.
Can you do it? Then, I'll do it halfway.
Yumiki, do your best not to overdo it.
I'll do it.
She's fast.
But I feel like I can do it if I look up.
Do your best.
Be careful of this area.
Because if you look up...
If you look up here, it's the first floor.
They're looking at each other.
Wait! Wait!
It's the first floor, isn't it?
It's funny that you're always looking for the first floor.
Wait! Wait!
You'll shake if you laugh.
You'll shake if you play.
I'll shake.
Scary!
Scary! Scary! Scary!
Wait! Please stop here!
You did your best.
Scary! Scary! Scary!
Do you want me to get off in the middle?
Hold the rope in your left hand and get off in the middle.
Yes, I'll do it.
Please bring the rope back.
You did it!
I could have done it if I had thought of it as my last attempt,
but I didn't feel secure like I was about to collapse at the very end,
so I was really scared.
Because it was your last attempt.
But I thought to myself, "Oh, I can do it like this,"
and it might have led me to confidence.
You became stronger and came back.
Yes, I was happy. Thank you very much.
Do you feel like you've climbed up the human stage?
I've climbed up a lot.
I think you've climbed up about two stages.
Now, after climbing up the human stage, let's improve our programming skills.
Last time, we played the shooting game "Star Soldier" for the three of us.
I'm tired! I'm tired! I'm tired!
Okay, okay, okay...
And in order to learn the programming hidden in this game,
let's start making a shooting game!
Oh, down is this way... Huh? Does x move? No, x doesn't move.
Does vertical move?
Vertical is... It's the same number as up now, but...
Oh, so it's negative?
That's right.
Wow!
You understand it so quickly!
It's good, it's good.
How much time did we spend on this?!
Last time, the creator and others' programming was complete.
This time, we'll continue and complete the game.
Next, the player will shoot the bullet.
We'll open up the player's programming again.
And then, we want the player to have the blue bullet we used earlier.
So, in the same way...
Fabric...
And we'll use the game object.
Okay.
Bullet... Bullet...
Next is inside the upload.
Below these four buttons, there is a button to shoot a bullet.
What would you like?
Enter.
You can also use a mouse click.
If (input.onmouse)
This is the same.
In the case of keys, you can use the get key.
In the case of a mouse, you can use the get mouse button down.
Get mouse button.
Wow.
Cool.
By the way, in the case of keys,
not with the get key, but with the get key down.
Get key down?
If you leave the get key pressed, you will be called all the time.
The get key down is executed only once at the moment you press it.
In the case of a mouse, you need a bracket behind the get button down.
In that bracket, enter zero.
Zero.
Zero is this one.
Left click.
Oh, it's left.
And one is this one.
Wow.
In fact, the number is written. Zero, one. And the wheel is certainly two.
Up and down?
Oh, it's not up and down.
It's not pressing the wheel.
Wow, it's funny.
In the case of a mouse, a button number is determined in advance.
You need to program the number that comes with it.
In the case of not a mouse, you can do it again with a key code.
That's right.
In the case of not a mouse, you can do it with a get key down and also with a key code dot, space or whatever you like.
Everyone seems to be able to operate in a different way.
That's right.
It's a little funny.
Now we are ready.
Next, we will make it possible to shoot bullets.
Now we are going to replicate the bullets.
This is a bullet I drew earlier.
It is holding something that is in the unity asset.
It is holding this blue thing called "prefab" that is in the unity asset.
We are going to copy this.
We are going to write a program that will bring it to the player's hand.
What we are going to do now is...
When you press the fire button you just pressed,
the materialized bullets will be sent to the player.
gameobject=
"equal"?
This is the point. "instantiate".
"Instantiate"!
I did it when I first met Kobayashi-san.
Oh, that time.
It says "first Kobayashi-san".
It also says "Kobayashi-san" for me.
"Instantiate" is a program that generates gameobjects.
It is often used in shooting games like this one, or in games with a lot of enemies like we did before.
So let's remember it.
Let's try it out in this state.
Yes.
Let's try it.
What?
Even Yoshida isn't moving anymore.
No, I'm increasing here.
I'm increasing in hierarchy.
Oh, that's fine.
It's not coming out of me.
Why?
But the bullets are...
The bullets only come out of the middle, right?
That's right.
They don't come out of the middle.
That's the kind of program it is.
That's right.
So you're the kind of person who makes you move with your body.
That's right.
So far, when you press a button, bullets start coming out.
Next, we'll make it so that it comes out of the player.
Object's...
Transform.
's position.
Object's...
This 'object' means the replicated one, right?
Yes.
The replicated one's 'transform'.
You can't keep this one in advance.
Because it's replicated.
So, this 'transform', dot 'transform' is a heavy way of doing it.
You have no choice but to use it.
'Recall'?
What should come here?
Yes! 'New Vector 3'!
No, no, no, no!
What were you doing just now?
I want you to follow me now.
'Player Position'?
That's almost correct.
In other words, this 'character's 'transform', this 'tf' position...
'Game Position'!
That's right, that's right.
This means...
By bringing the replicated 'ball' coordinates to the same place as the 'player',
it will look like 'ball' is coming out of the 'player'.
Wow, you did it!
Amazing!
It's true!
It's coming out of the 'character', right?
Yes.
If you leave it like this, the 'ball' will be replicated infinitely...
Yes.
...and there will be no 'memory' left.
So, I'd like to add a process in which the 'ball' will automatically disappear.
Yes.
If...
'transform' position...
exceeds 540...
Yes.
'gameobject.destroy'.
Wow, it's disappearing!
Ah, it's disappearing.
If it's not created infinitely...
Wow, it disappeared!
Yes, yes.
Alright, alright, alright.
Amazing!
Alright, alright, alright.
The 'ball' programming is now complete!
After this, the game is finally complete!
Furthermore, we have news from the program!
Programming of the original shooting game.
Next up is programming of the enemies, but...
In fact, we have prepared something for you.
What?
So...
What is it?
You can arrange it however you like.
I think you'll like the folder "enemies".
Enemies...
I see.
We have prepared a lot of enemies for you.
Wow, amazing!
We have prepared a lot of enemies for you.
Wow, amazing!
It's true!
This gorilla!
Gorilla...
What!?
It's him!
As an enemy...
Wow!
If you put this material in this hierarchy, enemies will appear as enemies.
And...
Here is the point.
In this script called "enemy", it says "spawn time" and it says "zero" here.
This means that it will appear after "zero" seconds after the game starts.
It appears right away.
That's right.
So, if you put "zero" here and start the game...
It will appear after "zero" seconds.
There are other patterns besides "spawn time".
There are "known", "straight", "zigzag", and "curve".
That's right!
"Known" doesn't move.
And "straight" moves straight down.
And "curve" moves like this.
There are four patterns like that.
In this state, put as many enemies as you like.
And let's start the game.
Okay!
If we set the enemy's falling speed to -50, it will be this late.
This late...
Oh, no!
You can put anything but meteorites.
For example, gorillas.
Oh, there it is!
Gorilla...
While changing these values, place enemies in any position you like.
Even if you hit an enemy with a bullet, it won't disappear, right?
Even if you hit it?
If you hit it with a bullet, you can defeat it.
I can't defeat it...
You can't defeat it?
Oh, I see.
You haven't processed hitting it with a bullet.
Oh, you haven't.
Nice, nice!
What is this?
You haven't.
Um...
Let me make one.
At this rate, even if the bullet hits the enemy, the enemy will not defeat it, so pause the programming.
Enemy equals enemy dot get hit.
I made this myself. The function of get hit.
I made it in enemy.
This is the function of getting hit enemy and passing it is my coordinate.
In other words, "tef dot position".
I have to say "defeat enemy if hit".
If you can get enemy, "e dot bomb".
If I can get hit like this, I should be able to defeat the enemy.
If you actually try it...
I'm dead!
I'm dead! I'm dead!
Oh, I did it! Great!
Yeah!
Ah, ah, ah, ah...
I'm just bad at this.
Ah, ah, ah...
Oh, no, I made a mistake.
With this, programming to defeat the enemy is complete.
Finally, if you write "defeat all enemies and you clear!"
I have to defeat it. I have to defeat it.
Oh, wait, wait, wait, you can't defeat it normally.
You can't defeat it normally.
Oh!
I did it!
Yoshida's is difficult.
Oh!
I did it!
Oh, no, no, no...
Oh, no!
You have to hit it hard.
Yes, yes, yes...
Oh, no!
Oh, it worked!
Now, the original shooting game is complete!
I didn't think I could do it.
Well, after graduating from Nogizaka46, I started making games and drinking.
It looks like you're going to make a crazy game.
That's right.
By the way, how was the lecture by Mr. Kobayashi after a long time?
No, I feel like I've grown up a lot.
I've grown up a lot.
What should I say? What should I say?
How was it?
I lost.
In the end, I stepped back and lost.
Thank you very much!
Please click on the "Like" button on TVer.
Yes, we changed the game we made today a little bit.
We'd like to distribute it for free, so please play it!
Please enjoy it!
Next time...
Renka Iwamoto is our guest!
Yes, it's our first anniversary!
Since it's the autumn of appetite, let's go get apples from Setagaya Ward.
She called me "hey"!