All language subtitles for lesson126

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
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:06,656 --> 00:00:12,800 We can also easily add a death sound to the player when he dies 2 00:00:13,056 --> 00:00:16,384 So are we going to do there is just goes into our player script 3 00:00:16,896 --> 00:00:17,920 Are new player script 4 00:00:18,432 --> 00:00:21,504 Remember we die here 5 00:00:21,760 --> 00:00:27,392 So what we going to do is simply just go ahead and say SFX audio source that play One Show 6 00:00:28,416 --> 00:00:29,440 Death sound 7 00:00:30,976 --> 00:00:37,120 And you can see here we don't have a dead sound yet so I'm just going to go home screen at the top and 8 00:00:37,376 --> 00:00:39,936 Go to our attributes you think that's fine for now 9 00:00:40,448 --> 00:00:44,288 We're going to go ahead in create serializefield skin be a private 10 00:00:44,800 --> 00:00:45,824 Audio clip 11 00:00:47,104 --> 00:00:48,384 Death sound 12 00:00:50,432 --> 00:00:51,712 Go back in the unity here 13 00:00:54,272 --> 00:00:55,296 Guitar player 14 00:00:56,320 --> 00:00:58,624 And you can see now on be good when you play The Script 15 00:00:59,136 --> 00:01:00,397 We have a little better sound here 16 00:01:00,399 --> 00:01:03,003 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 17 00:01:03,004 --> 00:01:04,000 How many got my sound in super can't find 18 00:01:05,792 --> 00:01:06,560 A sound 19 00:01:14,240 --> 00:01:19,104 Does cannabis act on here 20 00:01:19,360 --> 00:01:21,152 Where can I go to 21 00:01:21,408 --> 00:01:22,432 I may be 22 00:01:24,992 --> 00:01:26,528 Can I call 23 00:01:26,784 --> 00:01:29,600 The i2 is the sound of a use for a death 24 00:01:32,672 --> 00:01:33,696 And then save it out 25 00:01:50,336 --> 00:01:51,104 Ok 26 00:01:51,616 --> 00:01:52,384 That's great 27 00:01:53,920 --> 00:02:00,064 Now when we die we also want to make sure that we clear out the inventory rate is actually going to be released 28 00:02:00,320 --> 00:02:02,880 Especially what we're going to do is 29 00:02:03,136 --> 00:02:05,184 Remove the inventory item 30 00:02:05,952 --> 00:02:06,720 When there's 31 00:02:06,976 --> 00:02:08,000 A level loaded 32 00:02:08,256 --> 00:02:12,096 So what I'm going to do is just add a remove 33 00:02:14,144 --> 00:02:15,936 Inventory item 34 00:02:16,960 --> 00:02:20,032 Call to this function here remember this function of the road 35 00:02:20,288 --> 00:02:24,128 This basically just removes inhibitory based on a name 36 00:02:24,896 --> 00:02:31,040 And what I'm going to do is actually just create a new parameter in here and it's going to be a bullying 37 00:02:31,296 --> 00:02:32,832 Remove all 38 00:02:33,344 --> 00:02:36,160 And by the fault that's going to be forced ok 39 00:02:36,672 --> 00:02:41,280 So now I'm going to do is I'm going to say if remove all 40 00:02:43,072 --> 00:02:43,840 Is 41 00:02:44,352 --> 00:02:45,376 Boss 42 00:02:48,704 --> 00:02:49,984 If it's false 43 00:02:50,496 --> 00:02:51,264 Then 44 00:02:52,800 --> 00:02:53,824 Go ahead 45 00:02:54,336 --> 00:02:57,408 And remove a specific inventory 46 00:02:57,664 --> 00:02:58,432 String 47 00:02:58,944 --> 00:03:00,480 Else meaning 48 00:03:00,736 --> 00:03:02,784 If remove all set to true 49 00:03:03,552 --> 00:03:07,648 When was going to remove all in the way you do there is a mandatory dark clear 50 00:03:08,672 --> 00:03:14,304 And I was going to clear the inventory guys have a look at the function remember this is a 51 00:03:14,816 --> 00:03:20,192 Dictionary so what you could type on Google is how do I remove all items 52 00:03:20,448 --> 00:03:26,080 From a dictionary and you'll see that this the first function is recommended to you on Google which is clear 53 00:03:27,104 --> 00:03:33,248 Now we can simplify the Script by the way this don't have to be here are we going to do is put an exclamation mark it for a bit 54 00:03:33,504 --> 00:03:36,320 Going to say if remove all its files 55 00:03:37,088 --> 00:03:37,600 Then 56 00:03:37,856 --> 00:03:39,648 Do a specific clearing 57 00:03:39,904 --> 00:03:41,184 Based on d string 58 00:03:41,952 --> 00:03:45,024 Remove all is set to true then just cleared all 59 00:03:45,280 --> 00:03:45,792 Ok 60 00:03:46,048 --> 00:03:52,192 Lioness we have this other exec here why is that my left because inventory name is not 61 00:03:52,448 --> 00:03:56,032 And neither is remove all I'm just going to do 9 62 00:03:56,800 --> 00:04:01,664 Because it doesn't really matter it right so I just putting on there and then I can say true 63 00:04:02,944 --> 00:04:06,016 So remember guys it's going to clear out or inventory 64 00:04:06,272 --> 00:04:07,552 Using this command here 65 00:04:08,320 --> 00:04:10,368 Because memory called it from mobile 66 00:04:10,624 --> 00:04:11,648 Which is right here 67 00:04:12,672 --> 00:04:14,464 And low-level is being cold 68 00:04:15,232 --> 00:04:16,000 After a death 69 00:04:18,559 --> 00:04:20,863 So we're going to clear out the inventory 70 00:04:22,399 --> 00:04:27,263 Remember clearing out inventory is only clearing out the inventory in the actual 71 00:04:27,519 --> 00:04:30,847 Dictionary which you can be Casey the dictionary right 72 00:04:31,103 --> 00:04:34,175 The way we see the dictionary is by telling unity 73 00:04:34,687 --> 00:04:36,735 How to change order sprite 74 00:04:37,247 --> 00:04:38,527 Based on the dictionary 75 00:04:38,783 --> 00:04:40,319 So when we clear 76 00:04:41,087 --> 00:04:44,671 The dictionary we're also going to tell unity right here 77 00:04:45,183 --> 00:04:46,719 Did you set the sprite 78 00:04:46,975 --> 00:04:48,511 Pretty inventory-2 blank 79 00:04:49,791 --> 00:04:51,071 Does test without you 80 00:05:01,567 --> 00:05:07,455 Almost can I heard the day there we go alright looks like our 81 00:05:07,711 --> 00:05:08,991 Inventory got reset 82 00:05:09,247 --> 00:05:15,391 Our health did not get reset so that we need also make sure we reset our health bar 83 00:05:17,951 --> 00:05:18,975 And the Queens 84 00:05:19,743 --> 00:05:23,327 So looks like we need to use the update UI function 85 00:05:23,583 --> 00:05:25,119 When we go Travel bubble 86 00:05:25,375 --> 00:05:27,423 So many go ahead and do that as well 87 00:05:27,935 --> 00:05:29,983 Update UI 88 00:05:30,239 --> 00:05:34,335 Please simple and then we can also set our coins collected 20 89 00:05:35,615 --> 00:05:41,759 What's it playing test all of this out hopefully everything I reset for us and this reset is going to happen after death but it's also 90 00:05:42,015 --> 00:05:44,063 Can I happen after I get into a new level 91 00:06:00,447 --> 00:06:05,823 0 health 100 health 0 coins no inventory 92 00:06:06,335 --> 00:06:07,871 Perfect 93 00:06:08,383 --> 00:06:09,151 Alright 94 00:06:10,175 --> 00:06:16,063 That you can see dying is pretty immediately 10A hard to know what's going on special in the player just immediately 95 00:06:16,319 --> 00:06:22,463 Snaps back in the position so what we going to do is actually cause a little bit of a pod here 96 00:06:22,719 --> 00:06:28,863 Go into the new player script on a teacher guys how are going to pause and disabled 97 00:06:29,119 --> 00:06:30,399 Players movement 98 00:06:30,655 --> 00:06:33,215 So that we can have some particle effect ok 99 00:06:33,471 --> 00:06:38,335 So what I want to do first is a basically just want to disable the players movement completely 100 00:06:38,847 --> 00:06:41,919 So I want to do is actually just go ahead and good attributes 101 00:06:42,175 --> 00:06:43,711 I'm going to create a private 102 00:06:44,223 --> 00:06:44,991 Bullying 103 00:06:45,247 --> 00:06:45,759 And 104 00:06:46,015 --> 00:06:47,551 Going to be cold frozen 105 00:06:47,807 --> 00:06:50,623 Currently by default going to be false 106 00:06:51,135 --> 00:06:54,207 Then when the player actually dies 107 00:06:55,487 --> 00:06:57,535 So here we go 108 00:06:58,047 --> 00:07:00,095 Where is a frozen 109 00:07:00,351 --> 00:07:00,863 Equal 110 00:07:02,655 --> 00:07:04,191 To the player will be frozen 111 00:07:04,703 --> 00:07:05,983 Upon Tyne 112 00:07:07,519 --> 00:07:08,031 10 113 00:07:08,543 --> 00:07:10,591 When we load into a scene 114 00:07:10,847 --> 00:07:11,615 We're going to say 115 00:07:12,127 --> 00:07:14,175 Frozen = false 116 00:07:15,199 --> 00:07:20,319 But this doesn't actually do anything yet there's nothing that happens when were frozen 117 00:07:20,831 --> 00:07:22,367 We actually could do that 118 00:07:22,623 --> 00:07:24,671 By adding a condition in the update 119 00:07:24,927 --> 00:07:26,207 That sort of wraps 120 00:07:26,463 --> 00:07:28,767 A lot of this actually most of it 121 00:07:29,023 --> 00:07:31,071 Would you put all of it rap 122 00:07:31,583 --> 00:07:33,631 In a simple condition in that if 123 00:07:34,399 --> 00:07:35,423 Frozen 124 00:07:35,679 --> 00:07:36,959 Is false 125 00:07:37,727 --> 00:07:39,775 Can you do an exclamation mark 126 00:07:41,311 --> 00:07:43,359 And then we can put inside of 127 00:07:43,615 --> 00:07:45,151 All of this here 128 00:07:45,663 --> 00:07:49,247 I just pressed highlighter and I just highlighted all of this impressed tab 129 00:07:49,759 --> 00:07:50,783 And then 130 00:07:51,807 --> 00:07:56,671 Close down we want the animators to be even when we are frozen so 131 00:07:56,927 --> 00:08:03,071 We want these animators here to be set regardless of her for frozen on now we won't be able to move 132 00:08:03,327 --> 00:08:04,351 If a frozen 133 00:08:04,607 --> 00:08:07,167 On start let's just set frozen 134 00:08:07,423 --> 00:08:09,215 The true just a test about 135 00:08:12,031 --> 00:08:12,799 What's a play 136 00:08:15,359 --> 00:08:20,479 Alright we can't really move a stock right so why do we want this 137 00:08:20,735 --> 00:08:24,575 Well after death we want the player to freeze for about 2 seconds 138 00:08:24,831 --> 00:08:25,343 Ok 139 00:08:29,439 --> 00:08:30,975 If you can recall 140 00:08:31,487 --> 00:08:32,767 Honoured I function 141 00:08:33,279 --> 00:08:34,559 Frozen a set of true 142 00:08:34,815 --> 00:08:36,607 Put a Miele set of false 143 00:08:36,863 --> 00:08:40,191 Right wing below the level in recording low double here 144 00:08:40,703 --> 00:08:46,847 So nothing's going to happen I'm going to freeze like a split second we don't want that here's what we do 145 00:08:47,359 --> 00:08:53,503 We want you something called yield the oldest basically going to pass a function so it's literally going to just stop 146 00:08:53,759 --> 00:08:56,575 Dysfunction for however long we want 147 00:08:56,831 --> 00:08:58,367 1 set timer is up 148 00:08:58,623 --> 00:09:03,487 Then we're going to move iron to the cells the pseudocode would be something like 149 00:09:03,999 --> 00:09:06,047 Pause this function 150 00:09:06,303 --> 00:09:09,631 Pause or yield 151 00:09:09,887 --> 00:09:10,911 Dysfunction 152 00:09:11,167 --> 00:09:12,191 40 seconds 153 00:09:13,727 --> 00:09:15,775 Freeze the player who's going to stop 154 00:09:17,055 --> 00:09:18,079 Healed 155 00:09:19,103 --> 00:09:20,127 2 seconds 156 00:09:20,639 --> 00:09:22,687 NN load the level 157 00:09:22,943 --> 00:09:23,455 Ok 158 00:09:23,967 --> 00:09:25,247 Sahara we do this 159 00:09:25,503 --> 00:09:28,575 Well you can actually use a yield function 160 00:09:28,831 --> 00:09:34,975 Inside of a typical regular function like this you have to do something special call Dan I immigration 161 00:09:35,231 --> 00:09:38,047 I'm going to Google AI immigration on unity here 162 00:09:38,815 --> 00:09:39,839 And 163 00:09:40,351 --> 00:09:42,143 First thing that pops up is what we need 164 00:09:42,399 --> 00:09:43,935 Scroll down and take a look 165 00:09:45,727 --> 00:09:46,751 Alright 166 00:09:47,007 --> 00:09:50,335 Send me a copy this right here this is the function this is how it's written 167 00:09:50,847 --> 00:09:56,479 Any copy that I'm just paste the right here just for reference so it's going to be a private IP numerator 168 00:09:56,735 --> 00:09:58,783 So we're going to use this word here 169 00:09:59,295 --> 00:10:00,319 Send me a public 170 00:10:00,345 --> 00:10:02,632 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 171 00:10:02,634 --> 00:10:02,623 Enumerated is no void 172 00:10:03,391 --> 00:10:04,671 And 173 00:10:05,439 --> 00:10:06,719 It's going to 174 00:10:08,511 --> 00:10:11,327 Basically use this function here 175 00:10:12,351 --> 00:10:13,375 What's a statin 176 00:10:13,887 --> 00:10:16,447 So here's the functions yield return new 177 00:10:16,703 --> 00:10:22,079 Wait 4 seconds and we're going to wait for 2 seconds right here 178 00:10:22,591 --> 00:10:23,871 Alright so that is 179 00:10:24,127 --> 00:10:25,919 How you writing ienumerator 180 00:10:26,175 --> 00:10:28,223 Public ienumerator died 181 00:10:28,735 --> 00:10:33,599 Where do this stuff immediately which is going to freeze the player and also play a death sound 182 00:10:33,855 --> 00:10:35,903 And also going to 183 00:10:36,671 --> 00:10:37,951 Wait for 2 seconds 184 00:10:38,207 --> 00:10:39,487 NN loader level 185 00:10:40,255 --> 00:10:45,119 It so this should work the only thing that's not going to happen as the players that could disappear right 186 00:10:45,375 --> 00:10:47,935 You just going to stay in there but I wait 2 seconds 187 00:10:48,191 --> 00:10:49,215 And is going to die 188 00:10:49,983 --> 00:10:52,799 And then he's going to reset 189 00:11:02,527 --> 00:11:07,647 What's like it's not working why is that so where is this die 190 00:11:08,159 --> 00:11:09,439 Function being called 191 00:11:10,207 --> 00:11:13,791 Well if you got to the new player here you can see we have died 192 00:11:14,047 --> 00:11:16,863 What the way that we actually call this when you're using 193 00:11:17,119 --> 00:11:19,679 And I remember is need to type start 194 00:11:20,191 --> 00:11:21,471 Protein 195 00:11:22,751 --> 00:11:25,567 It's a little weird I know trust me 196 00:11:25,823 --> 00:11:31,967 Sometimes I have to look this stuff up and I always have to look up and I numerator Communities web 197 00:11:32,479 --> 00:11:37,343 Just to make sure I'm writing all this out correctly and if you guys are confused just double check your look 198 00:11:37,599 --> 00:11:38,879 That's where this 199 00:11:39,391 --> 00:11:41,951 Protein is being cold in its right here 200 00:11:44,255 --> 00:11:47,327 Alright so we're going to start the curry teen died 201 00:11:47,839 --> 00:11:48,863 And it's going to 202 00:11:49,375 --> 00:11:50,655 Fire this function here 203 00:11:51,167 --> 00:11:55,775 And it's going to include this yield and it's gonna wait for 2 seconds 204 00:11:56,287 --> 00:11:57,055 Alright 205 00:11:57,311 --> 00:11:58,079 Play 206 00:12:06,527 --> 00:12:08,319 There we go 207 00:12:09,087 --> 00:12:09,855 Alright 208 00:12:10,111 --> 00:12:16,255 Next week when I deactivate the player when he died so that we don't see anything after he dies but we 209 00:12:17,279 --> 00:12:18,559 And then load the scene 210 00:12:18,815 --> 00:12:24,959 The problem with that is a weedy activate the player we also deactivate the new player Script so all of this 211 00:12:25,471 --> 00:12:27,263 Does even happen right 212 00:12:27,519 --> 00:12:29,823 When I get a load allowances going to deactivate player 213 00:12:30,591 --> 00:12:33,663 Scripts stop running when you deactivate a game object 214 00:12:34,175 --> 00:12:40,319 So what I'm going to do is actually take a look at my player here and I basically want to disable all of this stuff here 215 00:12:41,087 --> 00:12:43,903 So how do we fix this what can we do 216 00:12:44,415 --> 00:12:50,559 I don't want to just go through every single thing here that's going to be kind of ridiculous I don't want to say something like that 217 00:12:50,815 --> 00:12:56,959 Deactivate I'm right the activate bicep left bicep right there's going to be ridiculous in a script 218 00:12:57,215 --> 00:12:59,007 So what I can do 219 00:12:59,519 --> 00:13:01,311 Is actually just go ahead 220 00:13:03,359 --> 00:13:05,151 Create a new animation 221 00:13:05,663 --> 00:13:06,943 South Croydon new clip 222 00:13:07,967 --> 00:13:09,247 Minion animation 223 00:13:09,759 --> 00:13:11,551 Then go go to characters player 224 00:13:11,807 --> 00:13:14,111 And I'm going to say player 225 00:13:14,367 --> 00:13:15,391 Die 226 00:13:16,671 --> 00:13:17,951 Quick record 227 00:13:18,463 --> 00:13:19,743 How to disable 228 00:13:21,791 --> 00:13:23,071 All of 229 00:13:23,839 --> 00:13:24,607 Are sprouts 230 00:13:25,375 --> 00:13:30,239 Just disable the spray render when I get to deactivate the game and liquids going to disable spray rendering just like that 231 00:13:31,519 --> 00:13:34,335 Energy can recall player stand 232 00:13:35,103 --> 00:13:36,383 We want to make sure that 233 00:13:36,639 --> 00:13:38,943 They get activated on player stand 234 00:13:39,199 --> 00:13:39,711 Ok 235 00:13:40,479 --> 00:13:43,551 Because once we go back to play a stand and want to make sure that 236 00:13:44,831 --> 00:13:46,879 Renderers are enabled again 237 00:13:47,647 --> 00:13:50,975 So now it's good to hear I am here and you can see we have 238 00:13:51,999 --> 00:13:53,023 That new 239 00:13:53,279 --> 00:13:54,303 Animation 240 00:13:54,559 --> 00:13:55,839 So we can actually 241 00:13:56,095 --> 00:13:57,375 Just Dragon Tattoo here 242 00:13:58,143 --> 00:14:00,959 And on any state we're going to make a transition 243 00:14:01,983 --> 00:14:05,823 There's going to be no exit time instead train station there's going to be a condition 244 00:14:06,079 --> 00:14:07,871 And I condition is 245 00:14:08,383 --> 00:14:09,663 If the bullying 246 00:14:10,943 --> 00:14:11,967 Dead 247 00:14:12,735 --> 00:14:13,759 Is that a true 248 00:14:15,551 --> 00:14:16,575 Conditions if 249 00:14:17,343 --> 00:14:18,879 Dead is that a true 250 00:14:19,391 --> 00:14:20,415 Just got a player died 251 00:14:22,207 --> 00:14:25,279 If not we're gonna go right back to stand 252 00:14:26,815 --> 00:14:27,839 So if dead 253 00:14:29,631 --> 00:14:31,167 Set to false 254 00:14:32,703 --> 00:14:36,287 When I go have any extra time no transition-duration zero 255 00:14:37,311 --> 00:14:39,359 It's going to go right back to play a stand 256 00:14:40,127 --> 00:14:40,639 Ok 257 00:14:40,895 --> 00:14:44,223 So one final thing we need to do here's just go back to a script 258 00:14:44,991 --> 00:14:49,855 And you guessed it we're going to go animator 259 00:14:53,695 --> 00:14:55,999 Dead and we're going to send it to 260 00:15:00,095 --> 00:15:04,191 And then when we loved her level we just need to make sure we said that right back 261 00:15:04,703 --> 00:15:05,471 The boss 262 00:15:05,727 --> 00:15:10,079 Why are we using an animation guys well for two reasons again 263 00:15:10,591 --> 00:15:16,735 We don't want to have to disable all of these with the Script technically we could put these inside of a parent object inside 264 00:15:16,991 --> 00:15:23,135 But I don't really want to do that I want to mess up my player and also hey we can also create some cool in a 265 00:15:23,391 --> 00:15:29,535 If you really wanted to we can have him collapsed to the ground we can have you know him Flash and then 266 00:15:29,791 --> 00:15:34,399 Is B arts good slowly disintegrating I know we could do a lot of staff 267 00:15:34,655 --> 00:15:37,727 What's go ahead in tested and see if it works 268 00:15:45,919 --> 00:15:48,479 Perfect 269 00:15:48,735 --> 00:15:51,039 Mario's alright 270 00:15:51,295 --> 00:15:56,927 So let's just go ahead and make it look a little bit prettier remember we have the particles for 271 00:15:57,183 --> 00:16:01,535 Is enemies here that's open up those enemy's enemy 272 00:16:02,047 --> 00:16:03,327 Explosion remember that 273 00:16:03,583 --> 00:16:06,911 But we just go ahead and use that for the player as well that's another player 274 00:16:07,679 --> 00:16:08,703 And adding 275 00:16:08,959 --> 00:16:09,983 Does particles 276 00:16:10,239 --> 00:16:12,287 Also just gonna duplicate 277 00:16:12,799 --> 00:16:15,615 Particle enemy explosion pressure control die 278 00:16:15,871 --> 00:16:17,407 My holidays particle 279 00:16:17,663 --> 00:16:18,431 Player 280 00:16:18,687 --> 00:16:19,967 Explosion 281 00:16:21,759 --> 00:16:27,903 Technically we could use the particle anime explosion by I like to prepare for the future the future might me 282 00:16:28,159 --> 00:16:34,303 Set the player changes colours in so I might want to change this colour and I don't want any silly change the player enemy colour 283 00:16:34,559 --> 00:16:39,423 And then other settings as well for for the player explosion so I like to keep it separate 284 00:16:39,935 --> 00:16:41,471 Ego 285 00:16:41,727 --> 00:16:45,311 I'm gonna put that right here just in the centre of his chest so something like 286 00:16:45,567 --> 00:16:46,335 This 287 00:16:46,847 --> 00:16:47,615 Alright 288 00:16:48,639 --> 00:16:54,783 And what I'm going to do is I'm going to have this be a little bit more than the player what I'm going to do it 289 00:16:55,039 --> 00:16:55,551 What does 0 290 00:16:56,319 --> 00:17:02,463 That means we can keep this enabled at all times we don't have to disable or deactivate 291 00:17:02,719 --> 00:17:03,999 This player explosion 292 00:17:04,255 --> 00:17:10,143 All we need to do is just omit some particles remember using the animator function script 293 00:17:10,399 --> 00:17:13,727 So we are going to play a bearing in a pier and you can see we have 294 00:17:14,239 --> 00:17:15,775 The animator functions 295 00:17:16,031 --> 00:17:22,175 Now we need to create a few more particles so right now we've only got four particle systems allowed to be 296 00:17:22,431 --> 00:17:27,551 He made it without any better functions some of the major functions here just add one more 297 00:17:27,807 --> 00:17:29,599 Copy paste 298 00:17:30,111 --> 00:17:31,647 Unit particles 5 299 00:17:32,159 --> 00:17:33,951 Particle system five in image 300 00:17:34,207 --> 00:17:38,303 That those don't exist when you destroy the top here in add those two 301 00:17:41,631 --> 00:17:42,399 My girl 302 00:17:43,423 --> 00:17:47,007 Hi let's jump into the new player script 303 00:17:47,263 --> 00:17:53,407 And we can either add that event to the animation timeline when the player dies or we can just add it to the 304 00:17:53,663 --> 00:17:59,807 I'm here I'm just going to go ahead and add it here animator functions 305 00:18:00,063 --> 00:18:04,671 He made particles five and I just close it out 306 00:18:04,927 --> 00:18:09,791 Now it's tested and see how it works looks great 307 00:18:10,047 --> 00:18:16,191 Finger prime make it a little bit more particles so we can just go to the player here and that's 308 00:18:16,447 --> 00:18:17,215 About 309 00:18:17,471 --> 00:18:23,615 50 23458

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