Changing the Palette

Overview

The palette is the list of things that can be placed in a scene. Quorum Studio lets anyone add their own 2D images to it, give each one a name and a description, and set some default properties. Each set of images is a pair of files: a picture holding many small images, and a text file that describes them. This page explains that text file, field by field, and how to credit the artists whose images are used.

Goals

By the end of this lesson, you can

  • Explain how a tileset's image and its JSON file work together.
  • Describe each field of a tileset file, and which ones are required.
  • Add a tileset to the palette, with a source and license that credit its creator.

Warm up

Imagine a sheet of stickers with no labels, and a friend who can't see the sheet asks for the third one in the second row. What would you need to write down so anyone could find, name and describe every sticker on the sheet?

Vocabulary

You will be learning about the following vocabulary words:

Vocabulary
TermDefinition
PaletteThe tree beside the scene editor that lists everything that can be placed in a scene.
TilesetOne image that holds many small images, all on a grid, with a JSON file that names and describes each one.
TileOne small image in a tileset. Each tile fills one or more squares of the grid.
JSONJavaScript Object Notation: a plain text format for data, made of names and values in curly braces.
LicenseThe rules a creator sets for using their work. CC0 means anyone may use it for anything, without asking.
AttributionSaying who made something and where it came from.

CSTA Standards

For teachers · 2026 CSTA K–12 Computer Science Standards

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

HS-PRO-PD-14

High School · Programming

Apply appropriate attribution of intellectual property when developing a computing technology.

Also in 3 other lessons

S1-GMD-PP-08

Specialty I · Game Development

Analyze the ethical implications of copyright and intellectual property in game development.

Also in 1 other lesson

S1-GMD-PX-05

Specialty I · Game Development

Create a user-friendly interface for a game, considering accessibility, usability, and aesthetics.

Also in 1 other lesson

Every standard, and the lessons that cover it

Explore

Changing the Palette

Quorum Studio allows adding images to the palette, setting some default properties on them, and giving them names and descriptions. These are special image sheets, loaded by Quorum's scene editor when Quorum Studio starts. There are defaults, but a project may need different graphics. To add them, files tell Quorum Studio what to show and how to label it.

This page is about 2D images. 3D models are added in a different way, from a folder named Tilesets3D, and aren't covered here.

Where Tilesets Live

Apart from the built-in items, such as the cube and the terrain, every item in the palette comes from a pair of files. In the folder where Quorum Studio is installed there is a folder named Resources, and in it a folder named Tilesets. Each pair there has:

  • a PNG file, which holds a set of images on a grid;
  • a JSON file, a text file that tells Quorum Studio which part of the image is each item, and how to name and describe it for screen readers.

Quorum Studio reads the Tilesets folder once, when it starts. After adding or changing a tileset, close and reopen Quorum Studio to see it in the palette. If a file has a mistake, such as a missing X or a number written as 1.0 instead of 1, the whole tileset is skipped with no message. If a tileset doesn't appear, check its file first.

The game needs the image too. A scene saves the path of each tile's image, such as Resources/Tilesets/Characters.png, and the game loads it from the project's folder when it runs. A new scene project has its own Resources/Tilesets folder with copies of the default tilesets. Copy a new tileset's PNG into the project's Resources/Tilesets folder as well, or the game won't find it.

Finding Images, and Giving Credit

There are many free tilesets online. The default images in Quorum Studio come from tilesets found on itch.io's free tilesets. Tilesets you draw yourself can be added too.

Before using someone else's images, read their license. It says what you may do with them and whether you must credit the creator. The tileset file has a place to record both, so the credit travels with the images.

A Tileset File

Once an image is chosen and saved to the Tilesets folder, its JSON file is written and saved there too. Here is part of the file for the characters in the default palette. Its image, Characters.png, is a grid of 24 by 24 pixel squares: a boy running across the top row and a girl across the bottom row.

{
    "Name": "Characters 2D",
    "Source": "https://bakudas.itch.io/generic-rpg-pack",
    "License": "CC0",
    "File": "Resources/Tilesets/Characters.png",
    "Width": 24,
    "Height": 24,
    "Tiles": {
        "0": {
            "X": 0,
            "Y": 0,
            "Category": "Boy",
            "Name": "1: Boy",
            "Description": "A boy standing in place",
            "Physics Enabled": true,
            "Responsiveness": 2
        },
        "1": {
            "X": 1,
            "Y": 0,
            "Category": "Boy",
            "Name": "2: Boy right foot up",
            "Description": "A running boy frame with the left foot down and the right foot up.",
            "Physics Enabled": true,
            "Responsiveness": 2
        },
        "7": {
            "X": 0,
            "Y": 1,
            "Category": "Girl",
            "Name": "1: Girl",
            "Description": "A girl standing in place",
            "Physics Enabled": true,
            "Responsiveness": 2
        }
    }
}

The Fields for the Whole Tileset

This is a regular JavaScript Object Notation (JSON) file. Names are case-sensitive: "X" works, "x" doesn't.

The Fields for the Whole Tileset
FieldRequiredWhat it means
NameYesThe name of this group in the palette, such as Characters 2D.
SourceNoWhere the image came from. Quorum Studio doesn't read it; it is there to credit the creator.
LicenseNoThe license the image is under, such as CC0. Quorum Studio doesn't read it; it is there to credit the creator.
FileYesWhere the PNG file is, from the Quorum Studio folder. The game looks for the same path in the project's folder.
WidthYesHow wide each square of the grid is, in pixels. A whole number, with no decimal point.
HeightYesHow tall each square of the grid is, in pixels. A whole number, with no decimal point.
TilesYesThe list of tiles, described below.

The Fields for Each Tile

Each tile has a label, such as "0", followed by its fields in curly braces. The label only has to be different for each tile; Quorum Studio doesn't use it and it isn't shown. Counting up from 0 keeps the file tidy.

The Fields for Each Tile
FieldRequiredWhat it means
XYesWhich column of the grid the tile is in, counting from 0 at the left. A whole number.
YYesWhich row of the grid the tile is in, counting from 0 at the top. Elsewhere in Quorum, y counts up from the bottom; tileset files are the exception. A whole number.
SizeXNoHow many squares wide the tile is. Leave it out for 1.
SizeYNoHow many squares tall the tile is. Leave it out for 1. A door two squares tall would have 2.
NameYesThe name shown in the palette and read by screen readers. A placed tile takes this name, and code finds it by this name.
DescriptionYesWhat the tile looks like, in words. It isn't shown in the palette; each placed tile gets it as its description, for screen readers. If it is missing, the description becomes an error message, so always include it.
CategoryNoA group inside this tileset, such as Boy. Tiles without one are listed directly under the tileset's name.
Physics EnabledNotrue, with no quotation marks, if placed tiles should have physics turned on. Leave it out for no physics.
ResponsivenessNoOnly with Physics Enabled. 0 is Unmovable (walls and floors), 1 is Nonresponsive (moved only by code) and 2 is Responsive (pushed by forces and gravity).

More Tiles from the Same Image

When more images are used from the same PNG file, repeat a tile's fields, with a new label, for each one. Unlike in the scene editor, where items can go anywhere, the positions here are on a set grid. The size of a square is the Width and Height at the top of the file, and X and Y count squares, not pixels.

So in the file above, the next image to the right of the boy is at "X": 1 and "Y": 0, and the image below him, the girl, is at "X": 0 and "Y": 1.

What a Screen Reader User Hears

In the palette, the tree reads the tileset's Name, then the Category, then each tile's Name: "Characters 2D", "Boy", "1: Boy". Placing a tile is announced as "Placed 1: Boy". This is why clear names and descriptions matter: for someone using a screen reader, they are the image.

Not every property a scene item can have can be set in a tileset file. What is supported may grow over time, based on what people ask for.

Engage

For this final section, enjoy working on your terrain. See if you can give your level to a partner for feedback.

Wrap up

The JSON file is a small data dictionary: it says what each value means and which values are allowed. Which fields did the computer need, and which were there for people: players, screen reader users and the artist who made the images?

This is the last tutorial in the scene series. Back to the start: Introduction to Scene Editing.