All language subtitles for 41. Animating the Wizard

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 Download
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
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:00,256 --> 00:00:02,560 There's one more thing that we have to do with the wiz 2 00:00:02,816 --> 00:00:03,328 In that is 3 00:00:03,584 --> 00:00:04,864 Animating so 4 00:00:05,120 --> 00:00:07,424 Let's go ahead and open up our wizard 5 00:00:07,680 --> 00:00:08,448 Scene 6 00:00:09,984 --> 00:00:12,800 Let's go ahead and animation player 7 00:00:14,592 --> 00:00:16,128 Let's move this to the fore 8 00:00:16,640 --> 00:00:18,944 Child of The Wizard anime scene 9 00:00:19,456 --> 00:00:22,272 Let's create a new animation by clicking the animation but 10 00:00:23,552 --> 00:00:25,088 Let's call days 11 00:00:26,880 --> 00:00:27,904 Ok I'm going to turn off 12 00:00:28,160 --> 00:00:30,976 The visibility of the collision shape 2 Days by 13 00:00:31,488 --> 00:00:32,000 This 14 00:00:32,256 --> 00:00:34,304 Invisibility button next to the collision 15 00:00:34,560 --> 00:00:35,840 2D at the route 16 00:00:36,096 --> 00:00:36,864 And then 17 00:00:37,120 --> 00:00:38,656 The herb box component as well 18 00:00:39,168 --> 00:00:40,192 Just so we can see what 19 00:00:40,704 --> 00:00:42,496 Ok so let's 20 00:00:42,752 --> 00:00:44,288 First start bye 21 00:00:44,544 --> 00:00:45,824 Clicking the root node 22 00:00:46,080 --> 00:00:51,968 And scrolling down until we see the transform region in let's go ahead and keep rain all of 23 00:00:52,224 --> 00:00:53,248 Is supposition 24 00:00:53,504 --> 00:00:54,272 Rotation 25 00:00:54,784 --> 00:00:55,552 And scale 26 00:00:57,344 --> 00:00:59,648 What do we want the wizard to look like 27 00:00:59,904 --> 00:01:00,525 When he is a war 28 00:01:00,527 --> 00:01:03,259 Subtitled by online-courses.club We compress knowledge for you! 29 00:01:03,260 --> 00:01:03,488 I'm thinking something 30 00:01:03,744 --> 00:01:06,304 Like a slide is going to look really good 31 00:01:06,816 --> 00:01:09,120 So let's make the animation length 32 00:01:09,376 --> 00:01:10,400 .4 33 00:01:10,912 --> 00:01:13,216 And then let's use this later in the bottom right 34 00:01:13,472 --> 00:01:13,984 2 35 00:01:14,496 --> 00:01:15,520 Zoom in just a Lil 36 00:01:16,032 --> 00:01:17,568 And I'm going to change my Snaps to 37 00:01:17,824 --> 00:01:18,592 05 38 00:01:19,104 --> 00:01:19,872 Right here in there 39 00:01:20,128 --> 00:01:20,640 Xbox 40 00:01:20,896 --> 00:01:21,920 So now I'm scrubbing 41 00:01:22,176 --> 00:01:23,712 I'll go and increments of pile 5 42 00:01:23,968 --> 00:01:26,528 For the rotation I think what I want to do 43 00:01:27,040 --> 00:01:28,832 I want to start it off 44 00:01:29,088 --> 00:01:30,880 What's a -10 45 00:01:31,136 --> 00:01:33,184 Summer nights like this first keyframe 46 00:01:33,440 --> 00:01:34,720 And then type in -10 47 00:01:34,976 --> 00:01:38,304 And actually I think I'm going to do instead of I'll start it off at 0 48 00:01:38,560 --> 00:01:39,328 Then appoint 49 00:01:40,096 --> 00:01:43,680 One I'm going to insert the key and make that -10 50 00:01:45,472 --> 00:01:48,032 And then what we're going to do is working 51 00:01:48,288 --> 00:01:49,568 Roundabout here 52 00:01:49,824 --> 00:01:50,592 Squid 53 00:01:50,848 --> 00:01:51,360 And more 54 00:01:51,616 --> 00:01:52,128 Forward 55 00:01:52,384 --> 00:01:53,152 So let's 56 00:01:53,664 --> 00:01:56,480 Add the skill at in Surrey Quay that one 57 00:01:56,736 --> 00:01:57,248 So we're gonna 58 00:01:57,760 --> 00:01:59,040 Keep it at 1 scale 59 00:01:59,552 --> 00:02:02,368 Add .1 seconds and then we will 60 00:02:03,904 --> 00:02:08,256 Squish over .2 seconds so at the point to market add another key 61 00:02:08,512 --> 00:02:09,536 For the scale 62 00:02:10,048 --> 00:02:11,328 And let's change 63 00:02:11,840 --> 00:02:12,352 This 64 00:02:12,608 --> 00:02:13,632 22 65 00:02:14,144 --> 00:02:16,448 And the 1.5 66 00:02:16,704 --> 00:02:17,216 And 67 00:02:17,472 --> 00:02:17,984 Point 68 00:02:18,240 --> 00:02:18,752 8 69 00:02:19,008 --> 00:02:22,592 And again on click this link I can't if you don't want to 70 00:02:22,848 --> 00:02:23,360 To be linked 71 00:02:23,616 --> 00:02:25,152 Ok perfect so I think 72 00:02:25,408 --> 00:02:26,688 Now we just need to 73 00:02:27,200 --> 00:02:27,968 Rotate 74 00:02:28,224 --> 00:02:30,784 The wizard forward and scale him 75 00:02:31,296 --> 00:02:34,880 So appoint 3 I'm going to insert key on the rotation 76 00:02:35,392 --> 00:02:36,672 And I'm going to change 77 00:02:36,928 --> 00:02:39,232 This rotation value to parse 78 00:02:39,744 --> 00:02:40,512 15 79 00:02:40,768 --> 00:02:41,536 And plays 80 00:02:41,792 --> 00:02:44,864 Ok so we're going out there's a couple of improvements that were gonna make 81 00:02:45,120 --> 00:02:46,912 And then for the scale at 82 00:02:47,168 --> 00:02:48,960 Three I'm going into the key there 83 00:02:49,472 --> 00:02:51,776 One click the link icon here 84 00:02:52,288 --> 00:02:53,568 And then 85 00:02:53,824 --> 00:02:57,408 Do something like .9 in the X and 1.1 in the Y 86 00:02:57,664 --> 00:02:59,712 Ok now let's turn on looping here 87 00:02:59,968 --> 00:03:01,504 So let's run animation 88 00:03:01,760 --> 00:03:02,528 At the far right here 89 00:03:02,784 --> 00:03:04,832 And then change all the interpolation mode 90 00:03:05,088 --> 00:03:05,600 2 91 00:03:06,624 --> 00:03:07,136 Cubic 92 00:03:10,464 --> 00:03:13,792 Ok so that's looking pretty good I think for this rotation 93 00:03:14,304 --> 00:03:16,352 Keyframe right here .1 seconds 94 00:03:16,608 --> 00:03:18,912 Will it change the easing so that something like 95 00:03:20,704 --> 00:03:23,008 And I might even make this more extreme like 3 96 00:03:24,544 --> 00:03:25,824 Ok awesome and then 97 00:03:26,080 --> 00:03:27,360 For the scale here 98 00:03:27,616 --> 00:03:29,920 So the scale keyframe at 0.2 99 00:03:30,176 --> 00:03:32,224 Will do the same I'm going to make the evening about 2 100 00:03:33,504 --> 00:03:39,648 Ok and then for this rotation keyframe the first one I'm going to change that easing to something like 1.7 ish 101 00:03:40,928 --> 00:03:43,232 Alright so that's looking pretty DC 102 00:03:43,488 --> 00:03:47,328 I'm gonna turn this to auto place I'm going to select auto play and load right here 103 00:03:47,584 --> 00:03:50,656 Anna let's go ahead and Run the game not a problem is that 104 00:03:50,912 --> 00:03:52,448 We're not going to see 105 00:03:52,960 --> 00:03:53,472 The wizard 106 00:03:53,728 --> 00:03:56,032 Spawning immediately so I'm going to go to my main 107 00:03:56,544 --> 00:03:58,592 I'm going to open up my enemy manager here 108 00:03:58,848 --> 00:04:01,920 And what I'm going to do is I am going to say 109 00:04:02,176 --> 00:04:07,040 Change this Arena difficulty line down here to say equals equals 1 110 00:04:07,296 --> 00:04:09,600 So that the wizard will start spawning after 5 sec 111 00:04:10,112 --> 00:04:11,648 So we can see what 112 00:04:11,904 --> 00:04:12,672 The animation 113 00:04:13,440 --> 00:04:15,232 So let's just wait for a few seconds here 114 00:04:15,488 --> 00:04:21,631 And that's actually not working in because this is I made a slight mistake here but it will be a good opportunity to 115 00:04:21,887 --> 00:04:23,167 Well you had a fix animation so 116 00:04:23,423 --> 00:04:25,471 What I accidentally did is 117 00:04:25,727 --> 00:04:27,775 Made this animation play 118 00:04:28,031 --> 00:04:30,335 Animate the wizard enemy 119 00:04:30,591 --> 00:04:32,639 Route now instead of the Sprite 2D 120 00:04:32,895 --> 00:04:34,687 Which is what I actually wanted to enemy 121 00:04:35,199 --> 00:04:40,319 Install fortunately this is a very easy fix so you can go your walk animation here 122 00:04:40,575 --> 00:04:42,367 And see answers wizard anime 123 00:04:42,623 --> 00:04:43,903 Now if you did it correct 124 00:04:44,927 --> 00:04:51,071 Leave it as it is if this is in a meeting the Sprite then that's good but if you did what I did and have the Wizard 125 00:04:51,583 --> 00:04:54,143 Then what you can do as you can I take double clicking here 126 00:04:54,655 --> 00:04:57,727 And you can edit these keys and what does represent 127 00:04:57,983 --> 00:04:59,775 Is there a notepad 128 00:05:00,031 --> 00:05:01,055 And then colon 129 00:05:01,311 --> 00:05:03,871 And then the property name and that's how it is 130 00:05:04,127 --> 00:05:04,639 So 131 00:05:04,895 --> 00:05:09,247 This no Pat is a dot which simply means the root node of the scene 132 00:05:09,759 --> 00:05:10,271 But 133 00:05:10,527 --> 00:05:12,575 I can do something like this I can type 134 00:05:12,831 --> 00:05:13,343 Visual 135 00:05:13,855 --> 00:05:14,623 Slash 136 00:05:15,135 --> 00:05:15,647 Sprite 137 00:05:16,671 --> 00:05:19,743 And see I've manually corrected that and now 138 00:05:19,999 --> 00:05:22,559 That track 4 position is animating the star 139 00:05:22,815 --> 00:05:23,327 Today 140 00:05:23,583 --> 00:05:25,119 So I can do the same thing for 141 00:05:25,375 --> 00:05:27,423 For both of us I can write visual 142 00:05:27,679 --> 00:05:28,191 Slash 143 00:05:28,447 --> 00:05:29,215 Right to die 144 00:05:29,471 --> 00:05:31,263 Copy that and hit enter 145 00:05:31,519 --> 00:05:32,543 And I'm going to do the same 146 00:05:33,567 --> 00:05:36,127 Now I've transferred all those animations 147 00:05:36,383 --> 00:05:36,895 Track 148 00:05:37,151 --> 00:05:37,919 To the spray 149 00:05:38,431 --> 00:05:40,735 And I also have to fix my recent animation 150 00:05:40,991 --> 00:05:42,527 So I'm going to go ahead and 151 00:05:43,039 --> 00:05:43,551 Do that 152 00:05:44,575 --> 00:05:45,343 Double click 153 00:05:45,599 --> 00:05:46,879 Replace the dart 154 00:05:47,135 --> 00:05:48,159 Visual / 155 00:05:49,439 --> 00:05:50,207 And 156 00:05:50,719 --> 00:05:51,999 All that is good 157 00:05:52,511 --> 00:05:57,631 Ok so everything should be fine so let's go ahead and Run the game now and verify that animation is work 158 00:05:58,143 --> 00:06:01,471 Alright I actually really like that animation I think that looks good 159 00:06:02,751 --> 00:06:06,847 Now one thing that we can do that out of bunch of Personality to have the Wizard of Oz 160 00:06:07,103 --> 00:06:08,383 Is we can actually 161 00:06:08,639 --> 00:06:10,943 Change when the wizard is moving 162 00:06:11,199 --> 00:06:12,735 So that it looks a little bit good 163 00:06:13,247 --> 00:06:14,271 So what's going to do that 164 00:06:14,527 --> 00:06:18,623 So right now our wizard and this is what I was talking about you want to maintain separate 165 00:06:18,879 --> 00:06:22,207 Enemies that we can customise the behaviour so this wizard 166 00:06:22,719 --> 00:06:24,767 Is curlers moving at a constant rate 167 00:06:25,023 --> 00:06:27,071 Watch this what I'm going to do something to create 168 00:06:27,583 --> 00:06:31,423 A new variable called is underscore moving in my wizards 169 00:06:31,679 --> 00:06:34,495 All said that to false which is a boolean value 170 00:06:34,751 --> 00:06:35,775 Then what I'm going to do 171 00:06:36,287 --> 00:06:39,359 Is I'm going to create a new function down here called 172 00:06:39,871 --> 00:06:40,895 Is moving 173 00:06:41,151 --> 00:06:42,431 And then we're going to say 174 00:06:42,687 --> 00:06:43,455 Moving 175 00:06:46,015 --> 00:06:47,807 And I've just marked with Bull 176 00:06:49,087 --> 00:06:50,879 Never going to say is moving in 177 00:06:51,135 --> 00:06:51,903 Go to movie 178 00:06:52,927 --> 00:06:54,207 Now watch what we can do 179 00:06:54,719 --> 00:06:55,743 I can write this 180 00:06:56,511 --> 00:06:57,023 F 181 00:06:57,279 --> 00:06:58,303 Is moving 182 00:06:59,583 --> 00:07:02,399 I'm going to indent this line this Excel 183 00:07:02,655 --> 00:07:03,167 Two player live 184 00:07:04,191 --> 00:07:07,519 Underneath that so accelerator player is only going to be called 185 00:07:07,775 --> 00:07:09,311 When is moving is true 186 00:07:09,823 --> 00:07:12,127 And I want to stop the wizard when is move 187 00:07:12,383 --> 00:07:15,455 So we actually need to open up our Velocity 188 00:07:15,711 --> 00:07:17,247 Component scripts I'm going to say 189 00:07:17,503 --> 00:07:18,783 Control shift 190 00:07:19,039 --> 00:07:20,063 Velocity component 191 00:07:20,319 --> 00:07:22,367 How many clicked the Script I can't open it 192 00:07:22,623 --> 00:07:23,903 If it's not already open yet 193 00:07:24,415 --> 00:07:25,695 And we need to 194 00:07:25,951 --> 00:07:27,487 Create a d salary 195 00:07:27,743 --> 00:07:28,767 So let's go out and do 196 00:07:29,023 --> 00:07:29,535 Funk 197 00:07:29,791 --> 00:07:30,559 Diesel 198 00:07:32,607 --> 00:07:34,399 Open that blow the accelerator 199 00:07:34,911 --> 00:07:35,935 We can just call 200 00:07:36,191 --> 00:07:38,239 Accelerate in Direction 201 00:07:38,751 --> 00:07:39,775 Vector2 202 00:07:41,567 --> 00:07:42,591 So what this is going to do 203 00:07:42,847 --> 00:07:44,127 Is this is going to say 204 00:07:44,383 --> 00:07:47,711 Call accelerating Direction with this Direction which is Which is 0 205 00:07:48,223 --> 00:07:53,599 Then our desired velocity is going to end up being 0 because Direction X max speed is going to be 0 206 00:07:53,855 --> 00:07:55,135 And then our Velocity will 207 00:07:55,391 --> 00:07:56,415 Towards zero 208 00:07:57,183 --> 00:08:01,535 So we can call decelerate now in our wizard so I'm going to open up the wizard script 209 00:08:01,791 --> 00:08:02,303 Weird 210 00:08:02,559 --> 00:08:04,863 Do an else statement right here 211 00:08:05,119 --> 00:08:06,655 So if it is moving 212 00:08:06,911 --> 00:08:08,447 Accelareader player 213 00:08:08,703 --> 00:08:09,983 Velocity component 214 00:08:11,007 --> 00:08:12,287 Decelerate 215 00:08:13,567 --> 00:08:14,335 Just like so 216 00:08:14,591 --> 00:08:20,735 And we're always going to come move why because we want to apply the movement represented by the valar 217 00:08:21,247 --> 00:08:24,319 Regardless of how where accelerating or decelerating 218 00:08:24,575 --> 00:08:29,439 You basically always want to be moving or calling move on the character body to die 219 00:08:29,695 --> 00:08:30,975 Even when the movie 220 00:08:31,231 --> 00:08:33,023 The velocity might be zero 221 00:08:33,279 --> 00:08:33,791 Ok 222 00:08:34,047 --> 00:08:38,143 So we Gotta is moving now I need to set this and the interesting thing we can do 223 00:08:38,399 --> 00:08:40,959 Is I'm going to go back to my wizard anime scene 224 00:08:41,471 --> 00:08:42,495 And click the 2D 225 00:08:42,751 --> 00:08:45,055 At the top I'm going to select the animation player 226 00:08:45,311 --> 00:08:47,871 And select My Walk animation 227 00:08:48,127 --> 00:08:50,431 In here we can Audi call method 228 00:08:50,687 --> 00:08:52,223 I'm going to add a comment 229 00:08:52,735 --> 00:08:53,759 Select the route 230 00:08:54,015 --> 00:08:55,551 Node of Wizard and 231 00:08:56,063 --> 00:08:58,367 And then in here what we can do is 232 00:08:58,623 --> 00:09:00,927 Put a keyframe at point once 233 00:09:01,439 --> 00:09:03,231 And we're going to call set 234 00:09:03,487 --> 00:09:04,255 Is move 235 00:09:04,511 --> 00:09:05,791 So that script method 236 00:09:06,047 --> 00:09:07,071 That we define 237 00:09:07,327 --> 00:09:09,375 Headset is moving doubleclick that 238 00:09:09,631 --> 00:09:10,911 And if you click on that key fob 239 00:09:11,423 --> 00:09:15,775 You can actually sit the value here so under the section 50 240 00:09:16,031 --> 00:09:17,823 We can turn this to on 241 00:09:18,079 --> 00:09:19,871 So set is moving true 242 00:09:20,127 --> 00:09:21,151 And then 243 00:09:21,407 --> 00:09:22,175 We can 244 00:09:22,687 --> 00:09:26,783 Turn the is moving off right here side 3 seconds or insert and 245 00:09:27,039 --> 00:09:30,367 Thank you with that same set is moving script method 246 00:09:30,623 --> 00:09:32,927 And that defaults to false so will be good 247 00:09:33,439 --> 00:09:34,463 So now what's happening 248 00:09:34,719 --> 00:09:36,767 There is a point to secondary 249 00:09:37,023 --> 00:09:39,327 In which the wizard can move 250 00:09:39,583 --> 00:09:40,607 And then 251 00:09:40,863 --> 00:09:43,167 2.2 secondaries Norwich that wizard will Beast 252 00:09:44,191 --> 00:09:45,471 So now if we play the game 253 00:09:45,983 --> 00:09:49,567 But we should see is that the wizard is actually going to shuffle along the ground 254 00:09:49,823 --> 00:09:51,359 Hair like a start stop 255 00:09:51,615 --> 00:09:52,127 Fashion 256 00:09:53,407 --> 00:09:55,711 And we're not really seeing that quite apparently 257 00:09:55,967 --> 00:10:00,063 So I'm going to change in the velocity component the acceleration 258 00:10:00,345 --> 00:10:02,376 Subtitled by online-courses.club We compress knowledge for you! 259 00:10:02,377 --> 00:10:02,367 Winter and acceleration up to 10 260 00:10:02,879 --> 00:10:03,391 Right here 261 00:10:03,647 --> 00:10:06,975 We probably need to go little bit higher so let's do 20 and acceleration 262 00:10:07,231 --> 00:10:10,815 Anthony animationplayer I'm also going to change this a little 263 00:10:11,327 --> 00:10:14,143 So I'm going to move this set is moving 264 00:10:14,399 --> 00:10:16,191 .05 seconds over 265 00:10:16,447 --> 00:10:17,215 So that is 266 00:10:17,471 --> 00:10:19,263 In the animation 267 00:10:20,543 --> 00:10:22,335 I think I should be going to let's go and run 268 00:10:22,591 --> 00:10:24,639 So again the acceleration for the wizards 269 00:10:24,895 --> 00:10:25,919 Play component it's 270 00:10:26,175 --> 00:10:26,687 20 271 00:10:26,943 --> 00:10:28,223 And then 272 00:10:28,479 --> 00:10:30,527 Ok so you can say at the wizard 273 00:10:30,783 --> 00:10:32,831 He's like starting and stopping at right 274 00:10:33,087 --> 00:10:35,135 There is a little bit more abrupt 275 00:10:36,159 --> 00:10:38,207 How is moving and I think that 276 00:10:38,719 --> 00:10:40,511 Bike gives a lot of character to 277 00:10:40,767 --> 00:10:41,535 And 278 00:10:41,791 --> 00:10:42,815 I think it's really cool 279 00:10:43,071 --> 00:10:46,655 I think that as a lot of life to the game as some 280 00:10:46,911 --> 00:10:49,215 Differentiation between the enemy movement 281 00:10:49,471 --> 00:10:51,007 And just generally 282 00:10:51,519 --> 00:10:52,799 Pretty goofy which aisle 283 00:10:53,311 --> 00:10:56,895 Alright so the wizard is animated let's go back to a main scene 284 00:10:57,151 --> 00:10:59,967 And click into the enemy manager 285 00:11:00,223 --> 00:11:02,271 I just make sure to set out 286 00:11:02,783 --> 00:11:04,063 Arena difficulty 287 00:11:04,319 --> 00:11:05,343 Back to see 288 00:11:05,599 --> 00:11:06,111 Right 289 00:11:07,647 --> 00:11:09,439 And The Wizard is now 290 00:11:09,695 --> 00:11:10,207 Done 19061

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