All language subtitles for 44. Adding Floating Damage Text

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:03,328 Something that is a must have in these kind of games is 2 00:00:03,584 --> 00:00:05,888 Doing a hip flash when it enemy gets 3 00:00:06,400 --> 00:00:09,984 As well as spawning a nice big number 4 00:00:10,240 --> 00:00:12,288 That shows you how much damage you do 5 00:00:12,800 --> 00:00:14,336 Even though that doesn't sound like a lot 6 00:00:14,592 --> 00:00:17,664 It's going to add so much to the feel of are gay 7 00:00:18,176 --> 00:00:21,504 The first thing that we're gonna do is we're gonna create a floating tour 8 00:00:21,760 --> 00:00:22,272 Scene 9 00:00:22,528 --> 00:00:23,552 They can spawn 10 00:00:23,808 --> 00:00:26,112 Numbers in accordance with the Damned 11 00:00:26,368 --> 00:00:27,392 That was done 12 00:00:27,648 --> 00:00:29,184 So let's get started 13 00:00:29,440 --> 00:00:30,976 Let's create a new scene 14 00:00:32,000 --> 00:00:34,816 We're gonna make it a route type of no 2D 15 00:00:35,328 --> 00:00:37,120 Let's call this floating 16 00:00:38,912 --> 00:00:39,680 And let's see 17 00:00:39,936 --> 00:00:41,472 And save it in scene 18 00:00:41,984 --> 00:00:43,776 We'll put it in the UI director 19 00:00:44,288 --> 00:00:45,312 And say 20 00:00:46,848 --> 00:00:47,360 Ok 21 00:00:47,616 --> 00:00:49,664 So the first thing I want to do is Rihanna 22 00:00:49,920 --> 00:00:50,944 And Child 23 00:00:51,456 --> 00:00:54,272 And let's create a type of label 24 00:00:55,040 --> 00:00:57,344 And then let's write some sort of death 25 00:01:00,123 --> 00:01:02,747 Subtitled by online-courses.club We compress knowledge for you! 26 00:01:02,748 --> 00:01:04,512 Now we're going to do is we are going to set on the label 27 00:01:05,024 --> 00:01:06,304 We are going to 28 00:01:06,560 --> 00:01:07,328 Go to the 29 00:01:07,584 --> 00:01:08,864 Custom minimum size 30 00:01:09,376 --> 00:01:10,656 Set a to something like 31 00:01:11,168 --> 00:01:11,936 200 32 00:01:12,192 --> 00:01:12,704 Wide 33 00:01:12,960 --> 00:01:14,240 Or list E14 34 00:01:14,496 --> 00:01:15,008 Wide 35 00:01:15,264 --> 00:01:17,056 Actually sorry to keep going back and forth 36 00:01:17,312 --> 00:01:18,848 100 sounds good to me 37 00:01:19,104 --> 00:01:21,408 Anna let's do 32 in the war 38 00:01:21,920 --> 00:01:25,760 And the reason I'm doing this is because this gives me a known size 39 00:01:26,016 --> 00:01:27,808 So that I can send it proper 40 00:01:28,320 --> 00:01:31,136 So firstly I'm going to change my horizontal align 41 00:01:31,392 --> 00:01:32,416 The top 2 Centre 42 00:01:32,672 --> 00:01:34,720 And the vertical alignment to Centre 43 00:01:34,976 --> 00:01:35,488 As well 44 00:01:36,256 --> 00:01:38,560 And since I have this custom minimum size 45 00:01:38,816 --> 00:01:41,632 I actually know what my proper position leads to 46 00:01:42,144 --> 00:01:43,424 In order to have the centre 47 00:01:43,680 --> 00:01:44,704 And that is 48 00:01:44,960 --> 00:01:46,496 100 / 2 49 00:01:46,752 --> 00:01:47,520 In the position 50 00:01:47,776 --> 00:01:49,312 So a transform position 51 00:01:49,568 --> 00:01:50,848 100 / 2 52 00:01:51,104 --> 00:01:52,640 It has to be negative 53 00:01:52,896 --> 00:01:53,920 100 / 2 54 00:01:54,432 --> 00:01:56,992 And then we can do -32 / 2 55 00:01:57,504 --> 00:02:00,320 And now my label is right in the sun 56 00:02:00,576 --> 00:02:01,344 Exactly right 57 00:02:01,600 --> 00:02:02,880 Actually I think 58 00:02:03,392 --> 00:02:05,440 This phone is actually a little bit taller 59 00:02:05,696 --> 00:02:07,232 So I can hold control 60 00:02:07,488 --> 00:02:08,000 Drag 61 00:02:08,256 --> 00:02:09,792 On the position to say 62 00:02:11,072 --> 00:02:11,840 So negative 63 00:02:12,352 --> 00:02:13,120 Is appropriate here 64 00:02:14,400 --> 00:02:16,960 Centre in the good thing about this is that we can have 65 00:02:17,216 --> 00:02:19,008 Pretty large text in a 66 00:02:19,264 --> 00:02:19,776 Recenter 67 00:02:20,032 --> 00:02:23,360 Where as if I did this you can see now it's offset 68 00:02:23,616 --> 00:02:25,408 Because it's extended in it 69 00:02:25,664 --> 00:02:26,688 In its Direction 70 00:02:26,944 --> 00:02:30,784 Right so that's what we're trying to avoid by giving it a fix 71 00:02:31,040 --> 00:02:31,808 Minimum 72 00:02:33,344 --> 00:02:36,416 M4 we go any further let's go ahead and add 73 00:02:36,672 --> 00:02:39,744 A outline to this would I make the outline a little bit 74 00:02:40,000 --> 00:02:42,304 Smaller than outline we did previously there 75 00:02:42,560 --> 00:02:44,864 So I'm going to scroll down to the theme override 76 00:02:45,376 --> 00:02:47,168 Turn on font outline colour 77 00:02:47,424 --> 00:02:51,264 And then turn on outline size and make the outline size something 78 00:02:51,776 --> 00:02:53,568 I think two will be appropriate 79 00:02:54,080 --> 00:02:57,920 And then I'm going to open up my Arena time you I seen 80 00:02:58,176 --> 00:02:58,688 Control 81 00:02:58,944 --> 00:03:00,992 Oh so here's the arena time you 82 00:03:01,504 --> 00:03:04,832 Click the label in the scene tree there 83 00:03:05,856 --> 00:03:07,136 Go ahead and copy this 84 00:03:07,392 --> 00:03:07,904 Colour 85 00:03:08,160 --> 00:03:10,208 By clicking on the colour bar in there 86 00:03:10,720 --> 00:03:12,256 Copying this hex code 87 00:03:12,512 --> 00:03:14,048 Now what you can also do if you were 88 00:03:14,560 --> 00:03:15,584 Is I can 89 00:03:15,840 --> 00:03:18,400 Go to the swatches drop down right here 90 00:03:18,656 --> 00:03:22,240 And I can't click the Plus button and now this colour will be saved 91 00:03:22,496 --> 00:03:23,264 In other 92 00:03:23,520 --> 00:03:24,288 Colour picker 93 00:03:24,544 --> 00:03:26,592 So that way I don't have to copy so 94 00:03:26,848 --> 00:03:28,384 If I go back to my flooring 95 00:03:29,152 --> 00:03:30,688 And then I change this 96 00:03:30,944 --> 00:03:31,968 Colour by clicking into 97 00:03:32,224 --> 00:03:34,528 I can explain the swatches and then click 98 00:03:34,784 --> 00:03:35,808 Colour 99 00:03:36,064 --> 00:03:36,576 There we go 100 00:03:36,832 --> 00:03:38,112 We are going to 101 00:03:38,368 --> 00:03:38,880 Want 102 00:03:39,136 --> 00:03:39,904 Animated 103 00:03:40,416 --> 00:03:44,512 We can animate one of two ways we can use an animation player 104 00:03:44,768 --> 00:03:45,536 Or we can 105 00:03:45,792 --> 00:03:46,560 Is a twin 106 00:03:47,072 --> 00:03:51,168 I think we've got enough exposure to animation players so far in this course 107 00:03:51,424 --> 00:03:56,800 So I'm going to do twins again and took them again because I think they are really 108 00:03:57,056 --> 00:03:57,824 Cheltenham 109 00:03:58,080 --> 00:04:00,896 So let's go and create a script for this floating text 110 00:04:02,432 --> 00:04:04,480 And a default location is ok 111 00:04:05,248 --> 00:04:07,808 Override the ready method 112 00:04:08,064 --> 00:04:09,600 And a let's create a new 113 00:04:09,856 --> 00:04:11,904 Between with bar tween is he 114 00:04:13,696 --> 00:04:16,512 Now what we're going to do is we are going to 115 00:04:16,768 --> 00:04:17,536 Animed 116 00:04:17,791 --> 00:04:18,815 The position 117 00:04:19,327 --> 00:04:20,607 So that it's lies 118 00:04:20,863 --> 00:04:22,655 Slows down and then Goes Again 119 00:04:23,167 --> 00:04:24,191 Salisu tween 120 00:04:24,447 --> 00:04:24,959 Dad 121 00:04:25,983 --> 00:04:26,495 Property 122 00:04:28,287 --> 00:04:30,335 And we're going to clean the property of our self 123 00:04:30,847 --> 00:04:32,895 The property is going to be global position 124 00:04:33,407 --> 00:04:34,687 In our final 125 00:04:35,967 --> 00:04:38,271 Final value is going to be our global 126 00:04:38,527 --> 00:04:39,295 Position 127 00:04:39,807 --> 00:04:40,319 Plus 128 00:04:40,575 --> 00:04:43,391 And then in parentheses let's do vector2 129 00:04:44,415 --> 00:04:44,927 X 130 00:04:45,439 --> 00:04:47,231 Steam and then order relation 131 00:04:47,487 --> 00:04:48,255 Is going to be 132 00:04:48,511 --> 00:04:49,535 Website 133 00:04:50,047 --> 00:04:50,559 3 134 00:04:50,815 --> 00:04:52,607 Ok so this is a little bit confusing 135 00:04:52,863 --> 00:04:55,935 And actually we don't want this to be in the ready-made anyway 136 00:04:56,191 --> 00:04:58,239 Create a new function called start 137 00:04:58,495 --> 00:05:01,311 And then let's take a text value let's say 138 00:05:01,823 --> 00:05:02,335 Text 139 00:05:02,591 --> 00:05:03,871 Of type string 140 00:05:04,895 --> 00:05:07,199 And let's move this tween code into there 141 00:05:08,479 --> 00:05:11,295 And let's just write pass under the ready method 142 00:05:11,807 --> 00:05:13,599 Brown sew-on star 143 00:05:14,111 --> 00:05:15,903 Let's do another thing before we continue 144 00:05:16,159 --> 00:05:19,743 Between let's grab a reference to a label with dollar sign 145 00:05:20,255 --> 00:05:21,023 Label 146 00:05:21,279 --> 00:05:22,815 And then say label data 147 00:05:23,071 --> 00:05:24,607 Is equal to the tax that were passed 148 00:05:26,143 --> 00:05:30,495 So now it's reading between winning our global position so 149 00:05:30,751 --> 00:05:32,287 The root node global 150 00:05:32,543 --> 00:05:36,895 And we are going to tween into the position that is directly up 151 00:05:37,151 --> 00:05:37,919 By 6 152 00:05:38,431 --> 00:05:38,943 In pixels 153 00:05:39,455 --> 00:05:40,735 So that's the purpose of doing 154 00:05:41,247 --> 00:05:43,807 Let's use our easiest cheat sheet 155 00:05:44,063 --> 00:05:44,575 Again 156 00:05:44,831 --> 00:05:45,599 So here's 157 00:05:45,855 --> 00:05:46,623 Easons pay 158 00:05:46,879 --> 00:05:47,391 Again 159 00:05:48,415 --> 00:05:49,951 When we want to do when we won 160 00:05:50,207 --> 00:05:51,231 The text to 161 00:05:51,487 --> 00:05:52,767 What I want to do is 162 00:05:53,279 --> 00:05:54,047 Why are 163 00:05:54,303 --> 00:05:55,839 Really quick and slow down 164 00:05:56,095 --> 00:05:59,935 Hang at that position for a little bit and then and then rise up some 165 00:06:00,447 --> 00:06:02,751 So what I think we want to something like he's out 166 00:06:03,007 --> 00:06:05,567 So it's going to slide up really quick 167 00:06:05,823 --> 00:06:08,895 Slow down and then we're going to work in a speed it up again 168 00:06:09,407 --> 00:06:11,711 I probably using something like he's in 169 00:06:12,223 --> 00:06:15,295 Cubic so we can combine and he's out cubic with easing 170 00:06:15,807 --> 00:06:16,319 Radio 171 00:06:16,575 --> 00:06:19,903 What's go ahead and I'm going to do a new line with that backslash 172 00:06:20,159 --> 00:06:21,183 I'm going to say set 173 00:06:22,463 --> 00:06:23,999 And this is going to be a 174 00:06:25,279 --> 00:06:25,791 Out 175 00:06:27,839 --> 00:06:30,143 And wearing a set the transition type of 176 00:06:30,655 --> 00:06:31,167 Cubic 177 00:06:33,471 --> 00:06:37,311 And then the next thing is going to happen is tween dot tween 178 00:06:37,823 --> 00:06:38,335 Property 179 00:06:38,847 --> 00:06:39,871 When I do sell 180 00:06:40,383 --> 00:06:41,151 Globo 181 00:06:41,407 --> 00:06:42,175 Position 182 00:06:42,943 --> 00:06:48,575 And then we're going to do this same lines I'm just going to copy this global position Plus vector2 183 00:06:48,831 --> 00:06:49,599 Time 60 184 00:06:50,111 --> 00:06:51,647 Instead let's do time 185 00:06:51,903 --> 00:06:52,415 40 186 00:06:52,927 --> 00:06:54,463 This is saying is 187 00:06:54,719 --> 00:06:56,511 The girl from my current position 188 00:06:56,767 --> 00:06:58,559 To a global position + 6 189 00:06:59,071 --> 00:07:00,607 And then we're gonna go from there 190 00:07:00,863 --> 00:07:03,423 To whatever our current global position + 4 years 191 00:07:03,935 --> 00:07:06,495 I remember when you're supplying these parameter 192 00:07:07,007 --> 00:07:09,823 These are being evaluated at the time you defined 193 00:07:10,335 --> 00:07:11,103 Which means that 194 00:07:11,359 --> 00:07:15,711 Global position is the current global position at the time at start 195 00:07:15,967 --> 00:07:16,479 Cold 196 00:07:16,735 --> 00:07:18,271 And so when we say 197 00:07:18,527 --> 00:07:22,367 Lower position plus x 48 we have to keep in mind 198 00:07:22,623 --> 00:07:25,183 That by the time this one gets run 199 00:07:25,439 --> 00:07:28,767 It's already going to be 16 pixels to the way of the 200 00:07:29,023 --> 00:07:29,535 Position 201 00:07:29,791 --> 00:07:30,303 Because of 202 00:07:30,559 --> 00:07:31,327 Coming up here 203 00:07:31,583 --> 00:07:32,351 Another word 204 00:07:32,607 --> 00:07:34,655 It's not going to go and additional 205 00:07:34,911 --> 00:07:36,191 48 pixels 206 00:07:36,703 --> 00:07:38,239 Because we're starting from the same 207 00:07:38,751 --> 00:07:39,775 I hope that makes sense 208 00:07:40,031 --> 00:07:43,359 It is one of those things where you will figure it out the more you work 209 00:07:43,615 --> 00:07:44,895 Tweenies you'll see how they 210 00:07:45,407 --> 00:07:47,711 Ok so I'm going to make this point 4 seconds 211 00:07:47,967 --> 00:07:52,319 Put another new line you don't have to do this if you have plenty of room but I'm going to put a new line 212 00:07:52,575 --> 00:07:53,855 Malta 213 00:07:55,391 --> 00:07:56,671 I'm going to say set 214 00:07:56,927 --> 00:07:57,695 Ease 215 00:07:57,951 --> 00:07:59,487 Going to do tween.js 216 00:07:59,743 --> 00:08:02,815 Out now he's in Radyr sorry 217 00:08:03,071 --> 00:08:03,839 And then set 218 00:08:04,095 --> 00:08:04,863 Trans 219 00:08:05,375 --> 00:08:06,143 Between 220 00:08:06,399 --> 00:08:06,911 Trans 221 00:08:07,167 --> 00:08:07,679 Cuba 222 00:08:09,471 --> 00:08:10,751 This is going to go 223 00:08:11,007 --> 00:08:12,031 And then 224 00:08:12,287 --> 00:08:14,847 Hang around the middle point and then 225 00:08:15,103 --> 00:08:15,615 And then 226 00:08:16,127 --> 00:08:20,223 Before we go any further with this tween Let's Get It hooked up so we can actually see at work 227 00:08:20,735 --> 00:08:26,879 What I'm going to do is I'm going to open up my heart box component in this is the thing that's going to be responsible for actually spawn 228 00:08:27,391 --> 00:08:28,415 This number 229 00:08:28,671 --> 00:08:29,183 So 230 00:08:29,439 --> 00:08:34,047 Let's create an export actually what's my doing export variable I'm going to show you an alternate way 231 00:08:34,303 --> 00:08:36,095 Of loading scenes 232 00:08:36,607 --> 00:08:37,887 So I'm going to say 233 00:08:38,911 --> 00:08:39,423 Loading 234 00:08:39,679 --> 00:08:40,191 Text 235 00:08:40,447 --> 00:08:40,959 Scene 236 00:08:41,215 --> 00:08:43,007 In my heart box components group 237 00:08:43,263 --> 00:08:44,287 Is equal to 238 00:08:44,543 --> 00:08:45,567 Reload 239 00:08:45,823 --> 00:08:48,127 And preload is a function that is essentially 240 00:08:48,383 --> 00:08:48,895 Will 241 00:08:49,151 --> 00:08:54,015 Have your the seen that your referencing loaded so in here I pass a path to a c 242 00:08:54,527 --> 00:08:55,039 And it was 243 00:08:55,295 --> 00:08:57,087 Already had that scene loaded 244 00:08:57,343 --> 00:09:00,927 And ready to go I believe even before the Script 245 00:09:01,183 --> 00:09:03,231 Fires the ready method so the preload 246 00:09:03,487 --> 00:09:05,279 Let's go out and look at the documentation 247 00:09:05,791 --> 00:09:08,095 Yeah so the documentation says during runtime 248 00:09:08,351 --> 00:09:09,631 The Resource is Louder 249 00:09:09,887 --> 00:09:10,911 When the Script is 250 00:09:11,167 --> 00:09:11,679 Parts 251 00:09:11,935 --> 00:09:17,055 Essentially it's just going to guarantee that the scene is ready to use by the time 252 00:09:17,311 --> 00:09:17,823 Your 253 00:09:18,079 --> 00:09:19,359 Code is running in this 254 00:09:19,615 --> 00:09:22,175 So we want to preload and ringing a preload 255 00:09:22,687 --> 00:09:25,247 The path that contains our flooring 256 00:09:25,759 --> 00:09:28,063 I'm actually just going to type in here floating text 257 00:09:28,575 --> 00:09:32,671 And the suggestions are good enough that it knows that I want a load one of these things 258 00:09:32,927 --> 00:09:35,487 Make sure you load the dart tsyn 259 00:09:36,767 --> 00:09:38,559 And there is offloading taxi 260 00:09:38,815 --> 00:09:42,399 So now we don't have to have a property cluttering up 261 00:09:42,655 --> 00:09:43,423 H 262 00:09:43,679 --> 00:09:45,215 Our property list here 263 00:09:45,471 --> 00:09:48,031 When were using a search box component across up 264 00:09:49,567 --> 00:09:54,687 Now the one thing to be very careful of is that if you ever move the position of this flooding 265 00:09:55,199 --> 00:09:59,807 Then it will not be automatically updated in your script 266 00:10:00,345 --> 00:10:02,248 Subtitled by online-courses.club We compress knowledge for you! 267 00:10:02,250 --> 00:10:02,879 You're going to have to go and manually change the string 268 00:10:03,135 --> 00:10:04,927 If the part of your flooring tax change 269 00:10:05,183 --> 00:10:07,999 So that's the downside of using pre load in this matter 270 00:10:08,255 --> 00:10:09,791 Is a generally 271 00:10:10,047 --> 00:10:14,143 Want to avoid hard coding resource pass if possible 272 00:10:14,399 --> 00:10:16,191 But sometimes it's worth doing 273 00:10:16,447 --> 00:10:17,983 Especially to declutter 274 00:10:18,239 --> 00:10:20,543 Useless properties that you don't need to be 275 00:10:21,055 --> 00:10:23,871 That's all floating text seen that were preloader 276 00:10:24,127 --> 00:10:24,895 And then 277 00:10:25,151 --> 00:10:26,431 On area and 278 00:10:26,943 --> 00:10:27,455 So 279 00:10:27,711 --> 00:10:30,271 In here we can actually spawn the floating tap 280 00:10:30,527 --> 00:10:33,343 So what I made you to save our floating text 281 00:10:33,855 --> 00:10:34,879 Is equal to 282 00:10:35,391 --> 00:10:35,903 Warrington 283 00:10:36,159 --> 00:10:36,671 See 284 00:10:36,927 --> 00:10:38,463 Instantiate 285 00:10:38,719 --> 00:10:40,511 Listen Stansted as a note to die 286 00:10:40,767 --> 00:10:42,303 What's a get 3 287 00:10:42,559 --> 00:10:44,351 Get first node in group 288 00:10:44,607 --> 00:10:47,423 And leads use foreground underscore layer 289 00:10:47,679 --> 00:10:48,447 And I'm going to say 290 00:10:48,703 --> 00:10:50,239 Add child flooring tax 291 00:10:50,495 --> 00:10:52,799 Adding the floating text to the foreground 292 00:10:53,055 --> 00:10:55,359 Now you'll notice I'm not being defensive in here 293 00:10:55,615 --> 00:10:57,407 Which might be a good idea but 294 00:10:57,663 --> 00:11:03,807 I think it's useful to show you what this looks like in a single line here we don't have to do a piece meal we can do every 295 00:11:04,319 --> 00:11:05,599 All at once just like that 296 00:11:06,111 --> 00:11:08,927 And I'm pretty much guarantee that the foreground layer is going to 297 00:11:09,183 --> 00:11:12,511 I guess I just want to emphasise that defensive program 298 00:11:12,767 --> 00:11:14,047 Is important 299 00:11:14,303 --> 00:11:15,839 And you should take the time to do it 300 00:11:16,095 --> 00:11:19,935 But you know sometimes it's not super necessary so I'm going to skip that 301 00:11:20,191 --> 00:11:20,703 For now 302 00:11:20,959 --> 00:11:22,495 And I'm going to say my flooring 303 00:11:22,751 --> 00:11:24,031 Doug Logan position 304 00:11:25,567 --> 00:11:28,639 Is going to be equal to the global position of this 305 00:11:28,895 --> 00:11:33,503 Hurtbox components of the reason that it's nice to attach this functionality to the herb box component 306 00:11:33,759 --> 00:11:37,087 Is Dad we can just buying the text at the 307 00:11:37,343 --> 00:11:37,855 The hurt box 308 00:11:38,111 --> 00:11:40,415 Which is generally centred around the enemy 309 00:11:40,671 --> 00:11:41,183 That were 310 00:11:41,439 --> 00:11:43,743 So the text is going to spawn base near the centre of the Earth 311 00:11:44,255 --> 00:11:45,535 And then we can call Florence 312 00:11:46,047 --> 00:11:46,815 Start 313 00:11:47,071 --> 00:11:48,607 And what we want to pass in here 314 00:11:48,863 --> 00:11:51,935 Here's the damage so hitbox component Dad 315 00:11:52,191 --> 00:11:53,215 Damage now 316 00:11:53,471 --> 00:11:54,751 I want to do string 317 00:11:55,007 --> 00:11:56,543 Which is a function that turns 318 00:11:56,799 --> 00:11:57,311 A 319 00:11:57,567 --> 00:12:01,407 A variant or basically any type in go into a string 320 00:12:01,663 --> 00:12:03,967 And here I'm going to pass the hitbox 321 00:12:04,223 --> 00:12:04,735 Start 322 00:12:06,527 --> 00:12:10,879 And if all went well we should start seeing damage flooding up from our enemies when we 323 00:12:12,671 --> 00:12:13,951 Ok so there's a lot of work to do 324 00:12:14,207 --> 00:12:18,559 I think I changed my mind about the outline the outline just looks inconsistent now 325 00:12:18,815 --> 00:12:21,631 And so I'm going to go back to my flooring tax scene 326 00:12:21,887 --> 00:12:22,911 Turn my label 327 00:12:23,167 --> 00:12:24,959 Click on the two details we can see already 328 00:12:25,215 --> 00:12:25,983 And 329 00:12:26,239 --> 00:12:28,287 Using a line size of 6 330 00:12:28,543 --> 00:12:31,871 And while I'm here I'm going to probably use that same outline size 331 00:12:32,127 --> 00:12:34,943 In this label in the arena time you as well 332 00:12:35,455 --> 00:12:36,735 So let's change that to see 333 00:12:37,247 --> 00:12:39,039 I think it looks a little bit more reasonable 334 00:12:39,295 --> 00:12:40,319 No problem here 335 00:12:40,575 --> 00:12:42,111 Navigate to Derailleur gears 336 00:12:42,367 --> 00:12:43,391 There is a little 337 00:12:43,647 --> 00:12:45,439 Tiny gap right here 338 00:12:45,695 --> 00:12:51,839 Which is still grey until the way we can do that is I'm just going to turn on the shadow offset y and the shadow offset 339 00:12:52,351 --> 00:12:53,631 And then turn on the fan 340 00:12:53,887 --> 00:12:54,911 Shadow colour 341 00:12:55,167 --> 00:12:55,935 Like that 342 00:12:56,191 --> 00:12:56,959 It's black 343 00:12:57,215 --> 00:12:58,495 So I'm just going to click into it 344 00:12:58,751 --> 00:13:00,287 Close watches and then 345 00:13:00,799 --> 00:13:01,567 Click the 346 00:13:02,079 --> 00:13:03,615 Coloured sand how I feel dinner Grey 347 00:13:03,871 --> 00:13:05,663 And we've shrank the size of 348 00:13:06,175 --> 00:13:08,223 Outline so it looks a little bit less egregious 349 00:13:08,479 --> 00:13:09,759 I think it looks really good 350 00:13:10,015 --> 00:13:11,551 And apply this same 351 00:13:12,063 --> 00:13:13,087 The same 352 00:13:13,343 --> 00:13:14,623 Shadow fix 353 00:13:14,879 --> 00:13:16,415 2-hour flooding text as well 354 00:13:16,671 --> 00:13:19,231 Let's go back over a floating text and do the same thing 355 00:13:19,487 --> 00:13:21,535 So check shadow offset why 356 00:13:21,791 --> 00:13:23,071 And Shadow office 357 00:13:23,327 --> 00:13:23,839 X 358 00:13:24,351 --> 00:13:24,863 And then 359 00:13:25,119 --> 00:13:25,631 Change 360 00:13:25,887 --> 00:13:27,423 The font shadow colour 361 00:13:27,935 --> 00:13:28,703 To that 362 00:13:29,215 --> 00:13:29,727 Brown 363 00:13:30,495 --> 00:13:32,031 And I would just make sure there's no go 364 00:13:32,543 --> 00:13:33,823 I was going to run the game 365 00:13:34,079 --> 00:13:34,847 And see how old 366 00:13:36,383 --> 00:13:38,687 I think that's looking a lot nicer 367 00:13:38,943 --> 00:13:40,223 It's a thicker 368 00:13:40,479 --> 00:13:41,247 Outline 369 00:13:41,503 --> 00:13:44,831 Generally looks better and is roughly the same as 370 00:13:45,855 --> 00:13:46,879 Why you expect 371 00:13:47,391 --> 00:13:49,439 From a natural character in this 372 00:13:49,695 --> 00:13:55,071 Pack so there's a bunch of problems do water flooding text so let's continue working on it the first thing we want to do 373 00:13:55,327 --> 00:13:58,143 Is we want to do tween in r 374 00:13:58,399 --> 00:13:58,911 So 375 00:13:59,167 --> 00:14:00,447 Recording tax strip 376 00:14:00,703 --> 00:14:03,263 Tween tween underscore callback 377 00:14:03,519 --> 00:14:05,055 Let's do q-free 378 00:14:06,335 --> 00:14:08,127 And don't forget do not involve 379 00:14:08,383 --> 00:14:09,407 Q3 like that 380 00:14:09,663 --> 00:14:11,199 You just want to do a referee 381 00:14:12,223 --> 00:14:13,247 Level four 382 00:14:13,503 --> 00:14:15,551 We also wanted to scale in so 383 00:14:15,807 --> 00:14:18,623 Let's put some spaces in between these tweeners 384 00:14:18,879 --> 00:14:19,647 So we can 385 00:14:19,903 --> 00:14:20,671 Understand 386 00:14:20,927 --> 00:14:21,695 A little bit better 387 00:14:21,951 --> 00:14:23,999 So remember the last time we were working 388 00:14:24,255 --> 00:14:24,767 Tweens 389 00:14:25,023 --> 00:14:29,375 We use the set parallel and we're going to do the same thing here because we want to 390 00:14:29,631 --> 00:14:32,703 We want a tween the scale of the number 391 00:14:32,959 --> 00:14:33,471 Well 392 00:14:33,727 --> 00:14:37,567 So let's do tween darts set parallel London 393 00:14:37,823 --> 00:14:38,591 The Creator 394 00:14:39,359 --> 00:14:39,871 And then 395 00:14:40,383 --> 00:14:41,151 Put a new line 396 00:14:41,407 --> 00:14:43,967 Between this club opposition or .3 seconds 397 00:14:44,223 --> 00:14:47,039 What's also tween tween property 398 00:14:47,551 --> 00:14:48,319 Self 399 00:14:49,343 --> 00:14:50,111 Scale 400 00:14:50,367 --> 00:14:51,135 In quotes 401 00:14:51,391 --> 00:14:53,439 Will our final value to be 402 00:14:53,695 --> 00:14:54,975 Becca 2.1 403 00:14:55,231 --> 00:14:57,279 Which is the scale of 1:1 404 00:14:57,535 --> 00:15:00,095 And then our generation were going to make that also 405 00:15:01,887 --> 00:15:03,679 Let's go back door easing 406 00:15:03,935 --> 00:15:07,263 Chichi and again I will like this and a lesson resource 407 00:15:07,775 --> 00:15:10,079 What I want to use as I wanna use 408 00:15:10,335 --> 00:15:12,383 Is out I'll ask a lot 409 00:15:12,639 --> 00:15:18,015 So what that's going to do is that's going to actually exceed 11 and then snap back 410 00:15:18,271 --> 00:15:22,367 And it's gonna look really nice so he's out elastic is what we want to you 411 00:15:22,879 --> 00:15:24,415 Something to say set these 412 00:15:24,927 --> 00:15:27,487 Tween type is out 413 00:15:27,999 --> 00:15:29,023 How can I use a ladder 414 00:15:30,559 --> 00:15:32,863 Ok then I'm actually going to do a new line 415 00:15:33,119 --> 00:15:33,631 Here 416 00:15:33,887 --> 00:15:34,399 Just that 417 00:15:34,655 --> 00:15:35,167 I can see that 418 00:15:35,423 --> 00:15:35,935 Easier 419 00:15:36,191 --> 00:15:36,703 Ok 420 00:15:36,959 --> 00:15:42,335 So now very important thing that you can't miss is we need to do tween doll 421 00:15:42,591 --> 00:15:43,103 Shane 422 00:15:43,871 --> 00:15:45,151 If you don't do tween chat 423 00:15:45,407 --> 00:15:47,199 All of these are going around the same time 424 00:15:47,455 --> 00:15:48,479 Entertainer look very 425 00:15:48,735 --> 00:15:51,039 Twin dad Shane again 426 00:15:51,295 --> 00:15:55,135 Wait for the previously defined twins you can have any number of these 427 00:15:55,391 --> 00:15:57,183 Wait for the previously defined 428 00:15:57,439 --> 00:15:58,975 To finish before moving on 429 00:15:59,487 --> 00:16:01,535 And so we're going to clean the sky 430 00:16:01,791 --> 00:16:05,119 Again so what I'm going to do if I'm going to copy this scale tween 431 00:16:05,375 --> 00:16:06,399 Lines here 432 00:16:06,911 --> 00:16:08,959 And put those underneath our second 433 00:16:09,215 --> 00:16:09,983 Global 434 00:16:10,751 --> 00:16:12,543 And we're gonna change this to 435 00:16:12,799 --> 00:16:13,823 4 seconds as well 436 00:16:14,335 --> 00:16:15,359 I'm going back to 437 00:16:15,615 --> 00:16:17,151 The cheat sheet here 438 00:16:17,407 --> 00:16:19,199 I want to use I think 439 00:16:19,455 --> 00:16:22,783 An ease in cubic so that 440 00:16:23,039 --> 00:16:28,671 It maintains of fairly large-scale and then rent out very quick 441 00:16:28,927 --> 00:16:30,463 Actually I might use easy 442 00:16:30,719 --> 00:16:33,023 Now he's in cubic will be good because I'm ready 443 00:16:34,815 --> 00:16:37,887 So is in cubic is what we want to use so 444 00:16:38,143 --> 00:16:38,655 Here 445 00:16:38,911 --> 00:16:40,447 We're gonna change this 446 00:16:40,703 --> 00:16:41,215 He's out 447 00:16:41,471 --> 00:16:42,495 To ease in 448 00:16:43,007 --> 00:16:44,543 Instead for the scale 449 00:16:44,799 --> 00:16:45,823 And then we're going to do 450 00:16:46,335 --> 00:16:46,847 Between 451 00:16:47,103 --> 00:16:47,615 Trans 452 00:16:47,871 --> 00:16:48,383 Cuba 453 00:16:49,151 --> 00:16:49,919 Just like so 454 00:16:50,175 --> 00:16:52,223 Ok now very important again 455 00:16:52,479 --> 00:16:55,807 You'll have to call tweendykes on here as well 456 00:16:56,063 --> 00:16:56,831 Otherwise 457 00:16:57,087 --> 00:16:59,903 This Q3 is going to be cold at the same time as the rest of the 458 00:17:00,159 --> 00:17:02,719 And you won't see the second half of the animation 459 00:17:02,975 --> 00:17:06,815 Now this elastic might be a little bit excessive but we can use back 460 00:17:07,071 --> 00:17:07,583 2 461 00:17:07,839 --> 00:17:09,631 A lighter version of the 462 00:17:09,887 --> 00:17:10,399 Essentially 463 00:17:10,655 --> 00:17:11,679 XC Weather 464 00:17:11,935 --> 00:17:12,447 Looks like 465 00:17:15,519 --> 00:17:17,311 Looks like that's not work 466 00:17:17,823 --> 00:17:20,895 Unfortunately it looks like we're not going to 467 00:17:21,151 --> 00:17:23,967 Bounce that were looking for when we're dealing with this 468 00:17:24,223 --> 00:17:24,735 Small 469 00:17:24,991 --> 00:17:26,783 Scale so what you can actually do 470 00:17:27,039 --> 00:17:31,135 Is instead of trying to get to the scale tween to work in a bar 471 00:17:31,391 --> 00:17:32,159 Particular way 472 00:17:32,415 --> 00:17:33,183 Within 473 00:17:33,439 --> 00:17:33,951 Sister 474 00:17:34,207 --> 00:17:35,999 We can actually create a separate 475 00:17:36,255 --> 00:17:37,535 Scale tween 476 00:17:37,791 --> 00:17:38,303 To start 477 00:17:38,815 --> 00:17:39,839 So I'm going to 478 00:17:40,095 --> 00:17:40,607 Copy 479 00:17:40,863 --> 00:17:41,887 You're cut this 480 00:17:42,143 --> 00:17:42,911 Scale 2 481 00:17:43,167 --> 00:17:43,679 I'm here 482 00:17:43,935 --> 00:17:44,447 And 483 00:17:44,959 --> 00:17:47,263 How many create a new scale tween 484 00:17:47,519 --> 00:17:48,287 At the bottom 485 00:17:48,543 --> 00:17:51,103 Bar scale underscore between is equal 486 00:17:51,359 --> 00:17:51,871 Create 487 00:17:52,127 --> 00:17:52,639 Twin 488 00:17:52,895 --> 00:17:54,431 And I'm going to pay for that 489 00:17:54,687 --> 00:17:55,199 Let's 490 00:17:55,455 --> 00:17:55,967 Do 491 00:17:58,527 --> 00:18:02,111 Scale underscore twins or rename that descale 492 00:18:02,879 --> 00:18:08,255 Ok and then what we're going to do is we're going to scale to vector2 that 1 x 1.5 493 00:18:08,511 --> 00:18:09,279 So we got up 494 00:18:09,535 --> 00:18:10,303 1.5 495 00:18:10,559 --> 00:18:12,863 And in the X and 1.5 in the Y 496 00:18:13,119 --> 00:18:14,399 I never change the duration 497 00:18:14,655 --> 00:18:15,935 2.15 498 00:18:16,191 --> 00:18:19,519 And then we're going to use the ease type out 499 00:18:19,775 --> 00:18:21,311 The transition type of 500 00:18:22,079 --> 00:18:22,591 Cubic 501 00:18:23,359 --> 00:18:25,407 Animals copy and paste this life 502 00:18:25,919 --> 00:18:27,199 So it's .15 503 00:18:27,455 --> 00:18:27,967 Again 504 00:18:28,223 --> 00:18:31,039 Accept we're going to go down to Vector to that one instead of 505 00:18:31,295 --> 00:18:33,087 21 x 1 506 00:18:33,343 --> 00:18:33,855 5 507 00:18:34,111 --> 00:18:35,391 And we're going to change this 508 00:18:35,647 --> 00:18:36,159 Ease 509 00:18:37,439 --> 00:18:37,951 In 510 00:18:38,207 --> 00:18:41,023 Enlist tween is essentially going to run parallel to 511 00:18:41,279 --> 00:18:41,791 Other one 512 00:18:42,047 --> 00:18:45,119 I'm and it's only going to be a donation appointment for you second 513 00:18:45,631 --> 00:18:48,959 This twin should be done by the time this scale 514 00:18:49,215 --> 00:18:49,727 Here 515 00:18:49,983 --> 00:18:50,495 Kicks in 516 00:18:51,007 --> 00:18:53,567 What's going on that and see how that work 517 00:18:57,151 --> 00:19:00,223 Alright that's looking pretty good I'm I'm very happy with her 518 00:19:00,479 --> 00:19:02,271 That is looking there 519 00:19:02,527 --> 00:19:06,367 I think one thing I'm going to do is perhaps change this vector to that one 520 00:19:06,879 --> 00:19:08,927 X 1.52 x 2 521 00:19:09,183 --> 00:19:10,207 And see if they 522 00:19:10,463 --> 00:19:11,999 Becomes a little bit more 523 00:19:16,607 --> 00:19:18,143 That's looking really good 524 00:19:18,399 --> 00:19:21,215 Alright and then one final thing is I'm going to change 525 00:19:23,007 --> 00:19:25,823 In the Global position in scale of an atom 526 00:19:26,079 --> 00:19:29,407 Between 2.5 I'm going to highlight a point for 527 00:19:29,663 --> 00:19:30,687 Head control 528 00:19:30,943 --> 00:19:32,735 To slight both of them and then do 529 00:19:32,991 --> 00:19:33,503 5 530 00:19:33,759 --> 00:19:38,623 And even a 10th of a second can make a huge difference in the feel of the flooring 531 00:19:40,927 --> 00:19:42,975 Alright so this is looking really great so 532 00:19:43,231 --> 00:19:45,791 Play the game for a little bit and see how the number 533 00:19:46,047 --> 00:19:48,351 Feels to you I think the numbers and all that 534 00:19:48,607 --> 00:19:50,143 We're still not done with this 535 00:19:50,399 --> 00:19:51,167 Impact 536 00:19:51,423 --> 00:19:53,215 We do want to do a Hitler 537 00:19:53,727 --> 00:19:56,543 Before we do that lets do one final thing 538 00:19:56,799 --> 00:19:58,079 The numbers are kind of 539 00:19:58,335 --> 00:20:00,127 Spawning on top of 540 00:20:00,383 --> 00:20:01,151 The rat 541 00:20:01,407 --> 00:20:03,455 And now that I'm playing with it I think that 542 00:20:03,967 --> 00:20:07,295 Sorry to keep going back and forth but I think that the skills a little bit too much 543 00:20:07,807 --> 00:20:08,831 Some of the change the 544 00:20:09,343 --> 00:20:09,855 2 545 00:20:10,111 --> 00:20:11,391 21.5 546 00:20:11,903 --> 00:20:13,439 Back to 1.5 weather 547 00:20:13,695 --> 00:20:14,463 And then 548 00:20:14,719 --> 00:20:16,255 In my heart box component 549 00:20:16,767 --> 00:20:18,815 I'm going to ask this floating text 550 00:20:19,327 --> 00:20:20,095 In the sky 551 00:20:20,351 --> 00:20:23,935 Where we are selling the global position I'm just going to go ahead and add 552 00:20:24,191 --> 00:20:26,751 In parentheses vector3.up 553 00:20:27,007 --> 00:20:27,519 Time 554 00:20:28,287 --> 00:20:28,799 60 555 00:20:29,055 --> 00:20:30,335 So I'm just going to send it up 556 00:20:30,847 --> 00:20:34,431 16 pixels so it's offset from the enemy a little bit 557 00:20:36,735 --> 00:20:37,759 That's going to be 558 00:20:38,015 --> 00:20:38,527 Respect I think 559 00:20:38,783 --> 00:20:41,343 So play around with that and see how it feels to you 560 00:20:41,599 --> 00:20:43,391 I think it's feeling really good 561 00:20:43,903 --> 00:20:45,439 Like I said we're not done 562 00:20:45,695 --> 00:20:46,207 Yet 563 00:20:46,463 --> 00:20:46,975 So 564 00:20:47,231 --> 00:20:48,511 Let's get to the 565 00:20:48,767 --> 00:20:49,791 Part of this work 566 00:20:50,303 --> 00:20:51,071 In the new 567 00:20:51,327 --> 00:20:51,839 Listen 36304

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