Create Your First Scene
In this tutorial you create a small scene, add a few objects, attach components, and run the scene in the editor. This establishes the project that the rest of the Build Your First Game path builds on.
Prerequisites
- Plasma Editor opens successfully.
- You have an editor project open.
Goal
By the end, you will have a saved scene with simple geometry, a light, and a camera-ready starting point that can be run from the editor.
<IMG: Editor viewport showing a simple scene with a floor, a cube, and a light>
Create a Scene
- Open your project in the editor.
- Create a new scene document.
- Save it with a clear name, such as
FirstGameScene. - Keep the scene open for the next steps.
Add Basic Objects
- Add a floor object or import/place a simple mesh that can act as the ground.
- Add one visible object that can be used for testing, such as a cube, sphere, or simple mesh asset.
- Add a light so the scene is easy to inspect.
- Arrange the objects so they are visible from the editor camera.
Add Components
Select each object and add the components needed for its role. For example:
- A mesh component for visible geometry.
- A light component for illumination.
- Physics components later, once the physics tutorial adds collision and character movement.
Run the Scene
- Save the scene.
- Use the editor's scene run command.
- Verify that the scene loads without errors.
- Stop the scene and return to edit mode.
Troubleshooting
- If the scene appears black, add or adjust a light and make sure the object material is valid.
- If the scene does not save, check that the project data directory is writable.
- If running the scene reports missing assets, transform or reimport the assets from the asset browser.
Next Step
Continue with Create a C++ Game Plugin to add native gameplay code to the project.