samfred2 commited on
Commit
c237f56
·
verified ·
1 Parent(s): ee07d8f

[flow_default] Transcription: 003 UI animation.json

Browse files
transcriptions/003 UI animation.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_file": "003 UI animation.wav",
3
+ "text": "Welcome back. So right now we're going to build our UI loading screen so we can execute that after the cutscene. Perfect. So the first thing that we're going to do is we're actually going to let's save this current scene and let's close the sequencer for now. Let's press Ctrl Space to go into a content browser and let's create a new folder called Animations or let's say UI screens. And inside UI screens, we're gonna right click it and create a new user interface and a new widget blueprint. Perfect. And this is gonna be our UI intro. Perfect. That's a great name. Now let's double click in our widget and here we have our widget editor where we can actually create our own UIs. So the first thing that we want to do is that the loading screen we want it to be black and then fade out to our new cutscene. Okay and we can also have some text in there. So before you begin that I'm just going to go over the widget creator here so you can get comfortable with it. So you have access to the palette here. What the palette is, it has built-in widgets that you can drag and drop into a screen and populate it. So let's say I want a text, I'm just going to drag it here and write a text and this can be displayed on the screen as a 2D UI. So what we're going to do here is we're going to, you see that you have your canvas, you need your canvas to actually build and construct your UI elements. So what we're going to do is we're going to search for image and image is under common and we're going to drag it under the canvas panel. This image is what we're it's going to be our background. So we want our background black. And we also wanted to cover the entire screen. So what we're going to do is an image details. First of all, we're going to go to anchors and we're going to select the full screen anchor right here. And you're not just going to select it, but you're going to select it, pressing control in your keyboard so you can update the position to match. Perfect. There you go. You have your first image right here. Let's rename this image to background. Perfect. And now let's change the color to black. So in the color properties right here. Now we have our black UI screen and let's also add a text in the Canvas panel. And as you can see, we have our text block right there. Let's press size to content. So the box always fits the content inside of it. Let's go to anchors and I want the loading to show up in the middle of the screen. So we're going to press control and then you're going to select the middle. There you go. And you can adjust it a little bit because it's going to be anchored to the top position of the text box. And you can just adjust it a little bit if you want or just mess around with the anchor to align it correctly. So I just adjusted how I want it. And now I'm going to change the font to be 50. And let's just readjust for now. And we're gonna change this text block to be, we're gonna change the text content to be loading. So we're gonna go press loading right here. There you go. You can arrange that with everyone. There's some games that has the loading right here. You know, either one, we're just doing simple here, just so you get the idea. So let's do loading dot, dot, dot. Perfect. Yeah, this is looking good. So we already have our UI right here, but we need it's kind of boring if it just shows loading and gets removed from our screen. So we want to add an animation to the UI. So in order to do that, we're going to click on the tab here, animations. We're going to press new animation and it's going to be intro UI animation. Perfect. With your intro UI selection now you have access to the timeline which is very similar to the one that we saw in the previous video but here you actually can control the UI elements and their other properties. So in order to add something to your track let's select the background right here and let's go to track and background and also let's add our text to the timeline. Perfect. Now we have two tracks right here and we can animate the properties of the background and the text block. So what we're going to do now is we're going to add a keyframe to our background. So let's extend here. So we have still the five seconds. Let's click on the background. Let's go to 250 and let's add a new track. Let's add color and opacity. Let's add a key frame there. Let's open it up. And we want the alpha to start changing from on the 250 until the five seconds and we want it to be reduced to zero. So if I press zero right here, as you can see, created this alpha animation where it just transitions slowly to transparent. Perfect. That's one of the animations. We also want to do that with our text, but our text we wanted to fade in and then fade out. So now let's go to the beginning of the timeline. Let's press new track and let's go to color and opacity. Perfect. Let's add a keyframe right here. And now we want the loading to appear. So we're going to start with the alpha all the way to zero. Let's make sure our create new key with property changes is set to on. There you go. And let's go to 250. And let's set the alpha back to one. And now from 250 to five, we want it to fade. So let's go back to zero. Very simple animation. Let's see how it looks loading. And I fades in for five seconds. I'm doing five seconds a little bit much. But because I know I noticed that the scene takes a little bit around five seconds to render completely. So I just try to time it into account. So perfect. You know, created your own little animation on the next tutorial, we're going to see how you can link this animation to the blueprint so you can actually play that when the level starts. So thank you so much, I'll see you there.",
4
+ "language": "en",
5
+ "confidence": null,
6
+ "duration": 393.69
7
+ }