All language subtitles for lesson082

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:07,424 --> 00:00:12,288 So we don't need any scripts currently if you have any scripts written 2 00:00:12,544 --> 00:00:14,336 Especially if you're working on the 3 00:00:14,592 --> 00:00:16,128 Unity basics tutorial 4 00:00:16,384 --> 00:00:17,408 In the previous section 5 00:00:17,664 --> 00:00:22,016 I mean that you can go home delete all of your scripts that are in the scripts folder here 6 00:00:22,528 --> 00:00:23,808 The first script 7 00:00:24,064 --> 00:00:25,344 That we need to you 8 00:00:25,856 --> 00:00:26,880 The foundation 9 00:00:27,136 --> 00:00:27,904 For this 10 00:00:28,160 --> 00:00:32,000 2D game kit script that is on unities website 11 00:00:32,256 --> 00:00:33,536 Image tutorial section 12 00:00:33,792 --> 00:00:36,864 And the reason why we're going to take this and copy and paste it is because 13 00:00:37,120 --> 00:00:39,936 They're certainly dozens of scripts that work in array 14 00:00:40,192 --> 00:00:46,080 From scratch disk from scratch is because quite honestly after a decade of making games 15 00:00:46,592 --> 00:00:49,664 I have never been able to write a precise 16 00:00:49,920 --> 00:00:50,432 Queen 17 00:00:50,688 --> 00:00:52,992 Smooth physics object script 18 00:00:53,504 --> 00:00:58,880 A script that allows you to move the player smoothly across various surfaces across slopes 19 00:00:59,136 --> 00:01:00,909 And not getting certain bugs and glitches 20 00:01:00,911 --> 00:01:03,515 Subtitled by -♪ online-courses.club ♪- We compress knowledge for you! https://t.me/joinchat/ailxpXoW3JVjYzQ1 21 00:01:03,516 --> 00:01:04,256 It's a really difficult script 22 00:01:04,512 --> 00:01:08,096 I don't understand it and I don't expect you guys to know how to do it from scratch 23 00:01:08,352 --> 00:01:08,864 Either 24 00:01:09,120 --> 00:01:11,680 Go to Unity 2D controller 25 00:01:11,936 --> 00:01:12,704 Tutorial 26 00:01:13,472 --> 00:01:17,568 LEGO stuff here but all we need is the physics object script 27 00:01:17,824 --> 00:01:21,664 And there's an entire package you can download but I just recommend simply 28 00:01:21,920 --> 00:01:24,224 Copying this physics object script here 29 00:01:24,992 --> 00:01:27,040 And then creating a new C Sharp 30 00:01:27,552 --> 00:01:29,344 We're going to call it exactly what 31 00:01:31,136 --> 00:01:33,184 Unity tutorial sets physics 32 00:01:37,024 --> 00:01:38,816 Opening up in Visual Studio 33 00:01:39,584 --> 00:01:40,352 Delete 34 00:01:40,608 --> 00:01:41,376 And paste 35 00:01:41,888 --> 00:01:42,400 That script 36 00:01:43,936 --> 00:01:44,448 Yeah 37 00:01:45,728 --> 00:01:47,520 Are we going to get back into unity 38 00:01:48,032 --> 00:01:50,336 It looks like everything is good to go 39 00:01:51,104 --> 00:01:53,920 So this is the only script work in a copy and paste 40 00:01:54,176 --> 00:01:56,480 Entire 2D game kit 41 00:01:56,736 --> 00:01:58,272 Everything else is going to be from scratch 42 00:01:59,040 --> 00:02:01,856 This is going to be the Foundation of the player moves 43 00:02:02,112 --> 00:02:05,696 It's a great Script I'm really grateful to Unity for their tutorial 44 00:02:06,208 --> 00:02:09,024 On this if you wanted to dig into this you can certainly do that 45 00:02:09,536 --> 00:02:12,864 But for now guys I'm just going to copy and paste it and we're going to move forward 46 00:02:13,632 --> 00:02:17,472 Really quick guys we just want to add a minor change to the physics objects 47 00:02:17,984 --> 00:02:18,752 This change 48 00:02:19,008 --> 00:02:22,592 Is it going to make a lot of sense to you and I'll be honest it doesn't make a lot of sense to me either 49 00:02:22,848 --> 00:02:26,176 Again that's something you learn as you're making games 50 00:02:26,432 --> 00:02:27,968 Codeine 51 00:02:28,224 --> 00:02:31,808 You'll find a solution and lining you don't really understand it that's ok 52 00:02:32,320 --> 00:02:34,624 When working on the physics object script 53 00:02:34,880 --> 00:02:37,952 It's important that there is so much complicated stuff 54 00:02:38,208 --> 00:02:40,512 When it comes to platforming in physics 55 00:02:41,024 --> 00:02:44,608 And I honestly I don't see the point in breaking down this 56 00:02:44,864 --> 00:02:45,632 Kind of stuff 57 00:02:46,144 --> 00:02:47,936 So all you ask you to do right now 58 00:02:48,192 --> 00:02:51,008 Is just look at the next section there is a line of code 59 00:02:51,520 --> 00:02:53,056 How much is a copy that line of code 60 00:02:53,824 --> 00:02:55,872 I just want you to paste it over top 61 00:02:56,128 --> 00:02:57,152 Of this for Loop 62 00:02:57,408 --> 00:03:00,480 This is called a for loop talk about for Loops in this course 63 00:03:00,736 --> 00:03:01,760 In the future sex 64 00:03:02,528 --> 00:03:03,552 Now I just want you to 65 00:03:03,808 --> 00:03:05,088 Paste over this 66 00:03:05,600 --> 00:03:06,624 With that line of code 67 00:03:08,416 --> 00:03:10,208 So just control the over top of it 68 00:03:10,976 --> 00:03:16,608 And now we have a new line of code inside of a positive outlook scripting again it's inside of the movement 69 00:03:17,120 --> 00:03:17,632 Function 70 00:03:18,144 --> 00:03:19,424 And inside of the ear 71 00:03:19,936 --> 00:03:21,728 Distance is greater than minimum 72 00:03:22,496 --> 00:03:25,824 Just paste over that first for loop it's below the hip bottle 73 00:03:27,616 --> 00:03:31,456 I don't know what the Script means I'll be honest with you it's been 10 years 74 00:03:31,712 --> 00:03:35,808 Of making games and I don't even know what this means and I don't care I just tell it's going to work 75 00:03:36,320 --> 00:03:38,368 So we're just going to say that out 76 00:03:38,624 --> 00:03:40,160 In all this is going to allow us to do 77 00:03:40,672 --> 00:03:41,184 Is Joe 78 00:03:41,440 --> 00:03:41,952 Through 79 00:03:42,464 --> 00:03:43,232 Platforms 80 00:03:43,744 --> 00:03:46,816 Do something in unity called a platform effector 2D 81 00:03:47,072 --> 00:03:50,400 And it's a component you can add to there is platforms in your game 82 00:03:50,912 --> 00:03:55,008 And if the Script finds this platform effector component 83 00:03:55,776 --> 00:03:56,800 On a platform 84 00:03:57,312 --> 00:03:59,360 The player will be able to jump through the bottom of 85 00:03:59,616 --> 00:04:01,920 That way we don't bother head on platform 86 00:04:02,176 --> 00:04:03,712 So just go ahead and Pace that 87 00:04:04,224 --> 00:04:06,016 Again to be absolutely sure 88 00:04:06,272 --> 00:04:08,320 YouTube replacing this line of code 89 00:04:08,832 --> 00:04:10,112 I just copy that code 90 00:04:10,624 --> 00:04:12,672 And paste it over top of this 91 00:04:13,184 --> 00:04:14,464 It's inside the physics lab 92 00:04:15,488 --> 00:04:16,768 Inside of the movie 93 00:04:17,024 --> 00:04:17,536 Funk 94 00:04:18,815 --> 00:04:21,887 Inside of the Earth distance is greater than minimum distance 95 00:04:22,399 --> 00:04:23,935 And just blow 96 00:04:24,703 --> 00:04:25,983 The hit buffalo stack 97 00:04:26,495 --> 00:04:28,799 So just highlight this and paste that new car 98 00:04:31,103 --> 00:04:33,407 Now we'll be able to jump through platforms 7365

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