I've been programming for many years, and because that's been my main focus, I've done little outside of that when making games. Sure, I've made some passable level designs for game jams, but I've never spent a considerable amount of time and effort getting better at it.
That's why I've decided to take a short break from programming to become more knowledgeable on the topic and gain practical experience in designing levels in Unity. Ultimately, I aim to learn more about the different rendering pipelines supported by Unity, but for now, I'm starting with the default to make my first building level.
Here are a few things I've learned so far through the process.
I'm using assets from a paid Unity package called Filebase that gives me quick access to hundreds (maybe thousands?) of assets that are highly efficient and ready to use. Since this will be a sci-fi building, I've picked out some floor assets to fit that style.
With the assets imported, I then created the first iteration of the floor. The first iteration was very repetitive since I started building by repeatedly using a single floor asset.
Yeah, the asset looks great, but it's boring to see throughout an entire floor.
On the next iteration, I made a few asset swaps to add some variety to the floor design in the center of the room. We still want some consistency, but this is enough variation to draw attention to the center of the room as the player is walking through the hallway.
I also went through this process for the outside yellow parts of the floor to make it more interesting.
Swapping Assets In-Place
I learned a shortcut to quickly swap assets in-place. If you know of an easier way, please share!
If you add the new asset as a child of the current GameObject, it will take the transform position of the parent, which is exactly what we want. Then, unparent the new child GameObject by dragging it above the parent.
The new asset has now taken the place of the original, so you can delete it and now you have the new asset swapped in place with the original.
I need to finish the walls and add some columns to the building, which I'll talk about in the next article.