2.5 platform game setup with Unity

First I created some primitive shapes in the scene to represent the player with a capsule, the platforms with cubes and the coins with spheres.

Then I created a prefab folder in the project and added the platform and the coins.

I added a rigidbody to the coin prefab and deactivated the gravity, we want to use the rigidbody for the collisions.

And the last step was to add more platforms and coins to create a prototype of the level.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rusben Guzman

Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.