Scenes

Scenes in Force

The scenes in Force are a container where all your game objects will be located, as well as their behavior, logic and gameplay will be reproduced. Scenes can be edited as you like, saved, played back.

The entire gameplay and game logic can be located in one large scene, or various elements of your game, for example, levels can be stored in other scenes and interact with each other.

Creating Scenes

You have serveral ways to create a new scene in Force. First is most common is using New Scene Window that allows to you configurate the scene as you want. To open it use New -> File -> Assets -> Scene or press Ctrl+N.

Also you can open this dialog using context menu in Browser by right clicking on empty space or by pressing the + button.

Open New Asset Window

Then select Scene in New Asset Window:

New Asset Window

So lets open a New Scene Window:

New Scene Window
Property
Description

Scene Name

Name of scene that you wanna create.

Location

Location or filepath, where the scene will stored.

Camera

Type of camera that will presented on new scene.

Startup

Means will this scene used as startup for project on load?

After the scene is created, it will appear in the browser, and will be available for opening.

If you doesn't want to use dialog every time, you can go to Preferences -> Scene Creation -> Disable Scene Dialog and turn it off. Thats disable appearing dialog and for example by pressing on Ctrl+N it will immediately creates default scene.

Opening & Saving Scenes

To open a scene press Ctrl+O and select property scene from Open Scene Window.

Open Scene Window

Or you can just drag and drop scene asset on Browser's Workspace or drag it to Explorer.

To Save scene press Ctrl+S. Or you can save it using the Explorer -> Settings -> Save Scene.

Saved Scenes in Browser

Editing Scenes

Use Explorer to control scene and scenes that present in the current project, scenes that was loaded for editing or for additional editing.

Scene in Tree Node in Explorer

Every scene displays in Explorer in Tree Node. Also you can use settings button to control state of the scene.

Property
Description

Set As Editable

Sets the scene for editing.

Save Scene

Save this scene to its filepath from witch it was loaded or created.

Save Scene As

Open platform OS dialog and allowing to select where scene should saved.

Save All

Save all opened scenes.

Unload Scene

Unload scene but keep it in Explorer so you can Load it again. When scene is unloaded you cannot edit it.

Rename Scene

Open Rename Popup and allow rename this scene. When you rename scene old is discards if it not have its own saved copy.

Create...

Open Explorer's New Object popup.

Multi-scene Editing

You also can edit multiple scene at one time. This very usefull when you working at the same game but different in-game levels.

Explorer View with multiple scenes

Basically when you open another scene from Browser you need open it As Additional and this scene appears in explorer, so you can modify booths of this scenes. Use the Settings -> Set As Editable property for switching between editable scenes.

You can unload one scene. On unloaded scene you see different settings menu.

Explorer View with unloaded scene
Property

Load Scene

Load unloaded scene back.

Delete Scene

Delete scene from Explorer and current project.

Playing Scenes

This as piece of cake, its very simple, just press on Play button on toolbar or press Ctrl+F5. To play scene as simulation mode for testing physics press Play Simulation button on toolbar or press F6.

When no scene was loaded to project or non of them is not active you cannot press Play/Play Simulation buttons.

If you have multiple opened scenes in Edit Mode, you can play only one that was using as main for editing. To use multiple scenes in Play Mode you need to use Scripting API, and SceneManager.LoadScene method or SceneManager.CreateScene via SceneManager.

Last updated