All language subtitles for lesson113

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 If you haven't already opened up 2 00:00:13,056 --> 00:00:19,200 Unity be sure to open up Unity Project otherwise just save your Photoshop file 3 00:00:19,712 --> 00:00:24,320 Jump back in the unity and go slowly in Port your city graphics 4 00:00:24,576 --> 00:00:25,344 Photoshop 5 00:00:25,600 --> 00:00:26,880 Big file 6 00:00:27,136 --> 00:00:32,256 Hi you'll see that you're silly graphics PSB file has imported into unity 7 00:00:32,512 --> 00:00:38,656 And all of the Sprite which of these purple squares are imported 8 00:00:38,912 --> 00:00:44,288 And is also created this giant prefab with all of the sprouts as 9 00:00:45,056 --> 00:00:47,104 Children first prefab 10 00:00:47,360 --> 00:00:51,200 So we can actually just drag this into the scene here 11 00:00:51,712 --> 00:00:53,248 And you can actually see 12 00:00:53,760 --> 00:00:57,600 Everything is pretty much exactly the way it was in Photoshop 13 00:00:57,856 --> 00:00:58,880 It is really cool 14 00:00:59,136 --> 00:01:00,909 But what you on this is it's a little low res 15 00:01:00,911 --> 00:01:03,259 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 16 00:01:03,260 --> 00:01:05,024 Survey scale up here you can see the resolution to pretty low 17 00:01:05,792 --> 00:01:11,936 Click on my CV graphics to the inspector herein change out the max texture 18 00:01:12,192 --> 00:01:13,984 Size to be a little bit bigger so 19 00:01:14,240 --> 00:01:20,384 4096 what's good in I'm actually going to use a crunch compression in a minute compressor 20 00:01:20,896 --> 00:01:22,944 A lot to about 100 21 00:01:23,456 --> 00:01:28,832 As long as the graphics are really simple you can actually get away with a lot of compression 22 00:01:29,088 --> 00:01:31,136 What's the head in Hill apply 23 00:01:33,696 --> 00:01:39,840 So what unit is going to do as it's going to scale up our resolution for us to 4096 has the map 24 00:01:40,096 --> 00:01:41,632 Texture size 25 00:01:42,144 --> 00:01:44,448 But it's going to compress down 26 00:01:44,704 --> 00:01:45,728 The data 27 00:01:45,984 --> 00:01:48,544 Celebrities get crisp clean edges 28 00:01:49,312 --> 00:01:51,360 But maybe not as many colours 29 00:01:51,616 --> 00:01:55,968 As you can see we've got really crisp edges here 30 00:01:56,224 --> 00:02:00,064 And you can just barely make out some compression you can see some right here 31 00:02:00,576 --> 00:02:03,392 But it's honestly not enough for me to be worried 32 00:02:03,904 --> 00:02:06,208 So this is great actually I think there 33 00:02:06,464 --> 00:02:07,232 Resolution 34 00:02:07,488 --> 00:02:09,280 Looks wonderful we can change it 35 00:02:09,536 --> 00:02:10,560 If we need to 36 00:02:10,816 --> 00:02:14,144 In the future so looks like you can see here as we zoom out 37 00:02:14,400 --> 00:02:16,192 Breaking and telling the video 38 00:02:16,448 --> 00:02:20,288 But you can see here that it's pretty low-res wide zoom out 39 00:02:20,544 --> 00:02:22,336 That's because we need to make sure 40 00:02:22,848 --> 00:02:24,896 Advanced settings here 41 00:02:25,408 --> 00:02:26,688 We want to remove 42 00:02:27,456 --> 00:02:28,736 Generate maps 43 00:02:30,272 --> 00:02:30,784 Alright 44 00:02:31,040 --> 00:02:32,320 Reply 45 00:02:32,832 --> 00:02:33,600 Now 46 00:02:33,856 --> 00:02:37,440 When you zoom out it's still pretty Chris and that's exactly what we were 47 00:02:38,208 --> 00:02:40,000 What's the weather you might have noticed this 48 00:02:40,256 --> 00:02:43,840 Some of artwork is getting cut off weird spots 49 00:02:44,096 --> 00:02:46,656 Is a couple of ways to fix this 50 00:02:47,168 --> 00:02:51,008 The first thing I can do is go ahead in change or mesh type 51 00:02:51,264 --> 00:02:52,288 Two for wrecked 52 00:02:52,544 --> 00:02:55,104 And then we're going to apply and see if that fixes it 53 00:02:55,616 --> 00:03:01,760 If that doesn't fix it which in our case it did not that's ok the next thing you want to do is go to a Sprite editor 54 00:03:02,784 --> 00:03:04,576 And we can go ahead and click 55 00:03:05,600 --> 00:03:06,624 Despite here 56 00:03:07,136 --> 00:03:11,488 And you can see that when we invert the colours and get a black background 57 00:03:11,744 --> 00:03:14,560 Some of our boxes are not generating 58 00:03:15,584 --> 00:03:16,608 The right size 59 00:03:16,864 --> 00:03:21,728 So even though unity does a good job automatically creating things sometimes 60 00:03:21,984 --> 00:03:23,264 Just not perfect 61 00:03:23,776 --> 00:03:29,152 So it looks like this one needs to be scaled up to here and make sure your scaling the blue box 62 00:03:29,408 --> 00:03:31,968 Not the green one the green one is for slicing 63 00:03:32,224 --> 00:03:33,760 We don't want to do that 64 00:03:34,272 --> 00:03:38,880 Alright will this one here scale that up to about right Here lyrics Drake 65 00:03:39,136 --> 00:03:40,416 That was good 66 00:03:40,928 --> 00:03:43,744 This one needs to be a little bit bigger too 67 00:03:44,512 --> 00:03:47,840 What about this one are well that one was really bad 68 00:03:48,352 --> 00:03:49,888 That's ok guys 69 00:03:50,144 --> 00:03:51,424 Sometimes 70 00:03:52,448 --> 00:03:54,752 You have to manually going in pics things 71 00:03:56,544 --> 00:03:57,824 Alright 72 00:03:59,616 --> 00:04:01,408 But it's honestly not that much work 73 00:04:01,920 --> 00:04:02,944 That's ok 74 00:04:04,992 --> 00:04:05,760 Right 75 00:04:06,016 --> 00:04:08,064 Ian BBC Oliver here 76 00:04:09,088 --> 00:04:10,112 Perfect 77 00:04:11,904 --> 00:04:15,744 Background looks good clouds look good with square head and he reply it might take a while 78 00:04:16,000 --> 00:04:22,143 Alright so looks like everything's been fixed and I want to jump in a photo shop this explain something 79 00:04:22,399 --> 00:04:28,543 I think perhaps the reason that happening in by the way the PSB important again Photoshop big 80 00:04:28,799 --> 00:04:34,431 Importer it's a new tool and so there might be some bugs and glitches associated with it 81 00:04:34,687 --> 00:04:38,783 But one of the things you could probably do is if you have some room 82 00:04:39,039 --> 00:04:42,623 Perhaps try and separate out your graphics a little bit more 83 00:04:42,879 --> 00:04:49,023 Play me that are here and move that are here and you might get some different results with you 84 00:04:49,279 --> 00:04:50,559 Automatic slicing tool 85 00:04:51,071 --> 00:04:51,583 Helluva 86 00:04:52,095 --> 00:04:56,191 In my case I'm not really don't worry about it cos I didn't take that long to clean up 87 00:04:56,703 --> 00:04:58,495 Anyway I'm going to drop back in the universe 88 00:04:59,007 --> 00:05:01,823 Start creating prefabs 89 00:05:02,079 --> 00:05:02,847 Ok 90 00:05:03,359 --> 00:05:05,663 See the city graphics here 91 00:05:06,175 --> 00:05:07,199 This is just a 92 00:05:07,455 --> 00:05:13,599 Prefab that was automatically created by unity it's certainly helpful to have this but we're 93 00:05:13,855 --> 00:05:16,159 Can I actually use this prefab 94 00:05:16,415 --> 00:05:21,279 What's you going to create prefabs from this in the way that we're going to do that 95 00:05:21,535 --> 00:05:23,839 Is there a right click on City graphics 96 00:05:24,095 --> 00:05:26,143 I'm going to unpack the prefab 97 00:05:27,167 --> 00:05:33,311 And now we can go ahead and create prefabs of all of these various items and drag him into 98 00:05:33,567 --> 00:05:34,591 Prefabs folder 99 00:05:36,639 --> 00:05:39,455 Alright so we're going to do is create a new folder 100 00:05:40,479 --> 00:05:43,039 How many call this city graphics 101 00:05:43,551 --> 00:05:45,087 What city prefabs 102 00:05:47,391 --> 00:05:51,999 Alright let's start with the ones we know we need to create some colliders for 103 00:05:52,511 --> 00:05:54,559 So ground wine 104 00:05:54,815 --> 00:05:56,607 I know I need a Collider for this 105 00:05:56,863 --> 00:06:03,007 And I'm pretty sure I wanted to be a box Collider I like box colliders because you can absolutely 106 00:06:03,263 --> 00:06:09,407 Certain that there's not going to be weird angles it's a clean box that's predictable for the player 107 00:06:09,663 --> 00:06:13,503 So that's great so it's go ahead and drag round 1 into City prefabs 108 00:06:14,783 --> 00:06:16,831 Then we can go to this one 109 00:06:17,087 --> 00:06:18,879 We're going to do the same thing 110 00:06:19,391 --> 00:06:25,279 I'm going to drag that into City prefabs now for the actual crane element 111 00:06:25,791 --> 00:06:28,863 If you can recall we actually have this platform 112 00:06:29,375 --> 00:06:30,911 Prefab remember this 113 00:06:31,423 --> 00:06:35,519 This platform prefab allows two-player to jump through 114 00:06:36,287 --> 00:06:37,567 The collider 115 00:06:38,079 --> 00:06:40,383 But not fall through the collider 116 00:06:40,639 --> 00:06:44,479 So I'm actually going to copy the polygon Collider 2D component 117 00:06:45,247 --> 00:06:47,295 I'm going to paste it onto the Crane 118 00:06:49,087 --> 00:06:54,719 It looks like I've got some weird shapes to it's all going to edit the points by clicking edit Collider 119 00:06:54,975 --> 00:06:56,511 It was going to drag them 120 00:06:57,535 --> 00:06:58,815 To be like 121 00:06:59,071 --> 00:06:59,839 This 122 00:07:04,191 --> 00:07:04,703 Ok 123 00:07:06,495 --> 00:07:09,055 Then we can also copy the platform effector 124 00:07:09,311 --> 00:07:12,383 Are we going to use that in the crane as well 125 00:07:13,407 --> 00:07:14,687 Alright there we go 126 00:07:15,711 --> 00:07:17,503 Animal might wanna make sure 127 00:07:19,039 --> 00:07:21,599 That we got all the correct settings 128 00:07:23,135 --> 00:07:27,743 So fat looks good so I'm gonna go ahead and drag this cream in the city prefabs 129 00:07:30,559 --> 00:07:32,095 I can delete this now 130 00:07:32,607 --> 00:07:38,751 By the way guys there's some prefabs in here that we're going to end up deleting because work and replacing those 131 00:07:39,263 --> 00:07:45,407 You know actual graphics some of these are very basically this guy here we're gonna end up deleting this 132 00:07:45,663 --> 00:07:46,687 Completely 133 00:07:47,455 --> 00:07:52,831 And replacing it with a actual Gate using the gate spray here 134 00:07:54,623 --> 00:07:55,903 In fact 135 00:07:56,415 --> 00:07:57,439 Let's go ahead 136 00:07:57,951 --> 00:08:01,023 And get this likes door gate set up here 137 00:08:01,279 --> 00:08:05,119 Set the way we can do that is just dragging our Gate preferred we created earlier 138 00:08:05,887 --> 00:08:08,959 I'm going to copy all the components just like we did 139 00:08:09,471 --> 00:08:10,751 The platform 140 00:08:11,263 --> 00:08:12,031 With the crane 141 00:08:16,895 --> 00:08:18,431 That's good I like door 142 00:08:19,711 --> 00:08:20,991 Paste the component 143 00:08:21,247 --> 00:08:26,111 You can see the polygon Collider needs to be added a little bit just like we did with the crane 144 00:08:30,975 --> 00:08:34,047 You just make sure your lines are pretty much straight 145 00:08:34,815 --> 00:08:37,887 You don't want any weird interactions with the player 146 00:08:38,143 --> 00:08:41,215 Go back to Reigate here and 147 00:08:41,983 --> 00:08:45,823 The capital box Collider 2D in paste that in as well 148 00:08:51,455 --> 00:08:51,967 There we go 149 00:08:52,223 --> 00:08:57,343 If you can see our Gate box Collider it's just a little bit wider 150 00:08:58,367 --> 00:09:00,159 So we're going to go ahead go to our 151 00:09:01,183 --> 00:09:01,951 Labrador 152 00:09:02,207 --> 00:09:03,743 Everyday do the same 153 00:09:03,999 --> 00:09:05,535 Drag here 154 00:09:05,791 --> 00:09:06,815 Dracula 155 00:09:08,095 --> 00:09:08,863 Here we go 156 00:09:09,375 --> 00:09:13,727 And it's a trigger remember so this is basically a trigger zone for the player to interact 157 00:09:13,983 --> 00:09:15,519 With the gate 158 00:09:17,055 --> 00:09:21,407 And then we're going to copy the gate script and paste it onto a locked door 159 00:09:23,967 --> 00:09:26,527 So far everything looks good really delete that 160 00:09:26,783 --> 00:09:29,343 And I'm going to strike this locked door 161 00:09:29,599 --> 00:09:31,135 Into the city prefabs 162 00:09:31,647 --> 00:09:37,791 And we'll probably be renaming some layers here so for example lock door supply name that gate 163 00:09:38,047 --> 00:09:38,559 Or 164 00:09:38,815 --> 00:09:43,167 You no delete this gate prefab completely in and just use the word locked door 165 00:09:43,423 --> 00:09:48,031 We don't find out like to prefabs flooring around so we're going to be doing some cleaning up you're a bit 166 00:09:48,287 --> 00:09:51,359 So that's going to have a Collider on it looks like our boxes here 167 00:09:52,127 --> 00:09:55,455 This will have a box Collider on it as well 168 00:10:00,345 --> 00:10:02,376 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 169 00:10:02,377 --> 00:10:01,855 So we can have 170 00:10:02,623 --> 00:10:06,975 The player actually jump on top of it was dragged out into a city prefabs 171 00:10:07,231 --> 00:10:09,791 And I think everything else 172 00:10:11,839 --> 00:10:12,863 Is just 173 00:10:13,375 --> 00:10:14,143 Sprouts 174 00:10:14,399 --> 00:10:16,959 So we're going to drag each one in separately 175 00:10:17,215 --> 00:10:20,031 So drag background one background to 176 00:10:20,799 --> 00:10:21,823 Bush 177 00:10:22,847 --> 00:10:23,615 Chain 178 00:10:24,127 --> 00:10:24,895 Cloud 179 00:10:25,407 --> 00:10:26,687 Cloudberry 180 00:10:26,943 --> 00:10:29,247 The square headed dragon anime prefab 181 00:10:30,015 --> 00:10:31,551 Into the scene here 182 00:10:32,319 --> 00:10:35,647 Copy over all of these components 183 00:10:36,927 --> 00:10:37,951 Onto enemy 184 00:10:38,207 --> 00:10:38,975 Spray 185 00:10:39,231 --> 00:10:39,743 Here 186 00:10:40,767 --> 00:10:45,887 In fact I would are you we could just copy the Sprite from our new anime 187 00:10:46,399 --> 00:10:47,423 Just paste it 188 00:10:50,751 --> 00:10:51,519 Where we go 189 00:10:52,031 --> 00:10:53,567 Anna old enemy prefab 190 00:10:54,079 --> 00:10:57,151 And because this is not unique to the city 191 00:10:57,407 --> 00:10:59,199 I'm actually ok we're just having it 192 00:11:00,991 --> 00:11:02,271 This anime here 193 00:11:03,295 --> 00:11:06,879 The same is true with the coin right 194 00:11:07,135 --> 00:11:10,463 With the Queen we could actually just go to this spray here 195 00:11:10,975 --> 00:11:13,535 Take the Sprite renderer copy it 196 00:11:14,303 --> 00:11:15,327 And paste it 197 00:11:16,607 --> 00:11:17,887 Android coin 198 00:11:18,143 --> 00:11:20,447 And then make sure we apply all 199 00:11:22,239 --> 00:11:24,287 Same is true with our health 200 00:11:27,359 --> 00:11:28,639 Let's go to our heart 201 00:11:29,151 --> 00:11:30,943 Copy the sprite renderer 202 00:11:31,455 --> 00:11:35,807 And then paste it onto our original prefab that We Created earlier 203 00:11:36,575 --> 00:11:38,367 Is going to go ahead and 204 00:11:39,391 --> 00:11:40,415 Hit a player 205 00:11:41,183 --> 00:11:41,951 That looks great 206 00:11:42,719 --> 00:11:45,279 No we don't need the player reference so we can delete that 207 00:11:45,791 --> 00:11:51,935 And then we can also use the same logic with a key member of original key prefab 208 00:11:52,191 --> 00:11:55,007 We can get a new key sprite 209 00:11:55,519 --> 00:11:56,799 Copy that 210 00:11:57,055 --> 00:11:58,335 And paste it 211 00:12:00,127 --> 00:12:02,175 Hunter original key prefab 212 00:12:02,943 --> 00:12:03,967 IPlayer 213 00:12:04,735 --> 00:12:06,015 Great 214 00:12:07,295 --> 00:12:12,159 Delete all of these now because we've applied the changes in and I'll say there's prefabs 215 00:12:13,695 --> 00:12:15,487 I don't need this key anymore 216 00:12:16,255 --> 00:12:17,791 I don't need the heart 217 00:12:18,815 --> 00:12:20,095 I don't need the gym 218 00:12:20,607 --> 00:12:23,423 Can I also don't need this enemy Sprite year anymore 219 00:12:24,191 --> 00:12:25,215 Delete that 220 00:12:25,471 --> 00:12:28,287 Everything else I can drag in My City prefabs 221 00:12:28,799 --> 00:12:32,639 And now we've created all the prefabs we need 222 00:12:32,895 --> 00:12:35,199 So believe it or not guys we can just delete 223 00:12:35,455 --> 00:12:40,831 The city graphics completely because we've saved out all of the prefabs and we can start dragging them in 224 00:12:41,599 --> 00:12:42,623 Layers 17056

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