2.5 Platformer — level and Player setup

Kinga Osińska
3 min readJul 1, 2021

--

The next project we will be working on is 2.5 Platformer. First, we will make a prototype of the game using simple shapes.

Level Setup

We will begin by making a simple level. We will use cubes to setup our prototype.

Create a cube, call it Platform and scale it to about 5 on the x axis.

Create a Prefab folder in your project and make a prefab from your platform. Now, it will have a shared instance and it’s easier to reuse. Copy the platform and make a simple level. arrange your platforms, so that your player will be able to jump from one to another, also put one platform higher for a double jump.

Organize your GameObjects. Create an empty GameObject called Environment and put all the Platforms in the Environment.

Player Setup

We will use a capsule to represent our player. Create a capsule and place it at the start of your level. Rename it to Player and tag it to Player.

Collectable item

Last thing that we will setup is a collectable item. It maybe a coin or a diamond. For now while making a prototype, we will use a simple sphere.

Change the name to Collectable, in the Sphere Collider component make sure that isTrigger is set to true, so we will be able to collect them, and add a Rigidbody component with Gravity set to false. Make a Prefab, and add few more collectables on your scene.

--

--

No responses yet