Add entities
BeginnerLevel Designer After you create a scene, you need to add entities to your scene to build your level.
Create an entity from the Scene Editor
- Entity Tree, click the icon. Create menu opens: Entity Tree or anywhere in the scene. If you create an entity in the scene, Game Studio adds an entity in the location you click.
- Empty entity, or select an entity template.
Game Studio adds an entity to the active scene and displays it in the Entity Tree:
Tip
active scene is the scene entities are added to. To set the active scene, Entity Tree (left by default), right-click the scene and select active scene. The active scene has no effect on runtime.Create an entity from an asset
Asset View to the scene. 0.7 倍
Game Studio automatically creates an entity and adds the required component and reference based on the asset you used. For example, if you drag a model asset to the scene, Game Studio creates an entity with a model component with the model asset as its reference.1.0 倍1.2 倍1.5 倍2.0 倍
Note
You can only create entities by dragging assets with corresponding components. For example, model components use model assets, so can be dragged; animations have no corresponding component, so can’t be dragged.Set up a component
Components add special properties to entities that define their purpose in your project. For example, you add lights to your scene by adding Light components to entities, add models by adding model components, and so on. An entity with no component has no purpose. To add a component to an entity: - Select the entity.
- Add component, and add component you want. Game Studio adds the component.
- Set the properties of your new component.
Duplicate an entity
You can duplicate an entity along with all its properties. Duplicating an entity and then modifying the properties of the new entity is often faster than creating an entity from scratch. - Ctrl and move the entity with the mouse.
The entity and all its properties are duplicated.
Duplicate selected entities.
Rename an entity
- F2.
- Enter.
See also
- Manage scenes
