Player Setup for a Game in Unity

David Little
2 min readMar 25, 2021

First thing is to start off with a fresh, clean scene in Unity. Unity starts off with a default scene, or you could be starting with recycled scene if you were referencing older work. The easiest way to do this is to delete any assets that are present and the SampleScene. Go to File/NewScene, select ‘Don’t Save’ when the save dialogue pops up. This is simply for the current scene which you have modified by removing things. Then, save your new scene, named Game for this tutorial.

This will eventually be a full-fledged game. But to start you will be using primitive shapes, setting them up with all of the proper attributes and then updating the assets later. The result will be a 2D game built in a 3D scene. But first, the player.

Create a cube and rename it as your player in the scene.

Create a folder for your materials. Then, create a new material for your player, rename it ‘Player_mat’ and apply it to your player. IN this example, the material is blue.

Now, lets make the background black. Select the Camera and change the Clear Flags from SkyBox to Solid Color and change it to black. You should see the change in the Game window.

You will now notice that the player is harder to see against that background. Adjust the color of the material to make the player more visible. I am using white in this example. You can also adjust the Intensity of light source to make it stand out even more.

The basics for your player and scene are now set up.

--

--