Skip to main content

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

  1. Open your project in the editor.
  2. Create a new scene document.
  3. Save it with a clear name, such as FirstGameScene.
  4. Keep the scene open for the next steps.

Add Basic Objects

  1. Add a floor object or import/place a simple mesh that can act as the ground.
  2. Add one visible object that can be used for testing, such as a cube, sphere, or simple mesh asset.
  3. Add a light so the scene is easy to inspect.
  4. 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

  1. Save the scene.
  2. Use the editor's scene run command.
  3. Verify that the scene loads without errors.
  4. 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.

See Also