[flow_default] Transcription: 006 Finishing the game.json
Browse files
transcriptions/006 Finishing the game.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_file": "006 Finishing the game.wav",
|
| 3 |
+
"text": "Hi everyone, welcome to another tutorial on the games series and today we're going to be completing our game. So basically creating a finish line for it. So to get started with that, let's create a cube here at the end where it's going to be our finish line where the player completed the level. So let's go ahead on the top there and let's hit create and let's select the cube. Let's kill the cube on the green axis and on the red one. Go ahead and let's move it a little bit over here so the player jumps and it finishes the level. With that said, let's also create a collision box here like a box trigger where if the player entered this location we can activate that the player won't. So in order to create this trigger we're going to go to create and we're going to select box trigger. Perfect. So here we have a box trigger. Let's scale this in our green access and let's scale this on our red one and a little bit on the blue too. Perfect. And I'll just drag it up a bit and drag it towards the red axis. There you go. Here we have our box and whenever our player enters this box, of course, on your screen, you should align this to the platform that you want. Otherwise, the player might fall into love and complete the level. So just watch out. But yeah, when the player enters this box, he will finish the game. Cool. So what we're going to do now is we're going to go into the level blueprint and that's where we're going to create all the logic if the player wins the game. So we're going to go all the way top to the Blueprints. We're going to click Open Level Blueprint. So on the Level Blueprint, what we're going to do is we are going to reference this box that we just created. So we click on the trigger box, we go back to our Level Blueprint and we right-click it. And now we have this Add Event option. So we're going to press Add Event for collision whenever the actor begin the overlap. Perfect. So whenever the actor begin the overlap, what we're going to do is we're going to build our complete level widget. Cool. So once we drag the on actor begin overlap, now what we need to do is we need to cast to our third player actor. That way we know that if it was a third player that actually overlapped with that box, we want to trigger our UI to say level completed. And I'm going to go and drag from the execution flow, and we're going to create a widget. And we're going to go and drag from the execution flow, and we're going to create a widget. And we can now go to class here and select our level completed. One last step is to just add this widget to the viewports. We're going to drag from the execution flow, add to viewport, make sure you drag your target. So your return value to your target. So it adds to the screen and now compile and save. So now if we should, if we complete the course, we actually triggered the UI to say level completed, and you're done with your game, or at least with your first level of the game, of course. So let's try this out. This is going to be hard. Okay, okay. So let's go ahead for the next one. All right, we're in the next one. Just one more. Let's go one more. Perfect. And now if we go into the box, you can see level completed. And we just finished our first mini game. And it was a lot of fun. So of course, on your game, if you're pursuing a game, you're going to have different levels and the way you want to build. But this is a really simple example where you can actually create obstacles, create platforms and create things that your player can interact with and actually reward it with a level completed. So thank you so much for being here on this tutorial series and on this course. We really appreciate, have a great day.",
|
| 4 |
+
"language": "en",
|
| 5 |
+
"confidence": null,
|
| 6 |
+
"duration": 228.91
|
| 7 |
+
}
|