Skip to content

Your first scene

For creatorsAdd-on 2.2.2+

In this tutorial you build a small scene in Blender: a floor, a block to walk around, a sky colour and a place to start. Then you build it into a cartridge and walk around it in your browser as a character seen from behind. It takes about fifteen minutes.

You need Blender 5.2 with the add-on installed. See Install the add-on.

  1. Start a new file. Choose File ▸ New ▸ General. You get a cube, a camera and a light. Choose File ▸ Save As and save the file as first-scene.blend in a new, empty folder. The add-on writes its output next to this file.

  2. Make a floor. Choose Add ▸ Mesh ▸ Plane. With the plane selected, press S, type 20 and press Enter. The floor is now 40 m across.

  3. Stand the cube on the floor. Click the cube: half of it is under the floor. Press G, then Z, type 1 and press Enter. The cube now stands on the floor, a 2 m block to walk around.

  4. Delete the light. Click the light and press Delete. The viewer brings its own sun, and that sun casts shadows. Lights you add later shine on top of it (see Look and light).

  5. Colour the sky. In the Properties editor, open the World tab. Under Surface, click Color and pick a light blue. Players see this colour as the sky.

  6. Add a start point. Choose Add ▸ Empty ▸ Plain Axes. Press G, then Y, type -6 and press Enter to move it 6 m in front of the cube. Press F2, type Spawn and press Enter. The character starts at the Empty named Spawn.

  7. Give the scene a player. Still in the World tab, expand Simulacrum, then Player. Set Player to Third Person. Then expand Nav Mesh and tick Everything you see is solid.

    Setting Tag it writes What it does
    Player: Third Person player.controller = third Players get a character seen from behind, over its shoulder
    Everything you see is solid collision.default = mesh The floor and the block are solid
  8. Add the controls. Under Simulacrum, expand Input. Press Add Action, choose the preset Walk set (WASD + Space + Shift) and press OK. The list now shows moveX, moveZ, jump and run: the actions the character listens to.

  9. Name the scene. In Blender’s top bar, the scene’s name reads Scene. Double-click it, type My First Scene and press Enter. The loading screen shows this name.

  10. Build the cartridge. Press Build in the header of the 3D viewport. If Blender asks whether to save your changes, press Save and Build. When the build is done, the status bar reads Built, with the scene’s name, its version and its size. Next to your .blend there is now a cartridge folder. It holds the exported scene and first-scene-1.0.0.cartridge, the single file you publish.

  11. Play it. Press Play in the same header. Your web browser opens the viewer on your scene. The loading screen shows My First Scene and a progress bar, then Press to start. Click it.

  12. Walk around. Click the scene so the mouse turns the view. Walk with W A S D, run with Shift and jump with Space. Walk into the block: it stops you, and the sun throws its shadow across the floor. Press Esc to get the mouse back.

  13. Change it while it runs. Back in Blender, click the cube, press G, then X, type 4 and press Enter. In the browser, the block slides across too. In the Simulacrum tab of the 3D viewport’s sidebar (N), find the Live panel and press Sync All: the scene is sent again, the character starts over at Spawn, and the block is solid where it now stands. Press Stop in the header when you are done.

  • A floor and a block, solid because of collision.default.
  • A sky from the World colour, lit by the viewer’s sun.
  • A character that starts at the Empty named Spawn and moves with the actions in the scene’s input map.
  • A cartridge, first-scene-1.0.0.cartridge, ready to publish.