All language subtitles for lesson125

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian Download
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
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 Atlas take what we've learnt with the 2 00:00:13,056 --> 00:00:19,200 Particles for the player in let's go ahead in a play that to the enemies as well so just like me 3 00:00:19,456 --> 00:00:25,344 In with the players particles the first thing we're gonna do is we're going to start in Photoshop 4 00:00:25,600 --> 00:00:29,184 Double click on my Photoshop file for particle dust 5 00:00:29,440 --> 00:00:33,024 I'm just going to go off I'll say that as I was going to save it as something new 6 00:00:33,280 --> 00:00:34,560 The skin by particles 7 00:00:35,072 --> 00:00:38,144 Can I just particles Square 8 00:00:38,912 --> 00:00:40,704 Very simple particle 9 00:00:41,984 --> 00:00:47,360 Hey we can make a little bit broken as well we could do a square like this delete the previous layer 10 00:00:47,616 --> 00:00:48,640 Play maybe weekend 11 00:00:48,896 --> 00:00:51,200 Cut out some triangles from it like this 12 00:00:57,088 --> 00:00:59,392 Something like that just like a little 13 00:00:59,904 --> 00:01:00,909 Broken piece of something 14 00:01:00,911 --> 00:01:03,259 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 15 00:01:03,260 --> 00:01:06,048 Right so that we can change its colour in Rhos in a trimmer 16 00:01:08,096 --> 00:01:09,376 And say that 17 00:01:09,888 --> 00:01:12,448 And then I'm going to do is jump back in the unity here 18 00:01:12,704 --> 00:01:16,800 And I'm gonna go ahead in duplicate this particle dust material 19 00:01:17,056 --> 00:01:18,336 Duplicate 20 00:01:18,592 --> 00:01:20,128 Animal cordless particles 21 00:01:20,384 --> 00:01:23,968 Purple square and I'm just going to drag the square 22 00:01:25,248 --> 00:01:26,528 Into the texture field 23 00:01:27,552 --> 00:01:30,624 I'm gonna go ahead and just duplicate 24 00:01:30,880 --> 00:01:34,208 Particle dust app that with ctrl d 25 00:01:36,000 --> 00:01:42,144 And I'm gonna call this not particles Square the reason I called the material and the image of particles 26 00:01:42,400 --> 00:01:48,544 Where is because you can use that Square in multiple ways right so really create a lot of different particle prefab 27 00:01:48,800 --> 00:01:49,824 I love that one image 28 00:01:50,336 --> 00:01:52,640 So this was going to be called particles 29 00:01:53,152 --> 00:01:53,920 Enemy 30 00:01:54,688 --> 00:01:56,224 Explosion 31 00:01:58,016 --> 00:02:00,064 Search strike that into the same here 32 00:02:00,576 --> 00:02:06,720 I'm gonna go ahead and just like we did previously when testing out whether are particles look good 33 00:02:06,976 --> 00:02:08,256 Let's go ahead and just do 34 00:02:09,280 --> 00:02:10,048 A burst 35 00:02:10,816 --> 00:02:11,584 Nike sale 36 00:02:12,096 --> 00:02:18,240 Elementary particle square on top of it there is our particle Square the shape from 37 00:02:18,496 --> 00:02:19,008 Cone 38 00:02:20,032 --> 00:02:20,800 2/8 phere 39 00:02:21,056 --> 00:02:21,824 See that 40 00:02:22,848 --> 00:02:25,664 So now the particles are exploding 41 00:02:26,432 --> 00:02:27,712 In a circular form 42 00:02:27,968 --> 00:02:34,112 And I also guys I want the colour to match the enemies re if you if you record 43 00:02:34,368 --> 00:02:38,464 Pink colour on the box is the same as the anime somebody going to start colour here 44 00:02:38,720 --> 00:02:39,744 Crank up the Alpha 45 00:02:40,512 --> 00:02:42,048 Click the eyedropper tool 46 00:02:42,816 --> 00:02:43,328 Click here 47 00:02:45,632 --> 00:02:47,936 And you know something interesting 48 00:02:49,472 --> 00:02:51,264 It's not actually that colour right 49 00:02:51,520 --> 00:02:54,080 It's now sort of an overlaid blend 50 00:02:54,592 --> 00:02:56,128 Or an additive blend 51 00:02:56,384 --> 00:02:58,688 And that's because in the particle Square here 52 00:02:58,944 --> 00:02:59,968 It's a day out of 53 00:03:00,480 --> 00:03:03,296 So I'm in a change it from a particle 54 00:03:03,552 --> 00:03:06,368 To a simple sprouts and the sprites here 55 00:03:06,880 --> 00:03:08,160 I'm just going to choose 56 00:03:08,416 --> 00:03:09,184 Default 57 00:03:10,464 --> 00:03:13,024 How to go back to our particles here in hip play 58 00:03:14,304 --> 00:03:16,352 You can see now it's the correct colour 59 00:03:17,120 --> 00:03:20,704 It's a little large and a star with 0.1 and then go 2.2 60 00:03:21,216 --> 00:03:22,240 So now we have 61 00:03:23,008 --> 00:03:27,104 A random sizes between point one in .3 occurring 62 00:03:27,616 --> 00:03:29,152 For an explosion 63 00:03:30,176 --> 00:03:35,040 Can I watch My Generation the last a long time so something like maybe 5 seconds 64 00:03:37,600 --> 00:03:38,624 Something like that 65 00:03:40,160 --> 00:03:41,696 Ok that looks good 66 00:03:42,720 --> 00:03:45,536 And also let's go ahead and make a collision occur 67 00:03:45,792 --> 00:03:48,096 So it can collide with the ground 68 00:03:48,608 --> 00:03:51,168 The spring this down to about where enemy would be 69 00:03:51,424 --> 00:03:52,448 Intestinal 70 00:03:52,704 --> 00:03:55,264 Give some for some reason it's not touching the ground 71 00:03:55,520 --> 00:03:56,288 Why is that 72 00:03:56,800 --> 00:03:59,360 Well it's because we need a set type 2 world 73 00:03:59,616 --> 00:04:01,664 Do we need to set mode to 2D 74 00:04:02,688 --> 00:04:05,760 We wanted to collide with only 75 00:04:06,272 --> 00:04:07,296 The default 76 00:04:08,320 --> 00:04:09,344 Play 77 00:04:09,856 --> 00:04:11,136 Here we go 78 00:04:11,648 --> 00:04:17,024 Tsunamis pieces bounce all over the place it's really cool so what we can do is actually 79 00:04:18,815 --> 00:04:20,095 Make it Devon 80 00:04:20,351 --> 00:04:21,631 As it touches the ground 81 00:04:32,383 --> 00:04:38,527 So we can set the bounce to not wine which one is going to make it bounce consistently the same height 82 00:04:38,783 --> 00:04:39,807 Over and over and over again 83 00:04:40,063 --> 00:04:46,207 We could send it to some kind of decimal number 8.7 and so that means it's going to slowly stop bouncing 84 00:04:46,463 --> 00:04:52,607 And now we can make the start speed pretty high and it will be round between two constants so we can start a 3 85 00:04:52,863 --> 00:04:54,655 How about we go to eat 86 00:04:54,911 --> 00:04:55,423 Tippler 87 00:04:56,447 --> 00:04:58,751 Add awesome really really fine 88 00:05:00,543 --> 00:05:05,407 K&N also let's change it so that the colour of the lifetime 89 00:05:05,663 --> 00:05:08,479 Is one all the way up until the end of there 90 00:05:08,991 --> 00:05:09,759 There we go 91 00:05:13,599 --> 00:05:16,415 Calculator needs to be some friction 92 00:05:16,927 --> 00:05:21,279 Hopefully hear it right damping so we can do .5 93 00:05:21,535 --> 00:05:22,815 Yeah there we go 94 00:05:23,327 --> 00:05:25,119 That's great 95 00:05:25,631 --> 00:05:31,007 Awesome so we had a bit of .5 that allowed them to be allowed some friction 96 00:05:31,263 --> 00:05:37,151 And I kind of want the explosion to be a little bit bigger guys let's make the start speed 15 97 00:05:37,919 --> 00:05:44,063 Awesome can I get pub and I think that we should start a little bit higher for the minimum value like 98 00:05:44,319 --> 00:05:47,647 1950 mobility I actually 12 99 00:05:49,695 --> 00:05:55,583 That's great ok so we have our particles for enemies how many go ahead and 100 00:05:55,839 --> 00:06:01,983 Make sure I apply the prefab remember guys have run out of being a prefab inside the route by clicking 101 00:06:02,239 --> 00:06:02,751 Arrow 102 00:06:03,263 --> 00:06:05,055 You can see all of the bald 103 00:06:05,311 --> 00:06:07,871 Are things that we've changed about the prefab 104 00:06:08,127 --> 00:06:10,687 That's why you got to override apply all 105 00:06:11,455 --> 00:06:12,479 And now 106 00:06:13,503 --> 00:06:14,783 The anime explosion 107 00:06:15,807 --> 00:06:16,831 That's great 108 00:06:18,367 --> 00:06:23,743 How many go ahead in double click on my enemy prefab I made a paste in that particle effect 109 00:06:24,255 --> 00:06:26,047 Hotel near we go 110 00:06:26,559 --> 00:06:28,607 And we'll see her play 111 00:06:29,631 --> 00:06:31,935 Looks great I'm going to put it up above 112 00:06:32,191 --> 00:06:33,471 About the centre here 113 00:06:33,727 --> 00:06:38,591 So that it doesn't appear in the ground 114 00:06:38,847 --> 00:06:40,127 Mercedes 115 00:06:40,383 --> 00:06:42,431 And I'm gonna go into my enemy script 116 00:06:42,687 --> 00:06:46,015 And some of you have priority guessed what we're going to do 117 00:06:46,271 --> 00:06:48,319 Ok go to reference this year 118 00:06:48,831 --> 00:06:53,695 Anglesey break I'm going to create a serialised field 119 00:06:54,463 --> 00:06:58,047 For a private particle system 120 00:06:58,815 --> 00:07:00,095 Record this 121 00:07:00,607 --> 00:07:04,959 Exactly what the name is particle anime explosion 122 00:07:07,519 --> 00:07:10,079 Lowercase 123 00:07:11,615 --> 00:07:12,895 Because of the variable 124 00:07:13,919 --> 00:07:16,735 Now I got to do 125 00:07:17,247 --> 00:07:19,295 Is once we die 126 00:07:20,319 --> 00:07:21,087 See hear 127 00:07:21,343 --> 00:07:22,111 Erika 128 00:07:23,903 --> 00:07:29,791 So once helped is lower than 0 I'm just going to go ahead and say particle and my explosion that set active 129 00:07:30,559 --> 00:07:31,071 Too true 130 00:07:32,351 --> 00:07:33,119 Now 131 00:07:33,631 --> 00:07:35,167 Why am I getting a red zig zag 132 00:07:35,423 --> 00:07:37,471 What because were using setactive 133 00:07:37,983 --> 00:07:39,775 On a particle system 134 00:07:40,031 --> 00:07:43,103 Which a particle system is not a game object is a component 135 00:07:43,359 --> 00:07:46,175 So we do make sure you access the game object 136 00:07:46,431 --> 00:07:47,711 From that country 137 00:07:49,503 --> 00:07:53,343 Particle anime explosion that gameobject set active to true 138 00:07:54,111 --> 00:07:56,671 Please go back in the unity and make sure we setup 139 00:07:56,927 --> 00:08:00,255 The reference something a drag particle enemy explosion 140 00:08:00,511 --> 00:08:01,279 Try here 141 00:08:02,559 --> 00:08:03,839 Save that prefab 142 00:08:04,607 --> 00:08:07,423 Play and see if it works 143 00:08:07,679 --> 00:08:12,031 It does not it will not work and I'll show you Wi-Fi punch this enemy 144 00:08:13,823 --> 00:08:16,127 For some reason the particles did not appear 145 00:08:16,639 --> 00:08:17,663 Why is that 146 00:08:18,175 --> 00:08:18,943 Well 147 00:08:19,455 --> 00:08:20,479 We're going to enemy 148 00:08:22,271 --> 00:08:24,831 When we destroy this enemy what happened 149 00:08:25,343 --> 00:08:26,879 Delete the anime 150 00:08:27,135 --> 00:08:30,463 Meaning all of the objects inside of it as well get deleted 151 00:08:30,719 --> 00:08:33,023 Even though we activate the particles 152 00:08:33,791 --> 00:08:36,095 It doesn't matter if they get destroyed immediately 153 00:08:36,351 --> 00:08:37,887 So how do we solve this 154 00:08:38,911 --> 00:08:44,543 Taxi really really simple and I love unity for creating this functionality 155 00:08:45,055 --> 00:08:46,847 What we do is we say 156 00:08:47,359 --> 00:08:52,479 Particle anime explosion transform parent = no 157 00:08:52,991 --> 00:08:54,015 What that means 158 00:08:54,271 --> 00:08:55,807 Is that the particles here 159 00:08:56,575 --> 00:08:57,599 Will be 160 00:08:57,855 --> 00:09:00,159 Bratz all the way 161 00:09:01,439 --> 00:09:06,303 Out of their parent other way to the root of the level 162 00:09:07,327 --> 00:09:09,375 Like that now we can do here because 163 00:09:09,631 --> 00:09:11,679 It doesn't want to restructure the prefab 164 00:09:11,935 --> 00:09:14,495 Run time it's going to pop 165 00:09:14,751 --> 00:09:17,311 Right next to the player in the camera 166 00:09:17,567 --> 00:09:21,151 And it's not going to have a parent meaning if we destroy enemy 167 00:09:21,663 --> 00:09:23,455 It's an asteroid the particles 168 00:09:23,967 --> 00:09:24,991 That's the first thing 169 00:09:25,503 --> 00:09:28,831 Now let me get play here and show you what's going to happen 170 00:09:29,343 --> 00:09:30,623 Close the particles Ray 171 00:09:32,415 --> 00:09:37,023 Well even though the particles disappear it just keeps going right 172 00:09:37,279 --> 00:09:43,423 It keeps and also another problem here is there permanently here 173 00:09:43,679 --> 00:09:49,823 Right which is Cannock or honestly so what we can do is go into our particle 174 00:09:50,079 --> 00:09:50,847 Explosion 175 00:09:51,103 --> 00:09:53,151 And I'm a big fan 176 00:09:53,407 --> 00:09:57,503 Letting the player see the world become chaotic 177 00:09:57,759 --> 00:10:00,460 I'm gonna make the duration like 300 seconds ok 178 00:10:00,461 --> 00:10:02,889 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 179 00:10:02,889 --> 00:10:03,391 Meaning of make a lifetime 300 as well 180 00:10:04,415 --> 00:10:06,463 Animals are going to turn off this looping 181 00:10:06,975 --> 00:10:08,511 So that after 300 seconds 182 00:10:09,023 --> 00:10:10,815 It doesn't just loop right 183 00:10:12,095 --> 00:10:13,119 I meant to say that 184 00:10:13,375 --> 00:10:14,399 Animal helpline 185 00:10:21,823 --> 00:10:23,871 Awesome little beautiful that is 186 00:10:25,151 --> 00:10:31,295 To get all these particles that blasted across the scene it's really cool 187 00:10:31,551 --> 00:10:34,623 A little bit better one thing we can do is 188 00:10:34,879 --> 00:10:37,439 Going to our particle explosion here 189 00:10:38,207 --> 00:10:43,839 And we can set the rotation to be random to the start rotation can be random between two constants 190 00:10:44,607 --> 00:10:50,751 202 360 360 degrees in a full rotation 191 00:10:51,007 --> 00:10:53,567 So we're going to get full random rotation 192 00:10:53,823 --> 00:10:55,359 For these particles 193 00:10:55,871 --> 00:11:00,223 And also I'm gonna do you guys it's got in my collision here and I'm just going to set my radiator size 194 00:11:01,247 --> 00:11:04,319 To be a little bit smaller so probably point 195 00:11:04,575 --> 00:11:05,087 3 196 00:11:05,343 --> 00:11:08,671 Zenimax CS play 197 00:11:11,231 --> 00:11:12,255 So when I 198 00:11:12,767 --> 00:11:14,303 What's this guy open 199 00:11:15,071 --> 00:11:19,679 You can see that they sort of Leigh into the ground a little bit now because I'm me that radius a little bit smaller 200 00:11:19,935 --> 00:11:24,031 So the collision size is a little bit smaller than the actual particles 201 00:11:24,543 --> 00:11:25,311 Now 202 00:11:25,823 --> 00:11:31,967 Want these particles get a little bit slow if I have in a 40 enemies 203 00:11:32,223 --> 00:11:38,367 Exploding so if this was 300 seconds or it was 60 seconds or whatever 204 00:11:38,623 --> 00:11:44,767 Really want the particle system to be destroyed after it's done playing and the duration has 205 00:11:45,023 --> 00:11:45,535 Complete it 206 00:11:45,791 --> 00:11:49,631 You don't want tons of particle systems just hanging out doing nothing 207 00:11:50,143 --> 00:11:52,447 So the way we saw this is we just say 208 00:11:52,703 --> 00:11:56,287 Right in front of Destroy gameobject we're going to say 209 00:11:56,543 --> 00:11:57,311 Destroy 210 00:11:57,567 --> 00:12:00,383 Particle anime explosion that game object 211 00:12:01,151 --> 00:12:07,295 Now the problem here is that this is going to destroy the game on vibrate for the particles and when I going to see you 212 00:12:07,551 --> 00:12:10,623 It's going to happen immediately so you do if you put a comma here 213 00:12:10,879 --> 00:12:11,903 And then you just say 214 00:12:12,159 --> 00:12:15,743 You can come here and this second parameter 215 00:12:15,999 --> 00:12:22,143 Actually allows us to delay the destruction so we can do later by others however long we want 216 00:12:22,399 --> 00:12:23,679 It's a particle 217 00:12:23,935 --> 00:12:25,983 I got a 5 seconds I can say 10 218 00:12:26,239 --> 00:12:29,567 10 seconds I could say 600 seconds 219 00:12:29,823 --> 00:12:33,151 But what I'm going to do is particle anime explosion 220 00:12:33,663 --> 00:12:35,967 And that are particle system component 221 00:12:36,223 --> 00:12:37,759 Dark Mane 222 00:12:38,015 --> 00:12:40,319 Dart duration 223 00:12:40,575 --> 00:12:43,135 And all that's going to do is going to wait 224 00:12:46,207 --> 00:12:47,487 300 seconds 225 00:12:47,999 --> 00:12:54,143 Before destroying this particle anime explosion I can set it to 3 if I wanted to just to show you guys tell this works 226 00:12:54,655 --> 00:12:56,191 So let's go to play 227 00:12:57,215 --> 00:12:59,263 I'm going to make sure that my 228 00:13:00,287 --> 00:13:04,127 Particle anime explosion 229 00:13:05,919 --> 00:13:06,687 There we go 230 00:13:06,943 --> 00:13:08,991 This one right here is selected in animal 231 00:13:10,271 --> 00:13:14,111 Kill this guy 232 00:13:14,623 --> 00:13:16,927 So there's no particle anime explosion 233 00:13:17,183 --> 00:13:19,231 You no longer have a parent right 234 00:13:19,999 --> 00:13:21,791 He's going to wait 3 seconds 235 00:13:23,583 --> 00:13:24,607 And then destroy 236 00:13:25,375 --> 00:13:25,887 America 237 00:13:26,143 --> 00:13:31,775 Why he wasn't destroying so he destroyed after the duration 238 00:13:32,031 --> 00:13:34,847 You know we can definitely go into a particle and an explosion 239 00:13:35,103 --> 00:13:39,711 We could make this 900 seconds if we wanted to totally do that 240 00:13:39,967 --> 00:13:46,111 And the reason you might want to do that is if you have a tonne of enemies 241 00:13:46,367 --> 00:13:47,391 Turn the volume is here 242 00:13:47,647 --> 00:13:49,695 And you just want to see a ton of 243 00:13:49,951 --> 00:13:50,975 Destruction 244 00:13:51,487 --> 00:13:52,767 And sort of 245 00:13:53,023 --> 00:13:55,327 Paint your world with the brie 246 00:13:56,095 --> 00:14:00,191 That might be really fun and honest you got the kind of recommend this because 247 00:14:00,447 --> 00:14:05,567 These days people live streaming games one of the best things you can do for a streaming game 248 00:14:06,079 --> 00:14:12,223 Or making your game stream streamable is allow for some creativity while there's no 249 00:14:12,479 --> 00:14:18,623 More better creativity than just plastic and enemies B all over parts of the level like now I feel like I mean 250 00:14:18,879 --> 00:14:19,903 Changes to this world 251 00:14:20,159 --> 00:14:22,207 I have influence over this world right 252 00:14:22,463 --> 00:14:23,999 Perform 253 00:14:25,535 --> 00:14:27,071 Alright 254 00:14:27,583 --> 00:14:28,351 Very cool 255 00:14:29,631 --> 00:14:35,007 Next bus to Irvine to some particle effects for collecting gems and hearts 256 00:14:35,263 --> 00:14:38,847 So it's going to be very similar guys very very similar 257 00:14:39,103 --> 00:14:41,407 To what we did with the enemies here 258 00:14:41,919 --> 00:14:43,199 I'm going to select my 259 00:14:44,479 --> 00:14:45,503 Coin here 260 00:14:46,527 --> 00:14:48,831 And you guessed it I'm just going to drag 261 00:14:49,087 --> 00:14:52,415 This particle enemy explosion into my coin 262 00:14:54,207 --> 00:14:54,975 There we go 263 00:14:55,231 --> 00:15:00,095 What's 0 at the position and listen I don't want it to be so 264 00:15:00,351 --> 00:15:03,423 Decorate again become big bellies 265 00:15:03,679 --> 00:15:07,775 What I want to do is make it pretty small right so something like 266 00:15:08,543 --> 00:15:12,383 Start speed of 1 and then a Max of 5 267 00:15:13,151 --> 00:15:13,919 Like that 268 00:15:14,431 --> 00:15:20,063 And I think a gravity modifier sort of like it sounds like dust of 0.3 might work 269 00:15:22,367 --> 00:15:23,391 That's great 270 00:15:24,159 --> 00:15:25,695 A messy hair 271 00:15:27,743 --> 00:15:30,815 We can do for sova lifetime 272 00:15:31,583 --> 00:15:37,727 And have a random Force so we can do -1 one negative 1111 273 00:15:37,983 --> 00:15:39,775 And it's going to create some kind of force 274 00:15:40,287 --> 00:15:42,847 Wind is blowing the particles 275 00:15:43,615 --> 00:15:46,687 Let's go ahead and set the gravity modifier PT 1 276 00:15:48,223 --> 00:15:48,991 My dad 277 00:15:49,247 --> 00:15:53,599 And I will also be a direction of probably 278 00:15:54,367 --> 00:15:56,415 3 seconds is fine 279 00:15:57,183 --> 00:15:57,951 That 280 00:15:58,207 --> 00:16:02,047 And honestly that speed is still a little big 281 00:16:02,559 --> 00:16:06,911 Baby change the force of a lifetime that make the speed not look so crazy 282 00:16:07,167 --> 00:16:11,007 So negative 323983 2 3 and 3 283 00:16:13,311 --> 00:16:18,431 Did you even more aggressive - 10 to 10 - 10 to 10 284 00:16:18,943 --> 00:16:20,223 Any of 10 to 10 285 00:16:20,735 --> 00:16:24,575 We don't need to worry about the values I can actually said it is 0 286 00:16:27,135 --> 00:16:28,415 Califon 287 00:16:29,439 --> 00:16:31,743 I said it to wait 288 00:16:34,559 --> 00:16:36,351 See how are we using these 289 00:16:37,119 --> 00:16:38,399 Particle graphics now 290 00:16:38,911 --> 00:16:43,263 Alright so the lifetime is a little long till it set it to 1 291 00:16:47,103 --> 00:16:47,871 That's what I call 292 00:16:49,151 --> 00:16:51,967 And then we're going to have it fade out right I was going to colour 293 00:16:52,479 --> 00:16:53,503 A lifetime 294 00:16:54,271 --> 00:16:56,831 Remove that so that we have to smooth 295 00:16:57,599 --> 00:16:58,879 Colour decrease 296 00:17:02,719 --> 00:17:04,511 That's really cool 297 00:17:05,279 --> 00:17:07,071 So I'm going to disable this 298 00:17:07,583 --> 00:17:09,375 Then we can go to our Queen 299 00:17:10,143 --> 00:17:16,031 And we need a create a very some more script your enemy script when collecting particles 300 00:17:16,287 --> 00:17:22,175 So we need a base with you the same thing we did in her enemy script for collectible rights we can just literally copy and paste 301 00:17:22,687 --> 00:17:25,759 This sort of particle script here 302 00:17:26,015 --> 00:17:28,831 So we can paste it see you 303 00:17:29,087 --> 00:17:33,183 Here I think that's fine for now we might need it and headers later 304 00:17:33,951 --> 00:17:38,559 I'm going to say that and we're back in my my script and I was going to copy and paste 305 00:17:40,095 --> 00:17:40,863 This 306 00:17:42,655 --> 00:17:44,191 Into my collectible script 307 00:17:46,239 --> 00:17:47,775 And see her 308 00:17:48,799 --> 00:17:54,943 Alright so we have all these if statements right if you collected health and do something if you like them then do something so 309 00:17:55,199 --> 00:17:57,759 Conditions really have anything to do with the particle system 310 00:17:58,015 --> 00:17:59,551 I'm literally just going to put it 311 00:18:00,063 --> 00:18:01,855 Tribal order collection sound 312 00:18:02,623 --> 00:18:04,159 Particle anime explosion 313 00:18:04,927 --> 00:18:07,231 That transformed apparent equals no 314 00:18:07,743 --> 00:18:13,887 Set the back of the true and then destroy me after a certain amount of time well we don't want to be called particle anime 315 00:18:14,143 --> 00:18:20,287 Change this to a different name the prefab 316 00:18:20,543 --> 00:18:22,591 What is going to be called particle 317 00:18:23,103 --> 00:18:24,383 Collectible 318 00:18:24,895 --> 00:18:26,687 Spark 319 00:18:27,199 --> 00:18:27,967 Well I think 320 00:18:28,479 --> 00:18:33,599 Glitters probably a better word and I'm going to go ahead and drag this into my prefabs 321 00:18:34,367 --> 00:18:35,391 It's going to be 322 00:18:35,903 --> 00:18:36,415 I think 323 00:18:37,183 --> 00:18:38,975 Probably an original prefab 324 00:18:39,743 --> 00:18:40,255 America 325 00:18:41,023 --> 00:18:41,791 I'm fine with that 326 00:18:42,047 --> 00:18:46,911 So there is our Park collectible l and Anna copy that name 327 00:18:47,423 --> 00:18:49,215 And then we're going to make sure that I 328 00:18:51,263 --> 00:18:56,895 Pasty here and then do the correct syntax for variable so no spaces lowercase p 329 00:18:57,151 --> 00:18:59,455 An external copy that 330 00:19:02,015 --> 00:19:03,295 For all of these 331 00:19:03,551 --> 00:19:04,319 IKEA 332 00:19:06,623 --> 00:19:10,207 You're so want to make sure that 333 00:19:10,463 --> 00:19:13,023 For certain collectibles you know we might not have 334 00:19:13,279 --> 00:19:19,423 A glitter particle that's required just want to double check that there's even one 335 00:19:19,679 --> 00:19:22,239 Available to us to say if 336 00:19:22,495 --> 00:19:24,287 Particle collectible Glitter 337 00:19:24,799 --> 00:19:27,871 If there exists a this is the same as saying does not equal no 338 00:19:29,151 --> 00:19:31,199 Can you remove that completely 339 00:19:32,479 --> 00:19:34,015 And then I need to create 340 00:19:34,271 --> 00:19:35,807 My brackets 341 00:19:36,063 --> 00:19:37,855 Helen Close adel 342 00:19:38,111 --> 00:19:38,879 There we go 343 00:19:40,159 --> 00:19:45,279 So again all those doing guys at saying luck if there is a particle collectible glitter that's a sign 344 00:19:45,791 --> 00:19:46,815 In my collectible 345 00:19:47,071 --> 00:19:49,119 Inspector then 346 00:19:49,375 --> 00:19:51,935 Parent to nothing so that 347 00:19:52,191 --> 00:19:55,007 If I destroy the collectible destroys 348 00:19:55,263 --> 00:19:55,775 Well 349 00:19:56,799 --> 00:19:59,871 The particles collectible glitter game on Jack doesn't destroy 350 00:20:00,383 --> 00:20:04,991 And then it's going to set it active to true and then it's going to destroy it after 351 00:20:05,503 --> 00:20:06,527 The light of time 352 00:20:07,551 --> 00:20:09,855 That is available in the particle systems 353 00:20:10,111 --> 00:20:10,879 Direction 354 00:20:12,927 --> 00:20:13,695 Alright 355 00:20:14,207 --> 00:20:15,743 Let's make sure we assign this 356 00:20:17,791 --> 00:20:18,815 Say that 357 00:20:20,607 --> 00:20:26,751 And what's a double check that are coins do what they supposed to do 358 00:20:27,007 --> 00:20:27,775 There we go 359 00:20:28,543 --> 00:20:30,591 That feels good I like liking nose 360 00:20:31,615 --> 00:20:37,759 So we can make those much smaller obviously let's go ahead and click on them 361 00:20:38,015 --> 00:20:41,343 Particles collectible is double click on that and 362 00:20:41,855 --> 00:20:44,671 Where can I set the size 2 pretty small 363 00:20:45,183 --> 00:20:50,815 O2 2.0 364 00:20:51,071 --> 00:20:57,215 7 really small is it play and see if we can get a nice glittery look 365 00:20:59,007 --> 00:21:00,799 There we go fun 366 00:21:01,055 --> 00:21:02,079 Sheffield Grey 367 00:21:04,895 --> 00:21:11,039 In the same should be true with the hearts guys so we do the same for our health so we're gonna go to your help here 368 00:21:11,295 --> 00:21:11,807 And 369 00:21:12,319 --> 00:21:14,879 Really go to are particles collectible Glitter 370 00:21:15,391 --> 00:21:16,928 And are we going to do is just 371 00:21:17,440 --> 00:21:19,744 Drag that into the particles collectible field 372 00:21:21,280 --> 00:21:26,144 Because again guys seem scripture is collectables the same whether it's a hard or whether it's a coin 373 00:21:26,400 --> 00:21:28,192 It's got a lot of the same functionality 374 00:21:28,448 --> 00:21:29,472 Save that 375 00:21:29,728 --> 00:21:31,264 And then let's do the same for the key 376 00:21:31,520 --> 00:21:32,544 Just drag Reading 377 00:21:33,312 --> 00:21:34,080 NN 378 00:21:35,616 --> 00:21:36,640 Kelly 379 00:21:37,664 --> 00:21:38,944 Where the particles are 380 00:21:39,456 --> 00:21:40,992 In offaly 381 00:21:41,760 --> 00:21:43,040 Does particle effects 382 00:21:46,112 --> 00:21:50,464 Will a car no matter what I'm grabbing whether it's gems or hearts that's great 383 00:21:50,976 --> 00:21:52,000 Very good 28525

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