Create a Scene Project

Overview

This tutorial shows how to make a project with a scene in it. You will use the New Project dialog, see what files Quorum Studio puts in a scene project, and look inside them. A scene is not one file but a small family of files: the scene file itself, plus files for any terrain and materials it uses. Knowing what each file holds makes it easier to understand, share and fix your scenes.

Goals

By the end of this lesson, you can

  • Create a 2D or 3D scene project from a template.
  • Describe the folders and files in a scene project, including terrain and material files.
  • Explain what a material is and what it is made of.

Warm up

When you start a new document in a word processor, it already has a page size, fonts and margins. Why do programs give you a starting point like this, instead of a completely empty file? What would a game need in its starting point?

Vocabulary

You will be learning about the following vocabulary words:

Vocabulary
TermDefinition
ProjectA folder that holds everything for one program: its code, its scenes and its resources, like pictures and models.
TemplateA ready-made starting project. Quorum Studio copies it when you make a new project.
Scene fileA file ending in .qs that stores a scene: its layers, items, lights and cameras.
JSONJavaScript Object Notation, a plain text format for data. Scene files, tilesets, terrain files and material files are all JSON.
TilesetA set of pictures or 3D models, with a JSON file that names and describes each one, so they can appear in the palette.
LayerOne part of a scene with its own camera, such as a 3D world with a 2D display drawn on top of it.
TerrainThe ground of a 3D world: hills, valleys and flat land. Quorum stores it as heights, in a folder of its own.
TextureA picture wrapped onto the surface of a 3D object, such as a photo of grass or bricks.
MaterialA description of how a surface looks: its texture pictures, and settings such as how shiny or bumpy it is.
Color mapThe picture of a surface's colors, like a photo of it taken in flat, even light.
Normal mapA picture that stores which way each tiny bit of a surface faces, so bumps and cracks catch the light even on a flat surface.
Roughness mapA picture that says which parts of a surface are rough and dull and which are smooth and shiny.
Ambient occlusion mapA picture that darkens the gaps and corners of a surface that light has trouble reaching.
Height mapA picture that says which parts of a surface stick up and which sink down. On terrain, it helps materials blend where they meet.
Splat mapA picture for one region of a terrain that records how much of each material shows at each point, so you can paint grass in one place and rock in another.

CSTA Standards

For teachers · 2026 CSTA K–12 Computer Science Standards

S1-SWD-DD-03

Specialty I · Software Development

Use integrated development environment (IDE) features to streamline software development, including code editing, debugging, version control, and project management.

Also in 7 other lessons

HS-DAT-DC-22

High School · Data & Analysis

Create a data dictionary that describes the name, type, and allowable values for each attribute and the logical relationships between variables in a dataset.

Also in 2 other lessons

Every standard, and the lessons that cover it

Explore

Creating a new project

To create a new scene project, either choose File, then New Project, or use the keyboard.

Keys for creating and opening a project
ActionWindowsMac
New ProjectCtrl+NCmd+N
Go to the Projects tabCtrl+1Cmd+1
Next tabCtrl+TabCtrl+]
Previous tabCtrl+Shift+TabCtrl+[

The New Project dialog appears. Its first page is a tree of templates, sorted into groups: General, Games, Data Science, Sound and Other.

The New Project dialog, with 3D Scene chosen under Games and its description below.

Open Games, then choose either 2D Scene or 3D Scene. This choice matters because Quorum loads the default assets for that kind of game into your project. As you move through the tree, the dialog describes each template; for 3D Scene it says "A project to get started with using Scenes in 3D."

Choose Next. The second page says which template you chose, for example "Selected Template: 3D Scene". Type a name in Project Name. You can change where the project is saved in Project Location, or with Browse.... Then choose Ok. Back returns to the list of templates.

The second page of the New Project dialog, with the project name and location fields.

What is in a scene project

After the project is created, the Projects tab shows it, with several items made for you:

  • Scenes holds the file Scene.qs, the Quorum scene file. It starts with two layers and no items.
  • Resources holds the art for the palette:
    • a 2D project has a Tilesets folder with 6 files: three PNG picture files and three JSON files that describe them;
    • a 3D project has a Tilesets3D folder with eight kits of 3D models. Each kit is a JSON file and a folder of models, with its license.
  • SourceCode holds Main.quorum. This file has the code that loads and runs the scene. In a 3D project it also turns on 3D physics.

Inside a scene file

A scene file is plain text in JSON, so you can open it in any text editor and read it. Here is the start of a new 3D project's Scene.qs. It lists the scene's layers. Each layer has a name, a camera, its items and its lights:

{
    "Layers": {
        "0": {
            "Name": "Default Layer3D",
            "Class": "Layer3D",
            "Camera": {
                "Class": "PerspectiveCamera",
                "Position": [0.0, 3.0, -5.0]
            },
            "Items": { },
            "Lights": {
                "0": { "Class": "AmbientLight" },
                "1": { "Class": "DirectionalLight" }
            }
        },
        "1": {
            "Name": "Default Layer2D",
            "Class": "Layer2D"
        }
    }
}

(Some details are left out here to keep it short.) Notice the camera's Position, [0.0, 3.0, -5.0]: that's x, y and z. The camera starts 3 meters up and 5 meters back from the origin, looking toward it.

As you add items in the scene editor and save, each one is added under Items, with its kind, its name and its position.

Terrain files

When you add a terrain to a 3D scene, Quorum Studio saves it in a folder of its own, under Scenes/Terrains. The first terrain goes in Scenes/Terrains/Terrain1, the next in Terrain2, and so on. A new project doesn't have this folder until you add a terrain.

A terrain's folder holds:

  • terrain.json: a short file describing the terrain, such as how many points each region has and how far apart they are;
  • one picture for each region, such as region_0_0.png. A terrain is split into square pieces called regions, and each picture stores the heights of one piece, with each pixel holding the height of one point of ground;
  • a second picture for each painted region, such as region_0_0_splat.png, called a splat map. It records which material shows where. It only appears once you paint that region.

The scene file doesn't copy any of this. It just names the terrain's folder. Here is a real terrain entry from a scene file:

{
    "Class": "Terrain",
    "Name": "Terrain",
    "Description": "Ground for the scene, made of height map regions. It starts flat, 128 by 128 units.",
    "File": "Scenes/Terrains/Terrain1/terrain.json",
    "Physics Enabled": true,
    "Collision": "Full",
    "Friction": 1.0
}

File says where the terrain is. Collision and Friction say how it behaves in a running game. Terrain in a Scene covers terrain in detail.

What is a material?

When you look at a real surface, such as a stone wall or a lawn, you see more than a color. You see bumps and cracks, shiny spots and dull ones, and dark shadows in the gaps. A material describes all of this to the computer, so it can draw a surface that looks real from any angle and in any light.

A material is made of pictures, called maps, and a few settings. A full set of maps for one surface is called a texture set:

  • the color map is the surface's colors, like a photo of it taken in flat, even light;
  • the normal map stores which way each tiny bit of the surface faces, so bumps and cracks catch the light even though the surface is really flat;
  • the roughness map says which parts are rough and dull and which are smooth and shiny;
  • the ambient occlusion map darkens the gaps and corners that light has trouble reaching;
  • the height map says which parts stick up and which sink down. On terrain, it helps two materials blend naturally where they meet: the higher one shows, so stones poke up through grass instead of the two just fading into each other.

Along with the maps, a material has settings, such as its tile size: how big one copy of the pictures is on the ground before it repeats. A simple material can skip the maps and use just one picture, a plain texture.

Many free texture sets are available online, from sites such as Poly Haven and ambientCG. Each comes as a folder of pictures, one for each map. Check each set's license before you use it.

Material files

Quorum keeps each material in a small JSON file that names its pictures and lists its settings. A material file sits in the same folder as the pictures it names. Here is one:

{
    "Format": "Quorum Material",
    "Version": 1,
    "Name": "Mossy ground",
    "Color Map": "Ground037_1K-PNG_Color.png",
    "Normal Map": "Ground037_1K-PNG_NormalGL.png",
    "Normal Map Convention": "OpenGL",
    "Roughness Map": "Ground037_1K-PNG_Roughness.png",
    "Ambient Occlusion Map": "Ground037_1K-PNG_AmbientOcclusion.png",
    "Height Map": "Ground037_1K-PNG_Displacement.png",
    "Tile Size": 3
}

A terrain can have up to four materials, called layers, such as grass, rock, sand and dirt, and you paint where each one shows. Quorum Studio keeps a terrain's list of layers in another JSON file, in Scenes/Materials, named after the terrain's folder, such as Scenes/Materials/Terrain1.json. Like the Terrains folder, Materials doesn't exist until you give a terrain its first material. Terrain Materials and Painting shows how.

Putting it together, a 3D scene project with a painted terrain looks like this:

MyProject/
    Scenes/
        Scene.qs                     the scene: layers, items, lights, cameras
        Terrains/
            Terrain1/
                terrain.json         describes the terrain
                region_0_0.png       heights for one region
                region_0_0_splat.png where each material shows
        Materials/
            Terrain1.json            the terrain's material layers
    Resources/
        Tilesets3D/                  3D models for the palette
    SourceCode/
        Main.quorum                  code that loads and runs the scene

The material files for each layer sit wherever their texture pictures are.

Opening the scene

To open the scene, go to the Projects tab (Ctrl+1, or Cmd+1 on a Mac), open the Scenes folder, and choose Scene.qs. The scene opens in the editor. Two more tabs, Scene and Palette, sit beside the Projects tab. The next tutorial explains them. You can move between these tabs with the keys in the table above, or click them with the mouse.

A scene is made of layers. A new scene has two: Default Layer3D and Default Layer2D. Quorum uses layers so different parts of a game can be drawn on top of each other. For example, a game could have a 3D world with a 2D layer on top showing health or magic. You know, use the force, Harry.

To choose which layer you are working in, go to the Scene tab. Each layer is at the top of its own branch of the tree. Choose the layer's name, such as Default Layer3D, and press Enter, or double-click it. The editor switches to that layer.

Engage

The goal of this activity is to explore how a scene is stored on the computer: to find every file a scene uses, open each one, and explain what it holds. Work with a partner. Together, create a new 3D Scene project and open its scene. Before changing anything, open Scene.qs in a plain text editor, such as Notepad on Windows or TextEdit on a Mac, and save a copy of it somewhere else. Then, back in Quorum Studio, add one item from the palette, such as a cube, and add a terrain from the Basic 3D group. Save the scene.

Now go looking. Open Scene.qs again and compare it with your saved copy: find the new entries for your cube and your terrain, and the coordinates that say where the cube is. Then use your computer's file browser to open the project folder, find Scenes/Terrains/Terrain1, and open terrain.json. Count the region pictures and check that the count matches what terrain.json lists. Finally, write a short data dictionary for the terrain's entry in Scene.qs: for each field (Class, Name, Description, File, Physics Enabled, Collision and Friction), write its name, its type (text, number or true/false), and what values you think it allows. Compare your dictionary with another pair's. Where you disagree, look for evidence in the files or in Quorum Studio's Properties panel to settle it.

Wrap up

Templates give every scene project the same starting point: a scene file, the art for the palette, and code that loads the scene. As you build, the project grows: terrains add a folder of heights each, and materials add small files that point at pictures. Why do you think Quorum stores a scene as many small files, instead of one big file?