How to set up a scene for the Endless Runner game in Unity

Key takeaways:

  • Launch Unity Hub to create a new project, selecting a suitable template like “3D” for your Endless Runner game.

  • Establish a simple player character using basic shapes like a box to streamline the development process.

  • Utilize primitive shapes, such as planes, to create platforms that players will run on continuously.

  • Strategically place obstacles like barriers and pitfalls throughout the scene to increase challenge and keep players engaged.

  • Enhance the game environment with props and visual details to create a more immersive experience.

  • Regularly test the scene to ensure smooth player movement and interaction with the game elements.

  • Consider adding sound effects and animations later to enrich the gameplay experience.

To start making an Endless Runner game, you first need to set up your game scene. This is an important step that creates the foundation for your game environment and makes sure players have a smooth experience. Let’s learn how to set up the scene for your Endless Runner game.

Create a new Unity project

You can create a new Unity project or use an existing one; follow these steps to create a new one:

  1. Launch Unity Hub and sign in or create a Unity ID. Then click “New” to start a new project.

  2. To set up the project environment, select a template that fits your game genre, such as “3D. "

  3. Name your project and define its location.

  4. Click “Create” to generate the project. It will open in Unity Editor with a default scene containing a camera and a directional light.

Create a player

In our game, the player would be a gameObject that could simply run or move continuously in the forward direction. We can import 3D assets for this, however to keep it simple, we are going to use a box an object.

Creating the player
Creating the player

The above sky is too bluish; let’s change the skybox.

Create a platform and obstacles

To create a complete Endless Runner game, you will need to create a platform and obstacles for the player to overcome. One way to create a platform is to use the plane’s primitive shape. Alternatively, you can import a package into your scene.

Creating a road
Creating a road

Obstacles such as barriers, pitfalls, or enemies should be introduced in strategic positions. These elements inject challenge and excitement into the gameplay, pushing players to stay engaged and sharpen their reflexes.

  • Add road props over the road as an obstacle using this Assethttps://assetstore.unity.com/packages/3d/props/exterior/road-props-low-poly-123340.

Adding road props to the road
Adding road props to the road


Setting up your scene is a crucial first step in developing an Endless Runner game in Unity, as it lays the groundwork for the player experience. By creating a new Unity project, establishing a player character, and designing the platform and obstacles, you set the stage for an engaging and dynamic gameplay experience. As you progress, consider fine-tuning your environment with visual details, additional props, and sound effects to enhance immersion. With a solid foundation in place, you’re well on your way to building an exciting Endless Runner game that challenges players and keeps them coming back for more!

Frequently asked questions

Haven’t found what you were looking for? Contact Us


How to create a separate scene in Unity?

To create a separate scene in Unity, go to “File > New Scene,” set it up as desired, and save it in your project for easy access.


How to create a game scene in Unity

To create a game scene in Unity, start a new project, use the “Hierarchy” panel to add and organize GameObjects, and customize the environment in the “Scene” view.


Is Unity free forever?

Unity offers a free version, but larger organizations or projects generating significant revenue may need a paid subscription.


Free Resources

Copyright ©2025 Educative, Inc. All rights reserved