All language subtitles for 09. Introduction to AnimationPlayer

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:04,608 Let's continue on our sort ability and make it actually do something in 2 00:00:05,376 --> 00:00:06,912 I'm going to hit ctrl shift home 3 00:00:07,168 --> 00:00:08,448 To open up my 4 00:00:08,704 --> 00:00:09,216 Sword 5 00:00:09,472 --> 00:00:10,240 Ability 6 00:00:11,520 --> 00:00:12,544 A list of something 7 00:00:12,800 --> 00:00:14,848 Let's give it a little animation 8 00:00:15,104 --> 00:00:15,872 Of its wings 9 00:00:16,384 --> 00:00:19,968 So let's go ahead and add a new note underneath sort of Bill 10 00:00:20,480 --> 00:00:22,784 Going to get into the animation play 11 00:00:23,552 --> 00:00:25,088 Animation player is away 12 00:00:25,344 --> 00:00:26,368 Weekend animate thing 13 00:00:26,880 --> 00:00:27,648 And the 14 00:00:28,416 --> 00:00:31,232 The nice thing about the animation player in Godot is you can 15 00:00:31,488 --> 00:00:32,256 Make pretty much 16 00:00:32,512 --> 00:00:33,024 Play property 17 00:00:33,280 --> 00:00:35,328 So I'm going to do is I'm going to click on the end 18 00:00:35,584 --> 00:00:37,376 Fighting with the animation panel open 19 00:00:37,632 --> 00:00:39,680 You should automatically open if 20 00:00:39,936 --> 00:00:40,448 YouTube 21 00:00:40,704 --> 00:00:41,984 Is the animation player in the 22 00:00:42,496 --> 00:00:43,008 Wind 23 00:00:43,264 --> 00:00:44,288 If it doesn't 24 00:00:44,544 --> 00:00:45,568 You can go out in cricket 25 00:00:46,080 --> 00:00:46,848 Quickly anime 26 00:00:47,360 --> 00:00:47,872 At the bottom 27 00:00:48,128 --> 00:00:49,920 So now I'm going to collect this information 28 00:00:50,176 --> 00:00:50,688 The top of 29 00:00:52,736 --> 00:00:54,016 How much is call this 30 00:00:54,272 --> 00:00:54,784 Swing 31 00:00:55,040 --> 00:00:55,808 So now we've got 32 00:00:56,064 --> 00:00:57,344 Power animation 33 00:00:57,600 --> 00:01:00,397 Animation can be composed of multiple tracks 34 00:01:00,399 --> 00:01:02,875 Subtitled by online-courses.club We compress knowledge for you! 35 00:01:02,876 --> 00:01:03,744 And a track is essentially a single proper 36 00:01:04,000 --> 00:01:05,536 Tickets animated over time 37 00:01:06,560 --> 00:01:07,328 So what we can do 38 00:01:07,840 --> 00:01:08,352 Is 39 00:01:08,608 --> 00:01:10,144 We can modify the rotation 40 00:01:10,912 --> 00:01:13,216 So let's go ahead and select our Sprite 2D 41 00:01:13,472 --> 00:01:16,032 Thunderstep when we have the animationplayer 42 00:01:16,288 --> 00:01:16,800 Open contacts 43 00:01:17,056 --> 00:01:18,336 You will actually see 44 00:01:18,592 --> 00:01:20,128 Little key icon 45 00:01:20,384 --> 00:01:22,432 Next to every property in the inspector 46 00:01:22,688 --> 00:01:24,992 This means create a keyframe 47 00:01:25,248 --> 00:01:26,272 The current value 48 00:01:26,528 --> 00:01:27,040 And 49 00:01:27,296 --> 00:01:28,832 Create a track if it doesn't 50 00:01:29,344 --> 00:01:30,880 Jordan start with the road 51 00:01:31,136 --> 00:01:33,184 Scroll down to the new junior section 52 00:01:33,440 --> 00:01:35,232 Find transform rotation 53 00:01:35,488 --> 00:01:37,024 And click the key icon 54 00:01:37,792 --> 00:01:40,352 Levy settings default enabled and then 55 00:01:40,608 --> 00:01:41,120 Play create 56 00:01:41,376 --> 00:01:43,936 In order to create a new rotation 57 00:01:44,192 --> 00:01:44,704 Track 58 00:01:44,960 --> 00:01:46,496 Underneath our Spa 59 00:01:47,008 --> 00:01:49,824 To die in the bottom right here you have your zoom slider 60 00:01:50,080 --> 00:01:51,360 So you can slide this in and out 61 00:01:51,616 --> 00:01:54,688 When is light it up so we can see our animation little bit 62 00:01:55,200 --> 00:01:55,712 Listen 63 00:01:56,224 --> 00:01:56,736 Grey 64 00:01:56,992 --> 00:01:59,808 Region represents the length of the animation 65 00:02:00,064 --> 00:02:02,624 You can change the animation length over here 66 00:02:02,880 --> 00:02:05,184 By clicking in the box and then writing whatever 67 00:02:05,440 --> 00:02:05,952 You want 68 00:02:06,208 --> 00:02:08,000 Change the animation length of a point 69 00:02:08,256 --> 00:02:09,280 Three I think that's a good 70 00:02:09,792 --> 00:02:10,304 Anime 71 00:02:10,560 --> 00:02:13,376 Thank you and how we can do it we can manually place 72 00:02:13,632 --> 00:02:14,144 Keyframe 73 00:02:14,400 --> 00:02:14,912 On 74 00:02:15,424 --> 00:02:16,192 This track 75 00:02:16,448 --> 00:02:17,728 Now by The Fall 76 00:02:18,240 --> 00:02:19,008 The animation 77 00:02:19,520 --> 00:02:22,080 Snaps in 0.1 second 78 00:02:22,336 --> 00:02:22,848 Increment 79 00:02:23,360 --> 00:02:25,152 You can either turn the snap off 80 00:02:25,408 --> 00:02:26,944 By clicking the snap button right here 81 00:02:27,200 --> 00:02:29,504 And now you can move the scrubber freely 82 00:02:29,760 --> 00:02:32,832 Or you can change the snap by changing the value 83 00:02:33,088 --> 00:02:34,368 Add the text box to the right 84 00:02:34,624 --> 00:02:36,416 You can also hold a shift 85 00:02:36,672 --> 00:02:38,208 To go into increments 86 00:02:38,720 --> 00:02:39,744 One quarter 87 00:02:40,000 --> 00:02:42,560 Of what you've got currently configured as your 88 00:02:43,072 --> 00:02:43,840 So if I leave 89 00:02:44,096 --> 00:02:44,608 Add 90 00:02:44,864 --> 00:02:45,376 1 91 00:02:45,632 --> 00:02:46,912 I will go in increments of 92 00:02:47,936 --> 00:02:48,960 As I 93 00:02:49,216 --> 00:02:50,240 Old Ship 94 00:02:50,752 --> 00:02:53,824 So let's make this actually do a swing anime 95 00:02:54,336 --> 00:02:56,384 I'm probably gonna want to do is 96 00:02:56,640 --> 00:02:58,944 Halfway through at .15 97 00:02:59,456 --> 00:03:00,736 Wallace 2.2 98 00:03:01,248 --> 00:03:01,760 What's 99 00:03:02,016 --> 00:03:03,296 Put a scrubber 8.2 100 00:03:03,552 --> 00:03:05,600 And then right click the track 101 00:03:05,856 --> 00:03:06,880 Insert a keep 102 00:03:07,136 --> 00:03:08,672 These are the keyframes 103 00:03:09,696 --> 00:03:11,488 So if I click on the 104 00:03:11,744 --> 00:03:12,512 Start here 105 00:03:13,024 --> 00:03:15,840 You can see what my value is at that as well as 106 00:03:16,096 --> 00:03:16,864 Easing 107 00:03:17,120 --> 00:03:17,888 The time that is place 108 00:03:18,400 --> 00:03:20,960 If I click on a second one you can see what the time is 109 00:03:21,216 --> 00:03:22,240 Different but everything 110 00:03:22,496 --> 00:03:23,008 The same 111 00:03:23,520 --> 00:03:26,848 So what I'm going to do for this value as I'm actually going to make there's 90 112 00:03:27,104 --> 00:03:29,664 Or rather 180° 113 00:03:30,176 --> 00:03:31,712 Enough you scrub through 114 00:03:31,968 --> 00:03:32,736 Your notice 115 00:03:33,248 --> 00:03:33,760 This is 116 00:03:34,016 --> 00:03:34,784 Rotating 117 00:03:35,040 --> 00:03:35,552 Between 118 00:03:35,808 --> 00:03:37,088 New agrees in 100 119 00:03:37,856 --> 00:03:39,648 So we can play it with this button here 120 00:03:40,416 --> 00:03:41,696 Now that's kind 121 00:03:41,952 --> 00:03:42,976 Underwear 122 00:03:43,232 --> 00:03:43,744 Right 123 00:03:44,000 --> 00:03:45,280 Doesn't look very good 124 00:03:45,536 --> 00:03:48,608 The working on a couple of different anime 125 00:03:48,864 --> 00:03:49,376 I'm properties 126 00:03:49,632 --> 00:03:50,144 To make this 127 00:03:50,400 --> 00:03:51,680 Good so first 128 00:03:51,936 --> 00:03:54,240 I'm going to change this 129 00:03:54,496 --> 00:03:55,264 Cubic inch 130 00:03:55,520 --> 00:03:56,032 Population 131 00:03:56,288 --> 00:03:58,848 Default is linear and you can change it bye 132 00:03:59,104 --> 00:04:01,152 Going to the interpolation by dropdown 133 00:04:01,408 --> 00:04:02,432 To the farm 134 00:04:02,688 --> 00:04:03,200 Of the track 135 00:04:03,456 --> 00:04:03,968 Clicking it 136 00:04:04,224 --> 00:04:05,248 And then clicking 137 00:04:05,504 --> 00:04:06,528 You're interrelation 138 00:04:07,040 --> 00:04:09,600 I like to use cubic for almost everything 139 00:04:09,856 --> 00:04:10,880 Because I think that 140 00:04:11,136 --> 00:04:13,440 Gives a slightly more natural feeling 141 00:04:13,952 --> 00:04:14,464 Tiana 142 00:04:14,976 --> 00:04:16,768 Linear is exactly what it sounds 143 00:04:17,024 --> 00:04:18,559 Pictures does it at a constant rate 144 00:04:18,815 --> 00:04:21,119 Where is cubic actually modifies the 145 00:04:21,375 --> 00:04:21,887 Which there 146 00:04:22,143 --> 00:04:23,423 Changing place on the quay 147 00:04:24,191 --> 00:04:26,751 So find a cubic looks a little bit less robot 148 00:04:27,263 --> 00:04:30,591 So you might see a slight difference now when you play the animation 149 00:04:30,847 --> 00:04:31,871 If not that's ok 150 00:04:32,127 --> 00:04:34,687 Ok let's modify the scale 151 00:04:34,943 --> 00:04:35,455 Sprite 152 00:04:35,711 --> 00:04:36,223 Sewing 153 00:04:36,479 --> 00:04:36,991 As well 154 00:04:37,247 --> 00:04:39,551 So we're going to click on the Sprite again 155 00:04:39,807 --> 00:04:41,855 We're going to go down to the scale 156 00:04:42,111 --> 00:04:43,647 Property of transform 157 00:04:43,903 --> 00:04:45,183 And we're going to 158 00:04:46,975 --> 00:04:47,743 Quick create 159 00:04:48,511 --> 00:04:50,303 Drag this keyframe 160 00:04:50,559 --> 00:04:51,839 To the beach 161 00:04:52,351 --> 00:04:54,399 Then move your scrubber to 162 00:04:54,911 --> 00:04:55,423 Something 163 00:04:55,679 --> 00:04:56,703 .15 164 00:04:56,959 --> 00:04:57,727 Right-click 165 00:04:57,983 --> 00:04:59,263 Insert another key 166 00:05:00,287 --> 00:05:00,799 Location 167 00:05:01,055 --> 00:05:03,871 If it's not snapping that's ok you can just hold down 168 00:05:04,383 --> 00:05:06,943 Like I mentioned earlier and get it to be were you wanted to be 169 00:05:07,199 --> 00:05:09,759 And let's just change the scale to weigh 170 00:05:11,039 --> 00:05:11,551 Ok 171 00:05:11,807 --> 00:05:12,575 And then 172 00:05:12,831 --> 00:05:14,879 Let's put another keyframe at the very end 173 00:05:15,135 --> 00:05:16,415 Resetting the scale 174 00:05:16,671 --> 00:05:17,183 Back to 175 00:05:18,975 --> 00:05:21,791 So that all of a sudden is looking a lot nicer 176 00:05:22,303 --> 00:05:23,071 I might even 177 00:05:23,327 --> 00:05:24,607 The scale to be a fool 178 00:05:24,863 --> 00:05:25,375 2 179 00:05:25,631 --> 00:05:26,655 On that Keith 180 00:05:27,167 --> 00:05:27,935 Enniskillen 181 00:05:28,447 --> 00:05:28,959 Excellent 182 00:05:29,215 --> 00:05:30,239 That's looking pretty good 183 00:05:30,495 --> 00:05:35,359 Ok and I'm going to modify this actually even a little bit more so it's changed the animation 184 00:05:35,871 --> 00:05:36,383 2.5 185 00:05:36,639 --> 00:05:37,151 Sex 186 00:05:37,407 --> 00:05:38,431 Over on the right here 187 00:05:38,687 --> 00:05:41,759 You can highlight all of these keyframes by clicking and 188 00:05:42,271 --> 00:05:44,319 And then I'm just going to move these all 189 00:05:46,111 --> 00:05:50,975 By dragging them over and it looks like my snap settings are not agreeing with that 190 00:05:51,231 --> 00:05:52,767 So that's a simple fix 191 00:05:53,023 --> 00:05:58,911 Just disable the snap or change it to a lower value I'm going to change minor 0.05 in the corner 192 00:05:59,167 --> 00:05:59,679 Keep snap on 193 00:06:00,191 --> 00:06:01,471 Another drag is around 194 00:06:01,727 --> 00:06:03,007 You can see the door station 195 00:06:03,263 --> 00:06:03,775 Nicely 196 00:06:04,031 --> 00:06:05,823 Samuel moved I was just at the end 197 00:06:06,335 --> 00:06:10,943 And then for the beginning of the animation I'm actually going to start at a scale of 0 198 00:06:11,199 --> 00:06:13,247 I've inserted a new key at scale 199 00:06:13,503 --> 00:06:14,527 I'm going to 200 00:06:14,783 --> 00:06:16,063 Change that to 0 201 00:06:16,319 --> 00:06:17,343 Not going to start at zero 202 00:06:17,599 --> 00:06:18,879 I'm going to 203 00:06:19,135 --> 00:06:20,159 Very quickly 204 00:06:20,415 --> 00:06:21,951 Change the scale to be pass 205 00:06:22,207 --> 00:06:22,719 1 206 00:06:22,975 --> 00:06:24,511 So perhaps one 207 00:06:24,767 --> 00:06:25,279 25 208 00:06:25,535 --> 00:06:28,351 So what that's going to do is that's going to be like a little bounce 209 00:06:28,607 --> 00:06:29,631 Appearance 210 00:06:31,167 --> 00:06:33,471 Give us a little bit of a nicer animation 211 00:06:33,727 --> 00:06:36,031 No I'm going to extend the animation once again 212 00:06:36,543 --> 00:06:38,591 I'm going to go perhaps 2.75 213 00:06:38,847 --> 00:06:40,895 And then I'm going to make the sword 214 00:06:41,151 --> 00:06:41,663 Rotate 215 00:06:41,919 --> 00:06:45,759 Back into position just a little bit so let's say 216 00:06:46,015 --> 00:06:47,551 By .6 seconds 217 00:06:47,807 --> 00:06:50,623 Add a keyframe at the rotation track 218 00:06:50,879 --> 00:06:53,439 And where can I change that value to 9 219 00:06:53,951 --> 00:06:55,743 So that it comes back too 220 00:06:55,999 --> 00:06:56,767 Orizont 221 00:06:57,279 --> 00:06:58,303 Like so 222 00:06:58,559 --> 00:07:02,143 We can even have it come back to zero if we want it so let's see 223 00:07:03,167 --> 00:07:09,311 So you can see that if we move it back to zero and then we shift this keyframe all the way over 2.7 224 00:07:09,823 --> 00:07:12,383 You can see that are working really nice 225 00:07:12,639 --> 00:07:15,455 It's lashes.in and it returns back to its position 226 00:07:15,711 --> 00:07:19,551 If you select the keyframe before this keyframe we set it back to zero 227 00:07:19,807 --> 00:07:20,575 You can see that 228 00:07:20,831 --> 00:07:25,439 We have is easing Curve that is easing Curve allows us to change how quick 229 00:07:25,951 --> 00:07:26,975 The transition 230 00:07:27,743 --> 00:07:28,511 So if I 231 00:07:29,023 --> 00:07:31,327 Drag this easing by clicking and holding 232 00:07:31,583 --> 00:07:34,143 This is the ratio of so you can see how the curve 233 00:07:34,399 --> 00:07:36,703 Looks like it starts off slow and then speeds 234 00:07:36,959 --> 00:07:39,519 That's exactly what happened between you're to Keith 235 00:07:40,031 --> 00:07:41,055 Serrated and going 236 00:07:41,567 --> 00:07:42,847 Smoothly between 237 00:07:43,103 --> 00:07:45,407 180 and 0 degrees 238 00:07:45,919 --> 00:07:47,711 You will actually accelerate 239 00:07:48,223 --> 00:07:49,247 From 1 240 00:07:49,503 --> 00:07:50,015 Youtooz 241 00:07:50,783 --> 00:07:51,295 So what 242 00:07:51,807 --> 00:07:54,623 Do you see how it kind of delays even after 243 00:07:54,879 --> 00:07:58,719 It should already be transitioning to zero and then it speeds up and see 244 00:07:58,975 --> 00:07:59,487 Spac 245 00:07:59,999 --> 00:08:03,327 So I might put a little bit of that in there maybe 1.6 246 00:08:03,839 --> 00:08:06,143 Just give it a little bit more natural 247 00:08:06,655 --> 00:08:10,495 And regarding the scale let's go ahead and change the interpolation 248 00:08:10,751 --> 00:08:11,519 Cubic on 249 00:08:12,031 --> 00:08:12,543 Inside as 250 00:08:13,055 --> 00:08:17,151 So you can see and there's a little bit of anticipation in the attack as well and we can't even make that 251 00:08:17,407 --> 00:08:18,943 Dissipation even more 252 00:08:19,455 --> 00:08:21,247 By changing the rotation 253 00:08:21,759 --> 00:08:24,575 So let's go out and add a keyframe for rotation 254 00:08:24,831 --> 00:08:25,343 At the beginning 255 00:08:25,599 --> 00:08:26,623 Animation 256 00:08:26,879 --> 00:08:30,975 Started off at 0 in in second keyframe that was originally 0 257 00:08:31,231 --> 00:08:33,279 What is change it to -5 years 258 00:08:34,303 --> 00:08:35,839 Is an alpha playful animation 259 00:08:36,095 --> 00:08:41,471 You can see Amazon little bit of a wind up before it's lashes I might even make this -10 260 00:08:41,727 --> 00:08:42,495 To be a little bit 261 00:08:42,751 --> 00:08:47,103 Apparent you can scroll through the animation just to get a good idea and you can turn off snap 262 00:08:47,359 --> 00:08:50,687 Never give you a really good idea what your animation is look 263 00:08:51,455 --> 00:08:51,967 Perfect 264 00:08:52,479 --> 00:08:56,319 And then we're going to finish off the animation by making the sword 265 00:08:56,575 --> 00:09:00,159 Disappear out of existence so we're going to take this animation 266 00:09:00,415 --> 00:09:01,439 Open another 267 00:09:01,695 --> 00:09:03,999 Keyframe at the end of that scale track 268 00:09:04,255 --> 00:09:05,279 Internet 20 269 00:09:07,583 --> 00:09:11,935 So that's disappearing 20 a little bit quickly or going to use that easing trick again 270 00:09:12,191 --> 00:09:14,495 So I'm going to click on the second to last 271 00:09:14,751 --> 00:09:16,031 Keyframe on 272 00:09:16,543 --> 00:09:17,311 Scale 273 00:09:17,823 --> 00:09:23,967 I'm going to turn that easingwood is going to drag down a little bit create that Curve that starts off slow and speeds 274 00:09:24,223 --> 00:09:25,247 Sync 275 00:09:26,015 --> 00:09:27,295 We could even make this more 276 00:09:27,807 --> 00:09:30,111 So I've set reminder 5.65 277 00:09:30,367 --> 00:09:34,719 Perfect so now you can see that that's looking really good actually as an attack 278 00:09:35,487 --> 00:09:38,815 What's the election game we still have the code in place that just sponsor 279 00:09:39,071 --> 00:09:41,119 The player that looks like in game 280 00:09:41,375 --> 00:09:45,215 Ok and we got a problem here which is that nothing is playing 281 00:09:45,727 --> 00:09:49,311 And that's because we need to click on her animation player for sword ability 282 00:09:49,567 --> 00:09:51,359 And click this button in the top bar 283 00:09:51,615 --> 00:09:53,663 Call AutoPlay on load 284 00:09:53,919 --> 00:09:55,967 Automatically play this animation 285 00:09:56,223 --> 00:09:57,759 When it gets loaded into 286 00:09:58,015 --> 00:09:58,527 The same tree 287 00:09:59,039 --> 00:09:59,551 So now what 288 00:10:00,345 --> 00:10:03,144 Subtitled by online-courses.club We compress knowledge for you! 289 00:10:03,145 --> 00:10:03,391 So that's looking pretty good isn't it 290 00:10:04,415 --> 00:10:05,439 You can imagine this 291 00:10:05,695 --> 00:10:08,511 Popping up next to an enemy and then immediately attack 292 00:10:09,023 --> 00:10:10,303 So there is one problem here 293 00:10:10,559 --> 00:10:12,607 Let's go out and press the pause button 294 00:10:13,119 --> 00:10:16,959 Up here which is going to pause or game so that nothing is happening anymore 295 00:10:17,215 --> 00:10:19,007 The execution of the game is entirely poor 296 00:10:19,519 --> 00:10:21,311 Why are games running or pause 297 00:10:21,823 --> 00:10:22,591 You can go 298 00:10:22,847 --> 00:10:24,383 To this remote 299 00:10:24,639 --> 00:10:25,151 Button 300 00:10:25,407 --> 00:10:26,687 Up here under the sea 301 00:10:27,199 --> 00:10:27,711 Dark 302 00:10:27,967 --> 00:10:28,479 Click that 303 00:10:28,991 --> 00:10:30,271 And this will show you 304 00:10:30,527 --> 00:10:32,319 The scene tree as exist 305 00:10:32,575 --> 00:10:33,087 In the day 306 00:10:33,599 --> 00:10:36,415 And so we can see all of the things that exist 307 00:10:36,927 --> 00:10:37,439 In the game 308 00:10:37,695 --> 00:10:39,487 So we got a play or basic 309 00:10:39,999 --> 00:10:41,279 And there's a problem 310 00:10:41,535 --> 00:10:43,327 Do you see all of these sort a bill 311 00:10:43,583 --> 00:10:45,375 The little something that you need to be mine 312 00:10:45,887 --> 00:10:47,423 Godot does not automatic 313 00:10:47,679 --> 00:10:48,703 Free any noise 314 00:10:48,959 --> 00:10:49,983 From your scene 315 00:10:50,239 --> 00:10:51,775 You have to do that yourself 316 00:10:52,287 --> 00:10:54,591 Otherwise you'll end up delivering the scene 317 00:10:54,847 --> 00:10:56,639 And eventually bogging down the Sith 318 00:10:56,895 --> 00:10:57,663 If there's enough 319 00:10:58,175 --> 00:10:59,199 Nodes that 320 00:10:59,455 --> 00:11:00,479 Should have been cleaned 321 00:11:02,527 --> 00:11:04,831 The final thing that we're gonna do on this sword animation 322 00:11:05,087 --> 00:11:06,111 Is we're going to make it 323 00:11:06,367 --> 00:11:06,879 Creatine 324 00:11:07,391 --> 00:11:08,159 From the same tree 325 00:11:08,415 --> 00:11:11,743 Where do that with a call method track so when I click add 326 00:11:12,255 --> 00:11:14,559 Select call method track which is the Green Day 327 00:11:15,071 --> 00:11:16,863 Click the sword ability 328 00:11:17,119 --> 00:11:17,887 Routenote 329 00:11:18,143 --> 00:11:18,655 Click ok 330 00:11:18,911 --> 00:11:20,191 Right click Internet 331 00:11:20,447 --> 00:11:21,471 New track 332 00:11:21,727 --> 00:11:22,239 Just created 333 00:11:22,495 --> 00:11:23,519 Quick insert key 334 00:11:23,775 --> 00:11:24,799 Search for 335 00:11:25,311 --> 00:11:25,823 Q 336 00:11:26,079 --> 00:11:26,847 Underscore 337 00:11:27,103 --> 00:11:27,615 Free 338 00:11:27,871 --> 00:11:28,383 Likes 339 00:11:29,407 --> 00:11:30,175 And what is does 340 00:11:30,687 --> 00:11:32,479 Q3 you can call from a screw 341 00:11:32,735 --> 00:11:33,759 Ori animation 342 00:11:34,015 --> 00:11:35,807 You can call any function that you want from me 343 00:11:36,063 --> 00:11:37,343 Q3 344 00:11:37,599 --> 00:11:39,135 Would be typically called a floor 345 00:11:39,391 --> 00:11:43,487 Code but I find it useful to do an animation play When the animation is finished 346 00:11:43,743 --> 00:11:45,023 Because that makes the sea 347 00:11:45,279 --> 00:11:48,095 Sort of self-cleaning we don't actually need to write anything 348 00:11:48,607 --> 00:11:49,375 To handle the car 349 00:11:49,631 --> 00:11:53,727 And soak you free what does what do is this will wait until the next idle 350 00:11:54,239 --> 00:11:55,263 To remove 351 00:11:56,287 --> 00:11:57,055 From the same tree 352 00:11:57,311 --> 00:11:58,591 As well as free from them 353 00:11:59,103 --> 00:12:00,127 What is that mean to 354 00:12:00,639 --> 00:12:01,663 Read on the next 355 00:12:02,175 --> 00:12:03,199 Essentially means 356 00:12:03,455 --> 00:12:04,479 After a good day 357 00:12:04,735 --> 00:12:06,783 Has processed all of its physics 358 00:12:07,039 --> 00:12:08,319 Collisions in what 359 00:12:08,575 --> 00:12:10,879 After all the signals have been 360 00:12:11,135 --> 00:12:11,647 And 361 00:12:12,159 --> 00:12:16,767 And it gets to the idle frame which means that good deal has done all of its life cycle event 362 00:12:17,279 --> 00:12:18,559 It will then be free data 363 00:12:19,327 --> 00:12:22,143 And this is just good practise because they're not insured 364 00:12:22,399 --> 00:12:25,727 That there's nothing at actively wants to reference 365 00:12:25,983 --> 00:12:26,751 The note 366 00:12:27,007 --> 00:12:27,775 After you 367 00:12:28,031 --> 00:12:28,799 Right so 368 00:12:29,055 --> 00:12:33,151 Guaranteed that goes dum doing everything with the know that it was going to do 369 00:12:33,407 --> 00:12:34,175 And then it will be 370 00:12:34,687 --> 00:12:36,223 And will use this more later 371 00:12:36,479 --> 00:12:38,527 For sure I'm just going to try and get to the end 372 00:12:39,039 --> 00:12:41,343 75 Seconds of the enemy animation 373 00:12:41,599 --> 00:12:42,879 And Alfie Run the game again 374 00:12:43,391 --> 00:12:44,671 And let some swords pop 375 00:12:45,183 --> 00:12:46,207 Animal cosmic gaming 376 00:12:46,463 --> 00:12:47,487 You should see 377 00:12:47,743 --> 00:12:50,303 Either one or no sore 378 00:12:50,559 --> 00:12:51,071 Depending on 379 00:12:51,327 --> 00:12:51,839 Can you pause it 380 00:12:52,095 --> 00:12:55,423 If your sword is not visible on the screen but it still shows up here 381 00:12:55,935 --> 00:12:58,751 Maybe it's just because you passed it before the end 382 00:13:00,543 --> 00:13:03,359 When are you can see that are remote seeing three is nice and clean 383 00:13:03,615 --> 00:13:05,663 There is no extra sort a bill 384 00:13:06,175 --> 00:13:07,199 Hanging around 385 00:13:07,455 --> 00:13:09,503 Another we've made a sort of ability 386 00:13:09,759 --> 00:13:12,319 Look nice and that we had an introduction 387 00:13:12,575 --> 00:13:14,111 To the animation play 388 00:13:14,367 --> 00:13:16,159 It's time to actually make this 389 00:13:16,415 --> 00:13:17,183 Sword ability 390 00:13:17,439 --> 00:13:17,951 Funk 391 00:13:18,463 --> 00:13:19,743 So that's what we're going to do 392 00:13:19,999 --> 00:13:21,279 In the next life 24894

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