-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Creating a new playable scene
Ciro Continisio edited this page Dec 6, 2020
·
6 revisions
To create a new Unity scene from scratch and be able to play in it, you need to provide it with a few fundamental components. They are all located in the folder /Prefabs/GameplayEssentials
.
-
Drag the Prefab "EditorInitializer" to the scene
Once you press Play, this Prefab loads the "Initializer" scene, which is responsible for all game-wide actions like loading levels, playing sounds, and more. Without the Initializer scene loaded, the game won't be fully playable. -
Drag the Prefab "CameraSystem" into the scene
This Prefab contains the main Camera (which includes the Cinemachine Brain component) and the main Cinemachine virtual camera, a FreeLook, which follows the player character during gameplay. The FreeLook is initially without a target, this will be provided dynamically when the game enters Play Mode. -
Drag the Prefab "SpawnSystem" into the scene
This Prefab takes care of spawning the player. In a normal game situation, it would spawn it in a specific position (entry point) depending on which scene the player is coming from. When testing individual scenes, it will spawn it in a default location (see children GameObjects). -
Add some geometry to walk on
Add a plane, or any geometry that the character can walk on. Ensure it has a collider (any), and that the Location GameObject under the SpawnSystem is placed on top of it. - Press Play
Unity Open Projects - Open-source games made by Unity + the community
We are looking forward to see what you will create ❤
- the Unity Creator Advocacy team
- Game architecture overview
- Playing the game in Unity
- Creating a new playable scene
- Building the game
The game systems explained, with API examples. For programmers.
- Event system
- State machine
- Input
- Object pooling
- Runtime anchors
- Audio system
- Narrative
- Dialogue system
- Cutscenes system
- Inventory and Cooking
- Combat
- User Interface
How-tos for designers to expand the game's gameplay.
- Adding quests
- Adding items
- Creating dialogues
- Making a cutscene