AISubs v3.7
Thank you for having me again this week.
Thank you for having me.
I ate something spicy last time, so I think I'm starting to want to eat something sweet.
That's true.
This time, I'm going to eat a dessert made by a creator who has a particular obsession, so I'd like to go there.
You're risking your life for one thing.
Yes, I'm a professional.
By the way, what do you think it is?
It's a dessert, isn't it?
Chocolate?
Bean daifuku.
- Bean daifuku? - Daifuku?
- She's really into red bean paste. - I think I know what it is.
What about you, Kanago?
It's like...
It's like Dennis's.
It's like a cookie dough sandwich.
Let's see if there's an answer to this question.
- Okay. - Okay.
- Is there? - I wonder.
I think there is.
- I think there is. - It's like a cookie dough sandwich.
- Yeah.
She's really into it.
- Warabi mochi. - My grandma makes warabi mochi at home.
- Wow. - She's putting her life on it.
- She looks like she's tired.
- She's been sleeping since morning. - Today's shop is here.
- What? - Today's shop is here.
- Oh, cheese? - It's here!
- Cheese? - No, it's not.
- What? - It says "cheese".
- It says "cheese" a lot. - It says "cheese" a lot.
- Maybe it's that one.
- Maybe it is. - Yeah.
If you say "cheese", it's...
If you say "cheese", it's... #23
Making an escape game from scratch, part 3.
- This one? - Yes.
- Second floor. - Second floor!
- Look, it's a mirror! - Oh, you're right!
- Second floor...
- Eh, is it here?
- I'm opening it. - Wow, amazing!
- Eh, amazing! - Eh, amazing!
- Excuse me. - Excuse me.
- Hello! - Hello!
- Nice to meet you. - Nice to meet you.
- Everyone... - Wow!
- You're so well-prepared! - You're so well-prepared!
- That's amazing!
- This is a new product. - Wow!
- This is a cheesecake specialty store. - Cheesecake!
- We sell up to 97 cheeses. - Wow!
- That's why... - Cute!
- You don't mess up, do you? - I mess up a lot.
- I mess up every time. - That's true!
- This is "a-works", where you can enjoy sweets made by a cheese professional.
- It's said that sweets made with particular cheese are exquisite!
- What should I do? I'm curious!
- I'll have a pudding. - Yes, a pudding.
- What about you? - Then, I'll have a cake.
- Eh, which one should we choose? - Which one should we choose?
- Eh, which one should we choose?
- Which one do you like better?
- I like pudding better.
- Then, I'll have a pudding.
- Which one do you like better? - Which one do you like better?
- Cute! - Cute!
- It's my first time having a pudding. - It's my first time having a pudding.
- Now that they've chosen the sweets they're curious about, it's time for them to eat them for real!
- Then, Ms. Kanagawa, as usual... - Me?
- Yes, please. - Is it okay?
Let's enjoy the cheese.
Thank you for the meal.
Then I'll eat it.
The pudding is pretty hard.
Really?
Thank you for the meal.
I didn't think so.
It's very smooth.
It doesn't have much cow-like cheese.
On the other hand, it's refreshing.
It's cheese that goes well with sweet things.
I felt like I was being researched.
Did you select the cheese to go with the pudding?
Yes, I did.
- I see. - I only use egg yolk.
I see.
That's why.
The pudding is pretty rich.
It goes well with you.
I think so, too.
Thank you for the meal.
I've never had a simple pudding with eggs.
It's so good that I don't know if it has cheese in it.
It's good.
Yan chose a cake with Danish cream cheese.
With such a cute dog's face, it's a waste not to eat it.
Thank you for the meal.
It's good.
Is it lemon?
It's a little sour because of the lemon.
- It's refreshing. - It is.
It's like cheesecake.
The cheesecake part is very smooth and easy to eat.
Summer is over and I think it will be autumn.
Is there anything you want to try this autumn?
- Gramping. - Gramping.
How about you?
I'm in my third year and I always say I want to do BBQ or gramping.
But I don't have a schedule and I can't go.
I don't mind if it's not autumn, but I want to go.
- Gramping. - How about you, Yan?
The temperature is just right and I want to go outside.
Walking is good and I want to go somewhere in the twilight.
- But I think you're going out with your mom. - Why?
I heard you went to the theme park with your mom.
It's like you're going out with your family.
You're a cute one-sided person.
What do you want to do in autumn?
- Parental high school. - Parental high school.
I want to go to parental high school in autumn.
On TV, they say it's parental high school.
But I've never been to a parental high school as an object.
If you give it as a fee, your mom will get angry.
She'll say, "Use it for yourself."
I want to show you that I've become a human being who can give you objects.
- Give it as a fee? - That's right.
- You've been to Hoshino Resort, haven't you? - Yes, I have.
- Would you like me to take you there? - Oh, I'd love to.
Would you like me to take you to Hoshino Resort?
- Three people first. - Three people?
- We're a family of nine, so... - Three people?
- Yes. - I see.
It'll cost a lot of money, so I'd like you to do it with three people.
Let's start programming today as well!
What are the three of you currently trying to do?
As much as we can, with the knowledge we've learned so far,
the three of us will try to make one game.
I see.
The programming is to pick up the key and open the door and escape
as a summary of what we've done so far,
and to make a simple escape game from scratch.
Last time...
If you don't get the key,
you can't open the door.
If you don't have the conditions in place, you want to make sure the door doesn't open.
First of all, programming so that the door doesn't open with a flag.
It won't open like this, so press "force".
Next, incorporating the key image.
- From 3x4... - Change the size.
Is the key small?
If you click this,
I want you to write a program that makes the flag of the door stand up.
If you pick up the key...
By entering this program...
- "flag" equals "true", right? - That's right.
We've built a flag that makes the door open.
I don't know...
Oh, I know! Here we go!
Sometimes it's so difficult that you get stuck, but...
If you don't know what's going on, ask questions.
Click on the key and the door will open.
You cleared it!
So far, we've completed programming up to number six.
This time, we're going to learn the other two and play until the game is complete.
Let's start with number seven.
Last time, when you clicked on the key, it didn't disappear, did it?
No, it didn't.
That's weird, isn't it?
It's weird.
You clicked on the key and the door opened, but...
In terms of image, it's like you're opening it with a key.
That's right.
Let's erase the key.
Yes, we'll erase it.
But you didn't tell me about it, so...
Let me tell you about it.
Yes.
There's a key in Unity.
On the top right of the inspector, there's a checkbox here.
There is.
If you turn this off, the key won't...
Oh, it's gone.
Oh, you're right.
You can do it on your own screen.
If you turn this on and off, your phone will be grayed out in this roomy area.
Oh, you're right.
So you can handle it like you're not deleting it, but you're trying to get rid of it.
If you turn this checkbox on and off in the program,
you can see that we're using a flag called "gameobject.setactive".
A flag called "horse".
We always use a flag called "horse", but this time we're using a function called "horse".
This doesn't delete images and runs various processes, so it's a function now.
So you can memorize it now. "setactive".
If you activate "gameobject" and "setactive", you can do functions like "checkbooks" in-game.
So "gameobject". "setactive()" means that if you do it, it will disappear, right?
That's right.
On the contrary, if you set "true" to show what was displayed, it will disappear.
Oh, I see.
This is really flagged.
"gameobject". "setactive()" means that if you do it, it will be displayed, right?
That's right.
If you want to erase the key, you can do it by removing the "key checkbox" in "unity show" from "inspector".
You can enter it like this in the program.
As Nao-chan said, it's good to remember it as an official one.
And...
Finally, when you open the door, should you type "escape success"?
You've done it before, haven't you?
Yes, we have.
So if you can do it, I'd like you to do it by yourself without me telling you anything.
Has the escape game been completed yet?
Can they type with only their own strength?
Wow!
The show's original goods are in high demand!
I, Matsumaru, recommend a black T-shirt with a bigger logo!
Please check it out!
The escape game from scratch is almost complete!
Will they be able to display the word "escape success" with only their own strength at the end?
Should I type it in the "key" direction?
How is it?
Oh, I see.
Don't you have to call out the text?
You have to call it out.
That's right.
Then...
Do you call it out again with "canvas" in "ui"?
Yes.
"canvas"...
With "text"...
If you call it out in the middle of "default", it'll overlap with the door, so...
Then I'll...
I'll call it out around here...
Yan-chan is correct!
Next, we'll do programming of words.
Like this...
Miku-san's is a little disappointing.
Miku-san's is...
Miku-san's is really disappointing.
Huh?
Miku-san...
Didn't you make three variables for "ui"?
"image" variable...
"sprite" variable...
and "flag" text...
Don't you still need "text" variable?
Oh, it's not enough?
Then...
What variable do you need?
"text"?
Yes.
"public"...
Yes.
"public" is a place where you can prepare your score.
Basically, you can't use it unless you have it prepared.
I see. How can I memorize it?
"public" is a place where you can prepare your score.
If you don't have it prepared, you can't use the text.
"public" is a place where you can prepare your score.
Miyake-san, thank you for telling me about it even though you said you wouldn't say it.
Once you input the text program, all you have to do is go back to Unity and set it up.
This door...
I think you can put it in here.
Yusha-san, that's good.
And finally...
Hm? Is it done?
Yes, it's done.
Play it again and check it out.
Oh, it's done!
Is it done?
It's done!
Oh, it's out!
It won't open...
So you have to put in the key...
Put it in...
And when you open it, it's out.
It's out.
With this, the escape game is complete, but...
I want to make it a little more like a game, so...
If you press the switch...
You can also try programming where keys appear!
I taught you how to make keys visible and invisible, so if you use this and press the switch, the key will open.
If you press the key, you have the conditions for opening the door. If you click on the door, you escape successfully. It's like a game.
So first, let's display the switch in the canvas.
Is it a switch?
Switch.
Image?
Yes, image.
Yes, image. First of all...
Place the image in the canvas.
This time, I have to write a program for the switch as well, so I may need to create a switch class.
The door and keys I touched are written there, but I haven't written where I touched the switch.
Oh, that's true. So you have to make a new one.
That's right.
Create a new switch script from assets. And...
You have to prepare one switch variable, right?
Yes.
What class do you want to change?
Keys.
Yes, yes, yes.
Then, public...
Use public to prepare a key variable. Next...
Can you use "push"?
No, "press" is better.
"Press"?
"Press".
Enter a program called "press" switch.
And from now on...
Using the formula we learned today...
When you press the switch, a key will come out. We will do programming like this.
Do you three remember it?
When you press this switch...
A key comes out.
Ah... How do you do it?
Don't you have to make a plug?
No, you don't have to.
You don't have to?
You don't have to.
How do you turn it off?
GameObject.SetActive. False.
What do you want to operate on the switch side?
I want to get a key.
To get a key...
KeyGameObject.SetActive. True?
That's right.
Set the key GameObject.SetActive. True.
Should I write it on the switch?
That's right.
GameObject.SetActive. True.
That's good.
Did you remember?
To display an image, you can use this formula.
Next, set up Unity.
First, set up a key for the switch.
Next, prepare a button.
A button...
When you click it, you have to prepare this button.
I have to prepare a button.
That's right.
When you press the switch, will you get the key?
Let's try it!
I got it!
I'm so happy!
Let me try it.
It came out.
I got it.
I got it!
I'm in trouble.
You got it.
I did it!
I'm so happy.
It's a repetition of the escape game.
You've played the escape game for three weeks.
Can we ask you for your impressions one by one?
Let's start with Kanada.
It was very difficult, but I think it was the most difficult this time.
But I was very happy that I was able to complete it properly at the end, so I will do my best from now on.
Until now, it was finished with one programming, but this time I made three or four of them and connected them to make one game.
I think it's difficult if you don't organize it in your head.
Finally, Yumiki.
Can you give me a word of appreciation for the three weeks?
It's difficult!
Three weeks!
It's in the key, but it's a basic part of the game.
Oh, that's right.
"Tokyo Pasokon Club" is now broadcasting on TVer and other platforms.
The program will continue for a long time.
Please click the "Like" button on TVer.
Please subscribe!
Now, let's review the program.
First, learn how to deactivate the program.
When the door opened, I programmed it so that words would come out.
In addition, when I pressed the switch, I also challenged programming with keys coming out.
Come out, turn around...
Oh, I did it!
Finally, Yumiki-san...
Can you give us a word of advice for the next three weeks?
It's difficult!
Three weeks...
Hmm... Three weeks?
This time we did it ourselves.
You can teach each other.
By teaching yourself, you can organize your mind.
If you say what you've noticed out loud, you can organize your mind.
I felt like I peeked into human brains.
I was happy. Thank you very much!
Thank you for watching!
What did you do?