AISubs v3.5
- Wow! - Wow!
- Wow, amazing! - Wow!
There are so many of them.
Last time, the three of them started studying the game engine "unity".
- Which one? - This one!
- Oh, in 2D! - In 2D! In 2D!
- Yes! - That's right.
- Oh, it fell! - Oh, it fell!
- It fell! - Yes.
As difficult words come out,
the three of them, who must be tired, prepare a light meal and take a break.
- Thank you. - Wow!
- Thank you. - Wow, I've never seen it before.
- Thank you. - Thank you.
Which one is which?
- I'm looking forward to it. - There are a lot of flavors.
It's all powder.
- But I'm hungry. - I don't know what's what.
Red!
I don't know either.
- This is definitely ketchup. - This is ketchup.
What did we order?
- Um, takoyaki and... - Consomme!
- There's consomme. - Takoyaki.
- Um, honey butter. - Honey butter.
- This smells sweet. - Oh, then honey butter.
- What's this? - Takoyaki?
- Oh, it's sauce! - Takoyaki!
- Wow! - This is probably takoyaki.
Huh? Is this consomme?
- I don't know. - It's difficult.
- Let's eat it. - Do you want to try it?
Wow! The shape is...
It's a different shape.
And it's twisted.
- There's cheese and barbecue. - Twisted.
- Is there anything else? - Let's try the ketchup first.
- Can we eat it now? - Thank you for the food!
- This is probably compote. - Oh, is that right?
Huh? Is it compote?
Tasty!
What? Isn't it?
Ketchup and potatoes go well with a blanket and a pillow.
They go well with a blanket and a pillow.
Spicy or not?
Thank you for it.
Is it okay?
What is it?
Spicy!
It was spicy when I ate it here.
But...
It's a tingling spiciness.
But potatoes are sweet and salty.
It's soft and very tasty.
It's like a food report.
It's a spiciness you can't eat.
Really?
Is it that bad?
It's spicy, but not too much.
It smells like honey butter.
It's so far away.
Let's mix it up.
What will you do?
Thank you for it.
Tasty!
Do you like it?
Yes.
It's good.
Honey butter is good.
Now that they are full...
I'll program it.
What?
Is it spicy?
It's spicy.
I want to eat something spicy.
Honey butter.
It's so good.
It's sweet.
It's spicy.
It's spicy, isn't it?
Honey butter is good.
Now, now...
I'll program it after I'm done with potatoes.
But before that...
The T-shirt you're wearing will be released soon.
Yes! Last time, when our budget was in trouble,
we asked the three of them to come up with a T-shirt that can be used as a costume.
Welcome!
Thank you!
I'm happy!
Thank you very much.
Wow!
Here I go.
Ta-dah!
Here you go!
Wow!
It's so cute!
Rabbit!
Wow!
What do you recommend for each of them?
Oh, this one!
Tokyo Tower and Tokyo's skyscraper.
And then, Rainbow Bridge.
That's what I recommend.
For the seventh time, the show's original T-shirt is finally complete!
The design is based on what Kanagawa came up with!
Wow, you're so stylish, Yan-chan!
Stylish!
Now, let's have the three guests appear!
[Applause]
Ta-dah!
What do you think?
Hmm...
[Laughter]
But it's pretty easy to match with your clothes.
That's true.
If you were to improve it...
Improve it?
But there's nothing to improve.
Like the size?
I'd like to make it V-neck.
Oh...
I'll use it for a few patterns.
Really?
Oh, you like long sleeves?
You don't like long sleeves?
Why do you know?
Oh, me?
I don't like long sleeves.
I can wear it with a costume.
Oh...
Yay!
Tokyo Pasukon Club
Today, we will learn how to use Unity from indie game developer, Mr. Namata Kaeshi.
Last time, we learned how to display objects like circles and squares on the screen and add physical engines like gravity.
Think of this "one" as the force of gravity "one" now.
Okay.
So, everyone, try changing the values.
As you like.
And then, try playing it.
Oh...
I'm number seven.
You will also learn how to get a correct judgment for that object called a collider.
This time, we will continue to try actually entering the code.
Yes, then I think we will continue.
Yes.
A little bit.
First of all, I put a picture I made on your screen.
Yes, there are various things already.
I think I will incorporate this image a little now.
Everyone, please click on that block for a moment.
Yes.
The place to click is this block that says "heral key".
Game object.
Then I think there is a place that says "square" for this sprite.
Yes.
Everyone, please click on the block I prepared earlier, this image, and enter it here.
Oh, it's done.
Click.
That's right, yes.
I think the block has become a little smaller.
Oh, really?
This is a little in accordance with the size of this image.
It will be like that.
Replace just a square object with an illustration.
In the same way, replace a round object with Mr. Namata's illustration.
Then, if you look at the player and the block now, what will it be like?
The hit judgment and the size of the image are different, aren't they?
Doesn't the green line look a little bigger than the actual image size?
Yes, it does.
If you look at it like this, it's a little big for the appearance of this image.
It's good to replace the object, but since the range of the collider hasn't changed, it's getting bigger for the illustration.
The circle collider on the right.
It's really small, but if you click "..." and "reset", it starts with "r".
If you do that, it fits the player's image.
This is a very horizontal screen of the camera.
It says "free aspect" on the screen of the game.
Make it 16:9.
16:9.
Oh, it's fixed.
Most of the games and PC screens are 16:9, so you can adapt it to various monitors.
That's right! Most of the games in the world are made with this aspect ratio of 16:9.
Next, we'll add more blocks and make scaffolding!
We've already added various programs to these blocks.
To replicate them, we're going to make them like materials.
This is called "prehabification".
Prehabification is a mechanism to replicate a created object.
By prehabifying an object, including the added effects, you can replicate it more easily.
Please move the block to this "asset" area for now.
Press and hold the block and go to "assets".
Oh, it's here!
Yes, that's right.
Oh, it's here!
Yes, that's right.
Yes, the block turned blue.
I think you can see it now.
Yes.
With this, you can use the program itself as a material like a material or an image.
So, it means that you made a block that doesn't fall even if you hit it, right?
Yes, thank you very much.
Oh.
That's right.
So, please take this to the scene like this.
Yes.
Oh.
Yes, then like this...
Yes.
Oh, it's taken.
Yes, a lot.
That's right, like this.
With this, you will make a scaffold now.
Three people made a scaffold by arranging blocks that have been removed.
Next is finally...
Now, from here...
Yes.
I will actually write the program.
Oh.
Yes.
Next is finally...
The first program input in my life!
Then...
Oh, I think I'm going to say goodbye to these three people...
Yes.
Here is my request.
"Tokyo Pasokon Club" will be broadcast on TVer and other platforms after the broadcast.
The program will continue for a long time.
Please click on "favorite" and "subscribe" buttons of TVer.
Please subscribe!
Finally, for the first time in my life!
Enter the program and move the character!
The method of moving this time is already a method using a physical engine, but...
Everyone will access this "rigid body" in the player and change the speed in it.
Yes.
First, select the player...
"add component"...
If you scroll down with the mouse...
"new script"...
Can you see it?
Yes.
Please make sure it's in English.
Yes.
Let's name it "player" as it is.
"player"...
If you type "player"...
Below...
"play", "create", "and"...
Yes, that's it.
Yes.
And now...
We've created what we call "source code" for the program.
What "source code" is...
If you look at Miyake-san's screen from last time, you can see it.
There are a lot of words written on it.
Yes.
Well, it's that.
Yes.
And now...
The program preparation is complete!
It's finally time to get into it, but...
Yumiki-san, do you know?
Oh...
Yes!
Please be honest with me.
To be honest...
You're about two steps ahead of me.
It's a little difficult...
You're ahead of me.
Oh, that's right...
You're behind me.
Oh...
If you keep talking to someone like this, it'll end.
Everyone is like that in the beginning.
Do your best, Yumiki!
Well, first of all...
It may be a little different from Kanagawa-san's screen.
A little different script...
A little different program...
Is this it?
Yes, that's right.
First of all, click on the dot dot dot...
Dot dot dot...
Yes.
Reset...
Remove...
No...
This one!
Above it!
This one!
Yes, that's it!
And erase it a little...
From "n"...
Yes, that's right.
Yes.
Now, this "player" part...
I'm sorry.
Well, on the right...
Oh, wait a minute...
Wait a minute...
Oh, this is a little...
Something serious...
It may have happened.
Kanagawa-san's...
That...
"player" script is a little...
Script?
I'm sorry!
Yes, it's a little common for beginners, but if you change various things during playback, they will all be back to normal when you finish playing.
I see.
Yes, so it's better to see if it's playing properly and change it after you think it's not playing.
I see.
It's really common, and I've fallen many times, so there are a lot of things that make a lot of stages and disappear at once.
I see.
It's like a blog.
Yes, I wrote it in my notebook, but it all disappeared.
That's right.
This is a path that anyone who is a beginner can take. Don't lose, Kanagawa!
Let's get back on track and continue!
Now, everyone, please double-click where Yumiki- san is touching now.
Then, didn't it start up?
Eh? Eh? Different place? Is it correct? I was surprised!
It started up!
Double-click. Please press it again.
That's it.
Ah, it worked!
This is the screen where you type in the program code.
Now I'm going to type in the program to move the character.
There are three big steps to moving a character.
First...
Access the rigidbody and change the speed in it to move the character.
You have to prepare something like a storage box for the rigidbody program.
I'm going to write it now, so please copy and write it.
Yes.
From here...
Private...
Eh?
Ah...
Take your time.
Next...
R for capital letters.
It's like...
Yes.
"Rambon" is like...
I typed "R" but it became "Rambon".
Can you delete it for me?
Yes.
Can you delete it for me?
It's like...
It's random.
It has random functions.
Kimiki, it's not "Rambon" but "random".
Besides, it's not random to type it in.
Get it together!
At the end...
What?
It has like...
Like...
Like.
It's called "semicolon".
"Semicolon".
Yes.
"Semicolon".
Yes.
"Semicolon".
Yes, "semicolon".
Yes.
With this, I express the end of letters of a word program.
Wow.
Yes, "semicolon" is like Japanese sentences say "丸".
which means the end of that line of work.
So far, we've only created a container for entering programs.
And inside is a mysterious word called "start" and "update".
I'll explain "start" and "update".
Think of "start" as a place where you are called only once when you start a program.
If you write "start" and "update" in this container, you will be called only once when you run the game.
And for "update", have you ever heard of "60fps" in one second?
No, I haven't.
"fps" means how many times you call "process" in one second.
For "60fps", you are called "process" 60 times in one second.
And for "update"...
If you write "process" in here, you will be called "process" 60 times in one second, don't you think?
"fps" is the frequency of processing in one second.
In the case of "60fps", it means that "process" entered 60 times in one second will be done.
In other words, if you program "process" entering "right" in "update", "fps" will enter "right" in "60fps" in one second.
This is the first time you have touched a computer like this, isn't it?
Say it again.
This is the first time you have touched a computer like this, isn't it?
That's right. When I said "60fps" in one second, I thought I would drown, too.
If you enter the information of the character you want to move here...
Now you can access it in the box.
Oh, it's still empty.
No, I put it in there.
Oh!
Yes, it's still processing.
Yes, I'm just putting it in there.
After entering the program of the character you want to move...
Next is finally...
Programming that determines speed!
If you can do this, the character will move!
A little more!
It is called "digit body's velocity".
"velocity"?
What is "velocity"?
"velocity" is the speed of movement.
It's called "movement rate".
When you executed it in Unity, you moved down, didn't you?
Yes.
Think of it as moving downwards.
Now we have programmed it to move.
It looks delicious!
I'm glad!
The programming for the character to move is complete! Let's check it out on Unity!
How is it?
Ah! It fell!
Oh! It moved forward!
Is it moving to the right?
It's not moving to the right either!
It's rolling, it's rolling!
When we looked at the program earlier, it said "one", right?
Yes.
Think of "one" being added in the right direction.
Do we need to call it 60 times in one minute?
That's right.
If we don't call it, it will move forward once and get stuck.
If we don't call it as many times as possible, it won't move forward.
I understand!
So, in one second, it will move 60 steps forward?
That's right!
It's easier for you to understand than me.
That's amazing!
It's a turning point!
Even if it goes negative, will it go to the left?
Did you save it?
Ah, that's right!
Ah!
Did you save it?
Yes, I did.
This is also common for beginners.
You've been doing it all this time!
It's like a sample!
No, it's okay! It's okay!
As soon as the character starts moving, the time is up!
That's it for this time!
It may have been a little difficult, but if you remember this, you can make a simple game like Mario in the early days!
It's so difficult! I thought again!
After all, games are amazing! I thought!
It's really hard to move one player, but I think I want to do my best!
Yumiki-san, how was it this time?
Well...
Yumiki-san, how was it this time?
In the middle of it, I thought, "Ah, I think I'm going to say goodbye to the three of them."
There was really a lot of time left, but in about two minutes...
Somehow...
Noma Takashi-san, too...
How do I say it...
You pulled my hair and I also pulled yours and somehow managed to get here in time.
Why are you saying goodbye?
Um... it's "hee-oo".
"Hee-oo".
Hello?
Yes, I can hear you.
Those two may have found out.
I need a little countermeasure.
I'll come up with a better way, so leave it to me.
Who is the hindrance?
I think I can grasp the nature of that role in just a little while.
As expected...
You're excellent after all...
What about you, AI-san?
Thank you for watching and please like and subscribe!