Join Craig Barr for an in-depth discussion in this video Building settings for game output, part of Unreal: Architectural & Industrial Visualization.
- [Instructor] We've come to the stage in our visualization project where we have built everything, we've lit everything, we've got all our render settings ready. We've actually created some nice still images. We've output a video directly out of Unreal Engine, as well. And the cool thing again about using a game engine, especially something like Unreal Engine 4, for a visualization is all these options, right? And they're growing. So we have still images, we have a video, and now we're about to build a playable game, something that a viewer can experience. So they can actually walk through and experience a visualization on their own terms.
And of course, with that, I said that you could take this even further. And this is where you could take it into something like virtual reality, for example. But right now, let's focus on testing our playable game to make sure it works for what we want it to do before we set up how to build or package the project. The first thing that we should do is simply just make sure that we're playing game as it exists when we build it out. So we'll just play it in the viewport here. Just a note on that, anytime you're building a project, the playability of it or, for that matter, the performance of it is based on your hardware configuration.
Anything that plays within the viewport of the engine is typically going to be maybe a little bit less than you're going to get on it as a standalone game. So you can preview this as a standalone game if you want. For this here, though, I've worked at keeping this quite light, so the performance is actually quite nicer than the viewpoint. So, we're going to take a look at a couple of things here. With that note, there are performance, we can put on here show our FPS, so showing stats. And that's going to show our frames per second and there it is scrolling as we go.
Underneath the play menu, I'm going to use selected viewport and I'm just going to make sure that it's at the default player start. And I'll hit play. In here, I'll just click in the viewport, and I'm now able to walk around and work within the scene. And you can see that the frame rate I'm getting is fine. It definitely will be better performance when it's a standalone game that I built. Now the thing that I first notice here is that I'm moving way too fast for what I would like it to be. So this is where we want to adjust this, this is where it's worthwhile testing out the game overall.
So let's just hit escape, come out of there. And let's go to our first person character, so in the world outliner, just click that. And let's just scroll down here a bit. If you look at all these components that are immediately under the details area, go right to the bottom. Character movement, this controls everything related to the first person character in here. And if we go right from the top down, you can see that we have everything from gravity to things like acceleration, we don't want to work with max acceleration right here. What we want to work with is simply our speed.
So we're doing a walk, and the max walk speed by default is 600. We're going to cut that in half, put it down to 300. We'll leave it at that, and let's hit play. We'll just click in the viewport again. That's much better, I don't feel like I'm running around the environment as much. I feel like I'm able to actually move around at a decent pace, not too slow but I'm certainly not sprinting through the overall environment. So I think what we'll do now is take a look at how we can package this out to complete our overall visualization project.
So, a couple things to note. Always make sure you play the version of your game in the viewport. If you want to build it as a standalone game, you can simply just select standalone in here. And when you hit play it's actually going to build this as its own standalone version. This will allow you to test this as if it's on its own, directly outside of that viewport. So there we are able to see this as a full screen. So there's an overview of how to test the overall playability of your visualization project in Unreal Engine 4.
- Defining project goals
- Creating an Unreal Engine 4 (UE4) project
- Adjusting first-person project settings
- Creating effective assets
- Exporting assets for UE4
- Importing assets into UE4
- Placing assets in a scene
- Adding and editing collisions
- Working with textures
- Creating a basic material
- Adding a post-process volume