All language subtitles for lesson143

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian Download
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

This video we're going to have a very simple enemy that constantly follows the player

To do that we'll need to learn about the navigation messages and how to mark objects as stat

Will add the necessary navmesh agents

Can you play Michael to make him follow us

The more dive into the animatorcontroller so he wants properly and will make him run after us when he's closer

After that will add a robotics search like that constantly scans the environment and also add a free volumetric

Defect from the Asset Store

Finally McRae a game over a vent if the robot catches us

Welcome the day 6 everybody had the script writing go

I'll get him to work I Ronin the next lesson but for now I'm going to talk about adding enemies

So I actually went back and forth

On this topic

Because honestly adding an enemy is a lot to do for your first game are you in a game you making 7-days

Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1

Remember both my games have no enemies at all and they work just fine getting into this world of artificial intelligence

It's a big deal and I don't want to overwhelm anybody

Also if I could have spent money on this project I probably would have just gotten something like Easy A

54 playmaker or sensor toolkit which gives you all the actions you know

Foreplay my girl but we're doing this for free and experimental and I found a really simple enemy

That we can do just using a few simple playmaker action

Animal add attention that I want to add that someone or something chasing the player through this

Opium world

So yeah let's get to

First off I'm going to show you a glitch

Probably note

Let's go to our first person

If you remember if you do ctrl alt f

You can reposition your character whenever you're looking in the same window

Show you the glittery now

I'm going to the tree I'm going to the tree

Spam go through

We do not have any colliders on arteries so we don't want to play at a walk through and we don't wanna enemies to work boots

So we need a capital letter let's do that

And remember you could like search for Redwood in your assets window and add it right here

If you click on open

I'm going to show you the way I do it when I have a prefab already in the world so we have Redwood to right there

Of course as you know it's separate from Artur and sister

So if you click off it will go right to

Genesis CD card demo object we used to get it ready for a train

Do we need the outer capsule clarisonic

Lie forward

And then

We have a select in the bottom and got to add component

And then type in caps

Collider

Right there and it's obviously too big

Play Otis

Got running two

I've been 20-ft away from it so it's got a radiator

How much move dragon drop go to the left

How much drag and go to the left to make it smaller

Something like

That's ok

Someone to get closer and remember you can change like the centre of where this Collider is

So just modify the x and z coordinates

Help see it still cannot

That's ok

Little bit more trinket a little more

And a let's move it down

Something like that I just took the van in the capsol

Naga play Walking by

As you can see it blocks Orleans players

So that was a weird thing that needed

I bought it

Ok that's actually looking really good

Does a cornice I have

Centre x

Is 00 0.1 18 now before we add this to our terrain we need to

Wake up

Trainers like looking

The update prefab with a capital letter

What's good to override right here and it's quick

Stop playing

Now I really quick on red woman

Ennis is a prefab what is like a template

It would have

So remember if you do anything different to an object in the train system when the click on terrain

Let's go to the section and click refresh

Every tree should have a capsule Collider now little

I'm going to run to the tree Alright lyrics

Not bad

Exactly what I want

Alright

Another important thing before we had enemies is we need to tell unity what is static or dynamic

And all that means is it does something move in the world

Does it just stay still

And I'm not talking about

Leaves moving and can a separate like physical objects with a Collider

And the fact is nothing really music set the player

So if you click on first person player you would see that static is unchecked and that's good it's dynamic we don't want

For instance our little terminal / ATM right here it is

And if we had an enemy it wouldn't know it's static because we don't say so so then we will just walk right through

So I'm just gonna go through this list and it will be different for you because you've had a different objects do the points of interest

Homework assignment you had but all you have to do is just if something just stays there like a rocker it's a building

You just need to make sure it's Mark this static and also remember the train doesn't move either

To make sure the train is Marcus today

Also if you want to speed things up remember you can hold on the control and just select all the stuff that you know

Doesn't move in the world and should be marked as static

Alright I selected the stuff that doesn't move a static home site of the game boundaries are invisible walls just

Make sure of this enemy doesn't want to go off the edge of the map

Everything I think

That is like a wall or building something just stays there it's Mark list at greater in the upper right

So I'm going to tell you guys about navmesh azure pathway

And this is basically a system that unity makes to tell like an artificial intelligence where they can

I cannot walk

And that's what we need we have we're going to have

Enemy player and he doesn't know if you can climb on top of a tree or not he doesn't know he can go up a mountain or not we need

The bake what we call a navmesh

And we got everything setup and I might take a little bit to bake this mesh but it shouldn't be too bad

So here let's let's go back to our player

Click on it

Then click ass

And we are going to find our navigation window so if you got a window

Go to AI and then click on navigation

And then we go we have the special window open and we don't have a good show like a blue thing

LEGO blue terrain hugging all the models but we don't have that

What's click on a train

Can I hear it's ok to navigation static ok gun good

Navigation areas walkable which you can lie

Tags on objects as unlockable

I want I want to send me to be able to pretty much so anyway the player can so it doesn't

Let's click on the bake menu

And in this window basically can tell like these artificial intelligence is like

Where they can go on like their limitations

Indoor Max slope 45 degree slope like I think

Does enemy there be a little more like nimbo more able to climb steep slopes like that

Instep high that's very nice climbing stairs to make that a little higher

Again I'm just messing around

You will have

Define turn an important part of making games obviously

So if we had bake it should create a navmesh after a cup of milk

Alright we got a light blue colour covering like the whole world in this is great this is just telling me

Where are the Artificial Intelligence azure these agents can actually walk

If you look closely you can say oh look at that there's like a little like gap between the trees and it's exactly what

We want our enemies not to walk through a tree but the go around

And if you would like to go over this mountain you can see this light blue going up the mountain which means it will be able to walk

So that's good then now

Does Harveys buildings in the background which I think

That's a waste licence

No no I'm going to be able to govern these background objects so might be something I turn off

Does the save on data and processing power did a pretty good job

At first try

Over here it will avoid our little terminal

This is where enemies can walk

And that's looking pretty

What is possible like if you already get see this doesn't

To anything right you as well to beat up

So few at the player was able to go on top of mountain enemy won't be able to follow

I'm ok with that

It will make them feel little more realise they like waiting for them if they're trying to hide from an enemy

It's looking pretty good

Now we have a navmesh

We need an enemy

And this is again this is something I did a little research on was just click on inspector that will disable a navmesh

As I was writing the story

I decided I wanted to take some inspiration from Half-Life 2

And I want to like this

Faceless otherworldly like robot civilisation the Cannibal

Like taking charge of Earth

Inhumans arcanna like a slave race now

So I mean care do you want to Xscape from this life

By escaping from the checkpoint to like access the outside work

Maybe where a loved one is waiting for them in this

Like in this refugee camp

Away from the control of these robot

So that's what I searched for I went to the Asset Store and I just search for humanoid robots pretty much

And I did find one that I really

So if you just go to search for assets and just type in human

I was just

Comes up

Well that's crazy I'm going to click on free apps

I'm actually a lot of stuff over

Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1

But I think

This is the one I want

The humanoid rig by sugar

Can I like this one because it has animations in a rig all set up it's just a really is just drag and drop

NTU now

And I want to be walking around looking for the player and then when it gets close enough I wanted to run towards

Let's click download and import him and then I'm going to need one more acid after that

Import

That's good I also want this kind of century BOB

I want him to be like Harveys flashlights shining out of his head

And I want to Splash at the be looking around just a creep the player I want to play the sea like this creature

Can a walking slowly towards him from across the way

Any night this little spotlight like a bigger jail spot like looking through the forest or the the

Just to add this sense of wildest the Skies out

So there is something I wanted I wanted to go for a volumetric light effect

There's a lot of ways to do this you could pay money to get aura to which again you could do like a biometrics

But we're doing it off 3 nights

We're not spending money

Cricfree.sc

And the one I found was this vielight volumetric

And it gets the job done it's pretty much like a simple 3D geometry with some transparent light textures and so it

It's well I think it's pretty performance optimised so it download

And I said m

Alright that importantly make sure there wasn't any

There's like

Little things saying are you shouldn't do that

That's that's wrong

It was still a game of still there and there's none of those red hairs in the car

Like the project app

Can mice go near a player and I'm just going to hit

How much are enemies

Guess what

Quick out of the search thing the search filter

Asset right here

And I'll where is our

Humanoid but there is humanoid back

Quick Avatar analyst dragon drop

I know I'm just messing with them that his little small someone's going to kill him

What about 1

I do want to be intimidating

And remember we need to change our tech

That's enough

Click here this is our his material right here that on the mat

Right now and set to like a mobile texture

I must go to retro 3D shape

And flatlet

I was going to go and get the shakes so let's take down the ginger intensity

And remember

I'm going to do everything

Click on the texture

Feltham

Point

56

Is a macaw

Pretty scary

I just want to unknown human I want to be walking towards the player in the party like who is that that doesn't look good I think I mean

In the next lesson will incorporate like this siren alarm

Saying like art someone's escape at the checkpoint we need to catch up

And then the enemies will slowly start

When I go to add enemies all at once I want to spawn them

As the player gets closer to the end of the

What's

On the game object of our robot we have an animator all set up

I think I actually don't need to create a runtime in American troller

The time when to walk and when to run

But we have all the animations ready to go which is nice

Omelette

Sent around the subject of nav messages with sat nav

So quick nav

Mash agent right there there we got this says this is an agent that

Follow the rules of a navmesh navigation match

We baked early

And remember you need to mess around with the stuff but basically this is where you say how fast it goes like how far

He can turn and his off

So like if he's walking up a slope for his work on the ground

Loading that's important

I found out these numbers earlier but remember it's ok to mess around and

To mess up and then fix it after

This is the offset for like how far will be

The ground

Is speed I'm going to be slow and again I think I might change the stuff later as I increase my playlist speed

I want to be fast enough to be scary but not too much that it's unfair difficulty comes in as well you're actually

Creating games

With these variables

How much change the

21.5

And I think

That's it

Like

We're going to use playmaker to like script him and tell him how faster running what is walking speed

This is his default value

Pre-match

Ok before you like nice little touches like that spotlight effect I was telling you about it sounds and I cannot lie

The ability to kill the player

Let's just make sure you can chase the

So let's go to add component

Unless

Type fsm for playmaker fsm

And let's Create some scripting we're going to program an enemy and we're going to make her first artificial

Just so you know this is really simple artificial

Not artificial intelligence evolved

A bunch of tricks to make it seem like it's chasing you

Now normally

Play micro cams

By the way

Do navmesh

Actions

But we don't have anything we have won under animator and so we need to lose a really important stuff

We need to download something called the ecosystem browser for playmaker

And this allows us to search through a huge library of playmaker actions

May by the developers playmaker also made by like friendly people who show their code on the internet

But this will give us access to Italian different things and I can tell you how many times

Eyebrows the ecosystem and then found an action and exactly what I needed to

Are we do need to install it separately so before we can do a navmesh stuff we need to download

Was going to play Mako and then go to the Walthamstow

And then if you got a add-ons right here

We can't click on ecosystem browser

This works inside unity at download and install files automatically is pretty awesome

So that's quick here that your system browser package

What's click that

Imported into unity

Alright I think it was

Now that we have the ability to download other scripts we need to download the Sky

Obviously the download the action

Let's go to add-ons

Ecosystem

Ecosystem

Here we go yes now I can download

Anything we want so what's it used the ecosystem

And I'm going to type in here

Pathfinding

I'm right here it is pathfinding package this is what we want so just got a

Get

Get import

And there we go I was that easy if you're looking for a specific action and you can't find it in the default actions used

Ecosystem I'm telling you it's awesome and very use

I want to make sure there wasn't any big hours of me of something

Disable this

Oh don't worry about that it's just a terrain thing we can clear it then it disappears

If you can't clear that means your game won't compile

You checking that cancel tab

After the mixture is not a really big bug you're missing

Ok we have our enemy selecting let's go to Ed

Go to Action browser

And let's just type up here we off navmesh I had it in the search bar and here's our new actions

Sweet

So now we have a actions that will make this work

I need to find an action card set

Agent

It was like to stay

But basically we want to use set agent destination as game on

And the destination is going to be us

It's going to be the player

And that's what his enemy will be chasing so that are you sorry that's what we want to move across the navmesh

And our destination is the play

So grab a play at the top

First-person ayo and his draganova destiny

In trigger threshold I can get close enough it will start to recalculate

Where should move you want the enemy to be like on top

Stop player before does

I'm going to change that

20.1

And we're going to have two different states action

And I'm the stay organised let's call this state

Like

Walking

Search

Merida

Animals going to have a state that's called running

Like chasing

After a pretty much and that will only happen if he's close enough to us and it's just a lie

Heighten the tension and make the player panic and run away over

Can I pay my Deezer monster

Anyway in this walking part

We need to make sure that his speed is at the right one that's set agent maximum speed

I'm right here so we like that

And they're not set it to one

And I think that's all we need to do for this

First iteration

If I hit play

The enemy should know exactly where I am and just

And I know you're probably thinking ok I do stealth elements get me my baby that hides behind a tree

This is where the simple enemy comes then we don't have any of those features and it's just impossible to do

Like in such a short time frame

In the finish the game and

So that's the

I'm doing this enemy will always be slowly walking towards you no matter what

And I know that seems kind of unfair but honestly like players not really noticed that just so just know someone is kind of Walker

Gingerly towards their Direction

And I still think it will get the job done it will add 10

What's it playing to happen

Play weather anime

What kind of creepy actually did I put on

You should be working towards me of

Actually scared me

Who is category vehicle is in a t pose

You see him walking towards me

Honestly kinda scared because I did not know where he was

CR simple as this like freaks somebody else

80 poses Creepy by itself

I'm obviously we need to add animations but

It's working she knows how he rotates like and how

Look towards me and he is really slow but getting other variables we changed when were

Alright cool

It's fine tune

Alright we need to add animations and when animator control

Because I can see how this control spot is empty

What's right

In the Avatar folder

Go to create

How much go to animatorcontroller

And I'll just call it

Human

That sounds good

I clicked on a McGinn and drag and drop it right there

And then

We need a special window

Let's go to window and I got it animation and little

Animator

Ok we're looking at our animatorcontroller which has nothing here so

Alright this is where we set up animations but first we need an animation stay

Right click here

Go to create state and click empty

How much is cordless

Walk

And then we are going to need another one and that's just call Will call it run

Click on

You actually in playmaker will call the States

By their name so that this is important I have to go back to it later

And then we need an animation and I think it comes

With all the information you have your back to human

Go to animation

Here we go

Jag we have run weird walk

I think the F stands for forward so walk forward and walk babies walk backwards

What's click on walk right here I'm just going to drag and drop

If you can do that

The actual animations to hit the little arrow to expand

And here it is that's what we want this is the way they pack

What's the files

This is also important to make sure this lips also play ones and then it won't loop anymore

So go to click on walk f

Go to animation

I'm right here I think we have the choice to sable

The time

And again this is a lot at can it overwhelming I don't want you to worry about it because all we need to do is just make

And

This is really like

Lots of tools when you're making custom animations to make sure that

They look properly in

Animation which means like the movement speed is baked into the file

That's 2

Ok

Where is wanted to move into look like his

That's all you have to do

People

Apply

So now it should

Before I forget list do that to run as well run

4 and 4

Hit Luke time

Scroll down and then

Ok I must go back to her animatorcontroller so walk

Speed

And then run

Make sure that we do the same thing as go to run f

Hit the little arrow and then hit the motion

Whatever that is

We have two different animations

And basically all this entries start right here

That's basically saying it the fault that if you just spun it without doing any colour or play my corrections

You will always just be walking

And we had an enemy

That Mike would stay still I want that because then it was spun standing still and help you he would be walking

In that case I want I do

Right here

I'm just chilling

But he's always going to be working that's how simple our game is

Just always walking or running

That is only two choices alright back to scene

Animals click on our enemy right here and let's go to RSM at it

And soul while he's walking and searching for us

What's good action browser

Titan animator play

The double click that

And you sauna that us and remember alike

The anywhere controller is next to the fsm so that's why this will work

In the state name is what

That's what we called it early

And I think that's all we need to do for that should we make him run shall we shall we programme that stuff alright so we're going to need it

Event which means we need like

A little sphere around the enemy that tells us he

Is close enough to like basically SIA

And he's running after us

So let's get out of here real quick

And let's

A sphere Collider

What's the Titan

H vehicle ID

And it's kind of small so let's make

It much bigger is here it is on the bottom and just go the radius

So we basically

Any can tower block an hour or less

Are lens flares

What's the direct number for

Was got a layer and do

Anderson now this

Merida

That's what I wanted we don't want to be an actual Collider this is a trigger Collider cos I'm only using it in school

So hit this is Trigger so that the player can go through it won't be an actual physical wall

We need to decide how close

Our enemy should be before it

Rhino tube

The terminator

Small wine glass

I want this robots to be kind of stupid but I wanted to be like simple machines I don't want to be too smart but I don't

Me too stupid and so I gave you as I cried in front of you then this is like the area where would trigger and say I'm running

What do you mean you're in trouble let's go to bachata fsm and then basically we need a trigger of

What's the type in Trigger

Event

Click that

This is the you sauna so Collide tag and I got to be careful as well like a big bug could happen

We only want him to run if a player is within that sphere

So we can start playing

If we are unlucky and like there is like a certain rock that came into approximately then yeah he start running I'll be really weird

Weird bug

Where is one two player to be the one that triggers this

And then send event

I was just going to add transition

Ok and it's a centre van what make a new event right here

I was just type in

Seaview

That's artificial intelligence for like it's close enough

And he's running

Remember we need to add that transition

Forgot to add transition

Seizure

When are player is inside the circle it will go to a new Star

So what's holding control

Drag and drop

Let's call this day

Run

After

Okra

This is going to be

No I actually need a lot of the same state

So the save time I'm just going to

Quick all these things I'm just holding on the control and just grabbing all of them

And then you can cook on here

Click on copy selected

Now this is just a safe time you paste actions and then we go

So it's still in his new state he still chasing you

But the main difference is that he's going to be much faster let's do

I don't know what that means but it's going to be going at 5

Add you

And then my to play remember it

The animation we we named the state was called run

And then in this trigger van it's not he sees you

It's like

It's a kind of a different kind of just to stay organised and let's make a Newham

I'm going to say

Player go away

Double right click

Translation player got away and then I'm just

Dragon

Drop to walk

Enemy will only be one of these two

Walking and searching or running after you

Shall we try

Shall we see if it'll run after us and if we can skip it might be too fast and we won't be able to

Bus tracker

Ok can I see him

If I walk 4 really should start run

Oh no

How is going to come after me

Turn the door

Like that

If I get father enough away he should stop run

Excel tick

So yeah he's stuck on player Got Away

Right here it says ontriggerenter while you're not answering that you're already in it so you need to say on trigger x

Exit

Like I got close and he just started running and we can have some sound effects

And maybe make that spotlight on front in the front of his head like

Look right at you I think it'll be a really power

Ok congratulations you have an enemy that will always be slowly walking towards you and it's Canon

Where can I came from that movie it follows that horror movie where there's like this ghost creature that's always

It's not very far

What is just always going after you

And I just it's simple is easy to program and it's still have the tension we wanted to me this was a wise shortcut

That like may be compromised my original vision but it's fast and it's still gets the job done so I think you'll be cool

The slowly introduce more more enemies as the game progresses

Ok I want to add a spotlight and I want this this weird creepy robot

Just to be

Constantly like flickering the searchlight in front of his head

Around the words are around the

Just searching for this player the

So I got a biometric

Thing I'm first let's do an actual spotlight cos I think it would be such a cool feeling for like this

Robot the be chasing you

And then like the spotlight like is like shining on you and you don't know how close he is and I just freaking you

So I think I'll be able look

So let's go to game objects

Go to light

Let's do a spot

How much dragon all the way to your enemy

Break here on the main

Ok can a shining

W and move him

I think the simplest way to do it

Keeping in front of his face

I think you can try to rotate

I might see her

I want

I wanted to be

Let's make the range

Let's make it

How far the Range like 65

Anglers make it pretty wide yeah

What's do around for

5

And I don't wanna pure white remember which one

Get that Style

And I'm just gonna use the colour picker

Maybe some like the pink writer something

Asado

I think I will

It is a real timeline let's make it a little brighter

Like one

And I do want Shadows

I think we'll work I think it will cast a shadow that shining on a tree or something

Which car park really cool

And then what's add

Where

So that

The player will look straight at the enemy but I'll be like

Big bright shiny thing

Do you want

Distinguish any features flares small

Something

Position at mine on his face

I think that affected by far

Alright that's looking good I want to use that volumetric light idownloader

Search go back to assets

I've got a V line

I want to go to scenes

And I actually I'll

These are ready these seen these are demo scenes and there's not really good prefab I can just drop in too much work so I'm just gonna

Copy and paste one that's already set up in these demo scene

What's got a light types

Save

Weather Prague

And then I'm just going to hit Earth

Oh yeah

I don't want to point my I don't want this window light I want to Spar

We already have the actual light we just need

Is volumetric

Things right here

And so it's called v-lite zero and this is in the light types demoscene so I'm going to do I'm just going to go to bed

We go back to our scene

I think is insane

Samples

Should name at something

Go find a robot

Can I click on here in the head

And then I'm just going to hit

Ctrl-v

They get all the way over there so I'm just gonna go over here and then I'm going to hit I have it selected I'm going to take control

Now cool we got a little bit of i m quite actually we have to put this on

Let's put it on our robot and put it under spotlight

And we can actually zero without so it's like right next to the spotlight so just got it xy&z and hit 0

Turn off the rotation

Erika

This is much too small to make this much bigger

Give us elves more space right here

And I think

How can I make this bigger I remember

Slices

How do I make it brighter the light

What's the player this is this is how I make game that mess around with the staff

Here it is spotlight settings right here so let's make the range

What's the score

And spot near

Angle

I just want to beat the player be able to see you like

The light

Like moving around in the door

I think

I think

I think we can just the

Where is it the slices

To make it a little more

Higher quality

Oh that's cool

We can increase the rent on at the be like a big liar you can see from across the

Oh yeah

Yes

That's pretty cool

So we just see what it looks like now if that any like tween animations

WhatsApp WhatsApp

Like someone like looking towards me

Ibiza clothes for power start running

Tube

But nothing will happen as you know

Let all the doll Hill do

Ok but I'm going to have a kill screen you'll have them

Killers

You just reset the level if you catch us

What's decrease the intensity I think that was a little too bright

The linear

Attenuation I guess

What is a constant

It doesn't

Feels like right behind you

That looks good

I'm just messing around I don't know what I'm doing I'm just making sure it look I don't want it to break

Can I think of the course you can barely just see like this creature behind that bright light in front of it

That's looking pretty cool and looks big I think could see you like this light is biometric shaft of light in the

Yeah it's pretty cool

Let's add some

Scandyna searching animation

Serena got a spotlight

Am I going to go to Al Capone

Typing FSR

How to quick edit

So basically I need the surface and the communicate with her player fsm at up here these two will go hand

And so we need to be able to communicate between I meant to do that we're going to be doing global Events / global

Transitions and suggest the cleaning up I could have done everything in here I think I could have but

I want to show you guys how to communicate between fsm so that's that's really important right so for this day

Let's just call this

I'm waiting

And where can I do around my inner just to make this creature seem pretty organic

So let's go

Action browser and click random

In a random Way

And I wanna way I want this enemy

From 1 to 6

That song

How to make a new event on I just say

Done waiting

Remember with the added here right click

At transition done waiting

Control

What's the new state

And this is where we animate the

Let's just call it

Movelite

This is wrestling and have two separate fsms like inside

At the same

Window in explain that in a

This is the one where he's just searching

And so this is him just looking around he doesn't know where we are

There will be a different type of actions when he sees us in a Mark sent us

I just Chase

That's all we have to worry

So under movelite

This is what we're going to do some random numbers and we just gonna

Change it every time the robe

That's looking around

So

Let's go type in

Random float

I'm going to add this twice actually

What's the double click twice

Actually I think we should change the speed a little bit to that might be cool

Beginner making feel like a living creature or like I guess I live in robot

I want these random numbers to call out with how fast and what direction he moves his life

Pretty much

And then what else do we need I'm just going to get it ready for you and wrestler going to do a challenge slide

What do sativex

3

Xyz

And then remember our Queen's that we downloaded we need to go to

Queen

Rotation

What's going to move the light

You can laugh quicker on the gear in the same infection the bottom

And then you can also drag and drop on I just want to organise it for my own brainsick

We need to pick the right numbers that make sense for this creature like what direction and how fast you can move

The light

I want to be a Chancellor but I'm just gonna get ready and what's name is variable

What's called x

Rotation random

Let's call this one

Why rotation

Random

And what's called this one new variable

Let's call this one

Random speed

So basically I want to set the back to 3 and it's just because only unity can understand rotation variable

Three numbers in one which is called a vector

So in expert let's say this is extrication random

And then in the Y let's do why rotation random

And then see this is irrelevant

So what just do 0

For that

Anyone use the name this obviously was called this

Flashlight

Rotation

And then we can

Make it the same value it doesn't matter

And then going to tween rotation we need to do you sauna and Kurt ation from like the where is currently at

And to we want us to be local and then has to do with like local and world space

Like triggered right here you can change it

Just what we need is just to be like it's a separate thing and that is not affected by where the guys walking in

That would be world

Is it just local position because I lied is a child of the road

Just local

In the night here it's saying 000 we don't want that

We wanted to grab those random numbers that We Created in the flashlight rotation

Which is right here and then I'll be each type I want to do robotics I just I don't want it to be any easy don't want to have a

Smooth

Transition I just want to be

Just a robot light moving around in the time we made a variable for

Let's call this random speed

And then after it's done animating we need to just do actually washes to finished so if you right-click

First

And the finish is just a default like move onto the next thing

We can select the right here under fine

Finished

That's connecting and remember we are connected right here

So yeah this is a look

Wait random line from an amount that's one the 6 seconds long

And then I move a light to a random position that will tell it using his minimum and maximum

So this is the challenge slide

I want you to mess around with the robot

And Figaro

White like the parameters or like what the minimum and maximum should be for each

I want you to play around with the light and find out what's realistic for

Robot to be point

He's like a bull looking around and like searching for you through the

It's pretty much

So for instance make sure you're on global settings right hearing that will handle

Like if you were to click the handle bike how far up would you want to go what's the maximum

And then what is the minimum

I do want one like look behind you I guess he could

How much you use your creative judgement to make something else

Basically we need three types of random numbers and you need this

Like the minimum and maximum for

So here is the why

Do you want to go behind you want just a like kind of like side the side right

And you can tell like it says like -90

Over here now

That could be the minimum and maximum you

NN4 the speed again I could be something like you just make him like

You can make the robot feel like it went really fast or maybe it will take a really long time

I like look at a certain Direction and that's just the animation there

The light

That pretty

Say I have some information on the screen

I want you to input those variables and then when we come back I'll show you how I did it alright you can pause the video right now

Hi guys how did it go

Is always the master sad but I will show the numbers I chose I did for the X I did 9 of 32

Play for the wide and then -50 and 50

In through the speed I did like 0.75 but I think you know 0.75 seconds to 3

So in this case

It will randomly generate a number between these

Animal anime

That's what we using we using these variables that change

Every time at loops

So when we tried out I'm going to show the playmaker window just so you can see it looping

Take maybe understand the principle behind

Alright we're gonna play and see if this robot is searching with his spotlight

Parkour

Alright so waiting waiting

It moved

Ok he moved like a can of the light to the left

Are we moved it again

Is Northern and again

This is cool

Is actually technically he's walking towards me

But it doesn't look like he is doesn't like he just looks like he's wondering and searching For Someone Like Me

On the run

What is actually working towards me the whole time that's why

That's what a simple artificial intelligence is doing

Random numbers of Cannock Ruby it's like he kinda knows where am I and it's like he's lighting up the tree

When is looking around

Let's see what happens now here something we need to fix so fire causes running

But again my keys not that was luck

He's like searching at me but why would he

Why would he like pointers live

That was like

That was random numbers but he should be like locked on a fuse chasing me right

Right now is like not doing that

So I want the light to Locanda me if he sees me and he is running at me does that make sense

That's the thing we got it

That's pretty cool I think it's looking good I hope I hope your is looks good to remember if you just need to it that's ok

Game development is a lot of iteration

Ok alright we need to make global Events for Global transitions and that's because I want them to communicate but

In the robot fsm says I'm chasing too just searching because the light needs to

Reflect that right

So let's go to events and type and I don't know

What's a light search

And then let's make another one is called live

Lock

On this global which means I can be seen by Everything

Check Mark

And that check my

Alright now we're going to do a trick and is such a useful thing in playmaker Italy dance so don't worry if you don't

Stena Treadaway

We're going to right click here

I want to go to a global transition and we're going to do lights search

And basically this like I can call this transition from anywhere in the game and I will just automatically do it

Scott Brown

Start this loop

It's kind of like I'll start it starts when you start the Game Lights searching it starts on when I call

In another FF

They're going to create another one

Let's go to add global transition right here and when I do light

On and this is when he's chasing us and I don't want the

Skip to anime

So we're just going to do that rotation tween actually

Rotation I have it already right there

And then I just want the local rotation to be 000 because that when it's set to that means it's just looking

Play the head that someone who's right in front of them right

I want to be linear

When you're like I wanted to be a fancy animation and then the time want to be fast

Adidas easier and then just locks onto your own

The player

See what happens if it gets too close to the humanoid robot

And then we need to do a finish around just so I like it

It's like waiting I don't know I had finished

I need to adult right here finish

Animal hoarding and control dragon

And then we'd this actually can be empty

It will feel like it's like a star

But that's why we need the call light searching when we've escape the row

So these two things will go

Handforth

And we'll keep our little little sister my little

Our little visual script running normally

So light searching like lockdown

Let's go back to the top this is our robots

The following the player

So quick edit

And now he's running after you

Let's go to the bottom and got action browser

I'm going to type in send

This is such a useful action is it all the time sendevent

In the event targets not itself

It's the other it's another game on

That you sauna that's the same thing

We need to do our life

Spotlight right here you can tell me who has the l

Playmaker symbol next to it so we know that's the right one

So spotlight then we want to send event remember to Global of

And then we want to do light locked on

He sees you and he is going to get you and you better run

Alright we're sending the event like lockdown so it's

Does the save time when you do this on the other stayed right here so let's go

Copy selected actions go to walk in and searching for the bottom and

Click paste actions after

And then we'll do the same thing so instead of light locked on we're going to do like searching and this is when

Robot is walking in

So now they should communicate with each other and let's see if I like locks on when he starts running at us

He's looking around and what happened

Ardell lashes

That's all freaky

I want the right sound effects this could be very

Now if you run away

Can you look around you should like continue to start

Right now we have like these enemies

And you'll be able to see them from following the map

I really want and I want us to be a horror game I need to make that clear I want us to be very tense

Does that feeling I've been in a cold wintry forest and is someone is chasing after you

And I guess that's why I wanted to be more

Melancholy and dramatic than horrifying

Can I think this will be a really cool game I think this will be really interesting people on all the way

Find out more about this world pretty much

Speaking of sounds

I think the best thing to do is to Canal

Creepy robotics static sounds that you know when the when the robots close

Player

So let's do that

Let's go to free sound.com

Actually found a couple that I like

I just want to show you guys just so you know what you're getting into

All I did was search for stat

Switch and creepy static IP

Might like to listen to on

Scanner

Not very dynamic I want another more organic I guess

That's kinda cool actually

That's a good contender I don't like that one it won't look very well I don't think because

Very different the Beginning than it does that same kind of sound

At the end

And this one might be my favourite I just searched creepy static it's creative Commons zero

That's perfect

I think it will work I don't know what else did I do

That's actually pretty

That's the kind of sounds like

I don't know it sounds like there's some voices in there

This is hard

I'm not sure which one to pick

Actually I think that's wants to like we could increase the volume but I think it gets to consistent I wanted to be like

Destroyed can of organic sounding like a weird alien

I think this is what I want

Ok I'm going to download this

This is called radio static sound effect that

And it's creative Commons zero so we don't have to

Give credit if you don't want but it's probably a good thing to do thank you

Sugary Borg appreciate it

What's it download

I'm just going to drag and drop it into my project

I put it in scenes

Give me that then

Using I never find it on I put it on assets

Setting the root folder which against not ideal

That's how I get games done fast

Alright what's Adam audiosource what's going to our enemy and good at composed

Typing audio source

Right here

Alex dragon

Creepy stuff

Put it right there I must do it

Play on the way

We will always be plain

I actually do want the volume high gloss

But I don't want it to be loud and icy like right on top of you and I think that will make

What's the max distance on hundred

Usually I change

The volume of two linear but I do I'm going to be really I'm going to be

Saints until you like red on top of you

And that will be put

Creepy

He'll be like oh man is so close is going to get me

A mixture of course or it says to die that's not what we

This is a 3D sound

Does this is a character in 3D

Who are doing music

Or something

But we wanted 3D

And I think

I think that's it let's just

Ok

What about that are sphere Collider for when you should run

And there's this big spirit here that are volume

You actually change the mass

Let's do one

How much should a baby

What to do to

I don't know

Because it is logarithmic so you're still be quiet even if you're really close I won't get really loud until you

Right next to one

When we try this out

And something

This is actually working pretty well

This creepy now.com it gets really close

That looks very well maybe off 6 later

The kind of stops

How does Connor repetitive

But it does work

We could get bye

Something I had a little more

Variation in the Sam file but for now I think

I might change it up later

But that's that's pretty cool I might make the max distance

A little larger

Nets

Here is the sphere

The best way to

What's the max distance

Ok we got some creepy sounds we got the light that locks onto you

What else do we need

This is actually that is working out pretty well

Even though he's always walking towards you

You don't really know

It's hard to tell and artificial intelligence that's all it is it's just all these little tricks

All these little if statements and Loops just to make it for you organic like it's a thinking machine

Pretty much

There's actually one more important thing we need to do

We need to make this enemy kill the player

And I want this to be a challenge slide in this

Probably be your most challenging challenge slider

And I don't want to give too much away because this could be a great learning experience

But I'm just going to give you this one hint

Are we need is basically a Trigger

A trigger Collider that does

Kill the player

But I don't want to I don't want to make you do do it my way I want you to really thick

Critically evaluate what do you want this game over event to be

And I want you to figure it out using playmaker

But the one hand I'll give you is that you're going to need some kind of Trigger

Animal probably honestly it's only a small sugar

Does he want this trigger to be like

Stop the Masters right on top of

Then I want you to with playmaker

Create like it some type of game over or some type of love or restart

I may be at sounds to it

I want you to do this chance

And this will be the last thing we do for our enemy

This will stretch you I would say but you weren't so much digging and trying to make this work

Alright you can pause the video now

Hi guys had your challenging challenge Sligo

I hope it went ok

I did it a certain way and don't feel like you have to do it my way

But this was my logic I'm gonna walk you through why I decided to do what I did

And so basically the start off

I need to add a Collider so that if the

Enemy got closer

It would trigger an fsm or trigger a state change in the playmaker

I decided to make a totally separate game and record kill player right here

And again it is a child of the robots I just want to gain magic and

Create empty child

And I renamed

I created a small sphere Collider

In the Night Garden fsm

And I'll show you what I

Addison

This is all the logic behind it

Here's the trigger event that just says our food supplier in if it enters that sphere Collider right here

Then it will send a van

Until I did it will go here

This means you are dead

How to make it read to emphasise that fat

Are you dead

So basically I did was draw a full screen colour and so as long as the state is active it will be total

This is the action I chose

I found a sound effect

That I really like

Can I plaster right here at the bottom called audio source

And it has a weird name Neil in goblin

So I made it out of cc0 sound effects

This is what it sounds

I'm just too high quality soundtrack if I got body hitting the floor that that's all I wanted I wanted to be like this

Robot tackle

This disobedient citizen of his dystopian City pretty

So I downloaded that

And then I added it to our you source and I did audio play Right Here

And I just made the volume one and then I made the special planned to die

I don't want to make sure that you here

Completely so I get to the sound of

And then this is a quarter

I wanted to static

To stop I just wanted to be black and then you hear that sound

And I wanted to stop that static on the robot so I have an action here called enable behaviour

This is super useful it's pretty summer activate

Game on

Except that we can activate a certain behaviour on a guy

Sofa and stuff

I'm a robot I just

I don't want to delete everything because it would cause problems since the kill thing would have been disabled as well I would

Cause errors

I just wanted to sound it

So all I did was a giraffe

Let's go back to kill player

I dropped the game object of the robot in

You have a dropdown of that stuff use the animator control here that there is a playmaker fsm

Audio sources what I wanted disabled so I made sure to click that

Animator enable was unchecked

And then I just wanted to be a black screen going like the wind of the trees

I messed up clear nose like he screwed up and that is dead

And then I wanted to turn off the music I don't want the music playing with this be like pure black

And it's just kind of empty feeling

Set the music turns off there

And then after 5 seconds

It restarts the

And that's the action I use as just restart level

So that's pretty much it should we try it out and I'll show you how it works

Is looking around

I can hear the static

Closer

Should we start

That is my game over screen so if he gets you it is you will lose your progress

And that's not very funny but honestly he's pretty easy to OutRun

I don't want this to be hard game

I want this just to be tense and I wanted to people get lost in the story and I want people to be kinda surprised

When I like oh my oh my gosh it's something chasing me what is that thing

And then as I think the game progresses

Remember a game manager from the last video

Right here

As the game progresses I think I want to spawn more and more enemies

And then that will be part of that last day when we make final touches

But yeah I'm excited I want us to be gradual remember I think it's best to take a game design

As like like Anna like a roller coaster like it's going up

It's going

You wanted to be like this constant slope of anxiety and tension and storytelling

Until accommodate in a climax at the end and that's like emotional pay off of your game really

I think I think we have something good going on here will continue to spawn enemies right here and then for your home

Ok sign

Are you should have a script

And I just it just doesn't do anything crazy just maybe a beginning middle and end

I want you to voice

Accord and I and I don't want you to get freaked out by the

It doesn't have to be too scary

Maybe you have a friend maybe have a girlfriend or boyfriend

Maybe you just want to do it like how I did the first tree I did the voice acting evening

Can I edit my voice

But yeah I want you to do the voice recording and I want you to add

Using the game manager or however you want to

So that we can have a beginning middle and end

To our game just as like the emotional and storytelling payer

A homework assignment for tonight

And I'm excited to finish this game for tomorrow and I'll talk about all the finishing touches we can do

Really polish it and make it a really nice place

Alright thanks for watching and I will see you tomorrow

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.