> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobyco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Build a calendar game

> Build a calendar in the Gameplay Editor, from the Calendar template to doors that open on the right days, then run it as a game in a campaign.

This page helps you build a calendar in the Gameplay Editor, such as an Advent calendar. Customers open a new door each day or each week, and behind each door is usually a quiz question. You decide how many doors there are and when each one opens.

## Start from the Calendar template

1. In **Toolbox** → **Gameplay design**, select the **Calendar** card.
2. Select **Create new** and start from a calendar template. [Design a game](https://help.lobyco.com/business-documentation/activities/games/design-a-game) explains how.
3. On the gameplay's **Game Setting** page, select **Go to Gameplay Editor**. The editor opens in a new browser tab.
4. Select **Game** in the bar at the bottom of the editor, or press Ctrl+G. **Game settings** opens, with three tabs: **General**, **Layout** and **Fields**.

[Edit a gameplay in the Gameplay Editor](https://help.lobyco.com/business-documentation/activities/games/design-a-game/edit-a-gameplay.md) shows you around the rest of the editor.

## Choose how the doors open

Open the **General** tab of **Game settings**.

| Setting | What it does |
| - | - |
| **How should the door open** | **By scratch** makes customers scratch the door open. You then set how big the scratch area is. **By click** opens the door when customers tap it. |
| **Field animation** | Sets how a door opens with **By click**. **Fade** slowly shows the image behind the door. **Open** swings the door open, and works best with square doors. **Instant** goes straight to the question, without showing the image behind the door. |
| **Game content alignment** | Lines up the quiz question and its answers on the left, on the right or in the centre. |

![The General tab of the Game settings dialog in the Gameplay Editor, with the tabs General, Layout and Fields at the top and General selected. Under the heading General Settings, a blue note says additional game settings can be activated under Integrations, with a click here link. How should the door open is set to By scratch. Game content alignment is set to Center. Enable test date is ticked, with the hint Test the campaign on a specific date, and Which date to simulate shows 09-12-2025.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-01-general-settings.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=a61a3360aa6cf41c9060b3b07850a664)

*The General tab, with a test date switched on*

## Preview a future day

A calendar looks different on each day. To see how it looks on a day that hasn't come yet, preview it on that date.

1. On the **General** tab, tick **Enable test date**.
2. In **Which date to simulate**, pick the day you want to see.

The editor's preview then shows the calendar as customers see it on that day. To try another day, select **Select test date** at the right of the preview.

![The right edge of the Gameplay Editor's preview. A dark Edit content tab sits at the top right. Below it is a column of round buttons: Select test date, which is highlighted with its tooltip showing, then the phone, tablet and desktop previews. A date picker is open on December 2025, with 9 December selected.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-02-select-test-date.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=69a51d9117b639c680e453727946abd7)

*Pick another day to preview with Select test date*

## Set up a field for each day

A calendar is made of fields. Each field is one door, and it's active only on its day or for its date range. The **Fields** tab lists them, one row per field. The calendar template Lobyco provides has 24 fields, one for each day from 1 to 24 December. You can change them, for example to make a weekly calendar.

![The Fields tab of the Game settings dialog in the Gameplay Editor. A table lists the calendar's fields under the columns Date, Field action, Number of prizes, Number of questions and Field validation, each row with a tick box, an Edit button and a Delete link. The first row runs from 23-10-2025 to 23-10-2025 with the action Go to flow page: Win (prize 1). The next four are quiz fields, each with 0 prizes and 1 question: Quiz: Who pulls Santa's sleigh? on 24-10-2025, Quiz: Which animal pulls Santa's sleigh? on 25-10-2025, Quiz: Where did the Christmas tree originate from? on 26-10-2025, and Quiz: What was Santa's original name? on 05-12-2025. Every row has a tick under Field validation.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-03-fields-list.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=b8fe17902004fec9b21f85799039644d)

*The Fields tab, with one row for each door*

Select **Edit** on a field's row to change it. Select **Back** to go back to the list.

| Setting | What it does |
| - | - |
| **Date type** | **Day specific** makes the field active on one day. **Date range** makes it active from **Date from** to **Date to**. [Show many doors at once](#show-many-doors-at-once) explains which one to use. |
| **Date from** and **Date to** | The first and the last day the field is active. |
| **Mobile label** | The text the editor puts on the door, such as the day's number. |
| **Mobile image** | The door picture for this day. |
| **Choose action** | What customers get when they open the door. [Choose what's behind the door](#choose-what’s-behind-the-door) explains each action. |

Each field also holds the image behind its door, which customers see as the door opens. Make it the same shape as the door. A field can also have prizes linked to its date. [Give out a different reward each day](#give-out-a-different-reward-each-day) explains how rewards work in a calendar.

![The Field edit page on the Fields tab of the Game settings dialog, with a Back button at the top right. Date type has two options, Day specific and Date range, and Date range is selected. Date from, The first day this field is active, and Date to, The last day this field is active, both show 23-10-2025. Mobile label, Insert label that will be displayed in the scratchfield, shows 1. Mobile image has an empty picture area, a Select media button and an empty path. Choose action is set to Quiz, and the Multiple questions switch below it is off.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-04-field-edit.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=00aab530c8b9d14be179e4a26ad31c37)

*Editing one field*

## Choose what's behind the door

In **Choose action**, pick what customers get when they open the door. Only **Quiz** and **Go to flow page** can hand out a prize.

| Action | What customers get | Can it hand out a prize? |
| - | - | - |
| **Quiz** | The day's quiz question. | Yes |
| **Go to flow page** | A page of the gameplay, with no question. Set **Flow page** to **Go to next flow page**. Customers who win then see their prize, and everyone else sees the page for losing. | Yes |
| **Go to URL** | A page outside the gameplay, such as your website. | No |
| **Go to campaign** | Another game. The calendar can't show what they win there. | No |

![Part of a field's settings in the Gameplay Editor. Choose action is set to Go to flow page. Below it, Flow page is set to Go to next flow page, and Redirect after x seconds is set to 2 seconds.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-05-go-to-flow-page.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=f17246365560d127dfae2e50420fe95e)

*A field that goes to the next flow page*

### Write the quiz question

With **Quiz**, the field holds the question customers see when they open the door. For each question, you can:

* give up to three answers, as text or as images
* mark the right answer
* write the feedback customers see after they answer
* add a link to where customers can find the answer
* add a video to the question

To ask more than one question behind a door, turn on **Multiple questions**. You then choose how many questions customers have to answer correctly to win.

A right answer doesn't win a prize on its own. Lobyco decides whether each play wins before the customer starts playing, from the game's settings in its campaign, such as its **Win rate**. A customer picked to win keeps the win only if they answer correctly. A wrong answer turns their win into a loss. [Game types](https://help.lobyco.com/business-documentation/activities/games/types-of-games#what-the-type-decides-and-what-it-doesn’t) explains this.

If the game has the [lottery draw](https://help.lobyco.com/business-documentation/activities/games/create-a-game.md#set-how-the-game-plays) switched on, nobody wins while they play. A right answer gives the customer an entry in the draw instead, and a wrong answer gives them no entry. You draw the winners once the game ends, as [Draw lottery winners](https://help.lobyco.com/business-documentation/activities/games/draw-lottery-winners.md) explains.

## Give out a different reward each day

Lobyco decides who wins, and which of the game's rewards they get. To give out a different reward on each day, set each reward's **Period** to its day. You do that on the game's **Reward settings** tab, in its campaign. Lobyco only gives out a reward during its period. [Create a game](https://help.lobyco.com/business-documentation/activities/games/create-a-game.md#set-when-each-reward-can-be-won) explains how.

To show each winner a screen for the reward they won, see [Show each winner their reward screen](https://help.lobyco.com/business-documentation/activities/games/design-a-game/show-each-winner-their-reward-screen.md).

In the editor, a field can also have prizes linked to its date. The **Number of prizes** column on the **Fields** tab shows how many each field has.

## Show one door a day

On a phone, a calendar whose fields are **Day specific** shows one door at a time, the door for that day. To show more than one door, see [Show many doors at once](#show-many-doors-at-once).

![A one-door calendar as customers see it. On a red Christmas background with white trees, snowflakes and Santa's sleigh pulled by reindeer, a single tall gold door shows a large number 1 and an OPEN DOOR button.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-06-one-door-a-day.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=d99388caeebe153db095414a3110010e)

*A calendar that shows one door a day*

You can design the door in two ways.

* Let the editor draw the door. It draws a square door of 200 × 200 px, with the field's **Mobile label** on it, such as the day's number. On the **Layout** tab, select the phone icon at the top right, then turn on **Enable extra theming** to set the door's colour, font and border.
* Upload your own door picture. Upload a picture of the door, and only the door. Customers can tap anywhere on it, so you don't mark an area to tap. Add any background on the **Layout** or the **Style** tab instead.
  * With one door picture for every day, upload the same picture as every field's **Mobile image**. The editor adds each day's number from the field's **Mobile label**.
  * With a different picture for each day, upload each one as the field's **Mobile image**. If the picture already has the day's number on it, empty the field's **Mobile label**.

![The Layout tab of the Game settings dialog in the Gameplay Editor, in phone view. A red arrow points at the phone icon at the top right, which is selected next to a desktop icon. A yellow notice says On mobile, we only display the current day and not the entire calendar. The dropdown at the top is set to Color, with Background color #ee1f2d. Enable extra theming is switched on, and shows Border color #ffffff, Border thickness 20 px, Border type Dashed, Font type Raleway, Text size 25 px, Font weight 700 and Text color #ffffff. On the right, a preview shows a red square door with a white dashed border and the number 1, on a purple background.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-07-auto-generated-door.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=6e3e2b2f44b71250cb83b0abd0fb759f)

*A door the editor draws, styled with extra theming*

## Show many doors at once

To show more than one door at a time on a phone, such as all 24 doors of an Advent calendar, give every field a date range. You can't do this with **Day specific**.

1. On the **Fields** tab, select **Edit** on a field.
2. Under **Date type**, select **Date range**.
3. Set **Date from** and **Date to**. For a door that's active on one day, enter the same date in both, such as 1 December. For a door that stays active longer, enter a longer range, such as 1 to 6 December.
4. Select **Back**, and do the same for every other field.

![The Field edit page on the Fields tab of the Game settings dialog in the Gameplay Editor. Under Date type, Date range is selected and framed in red, next to Day specific. Date from and Date to both show 24-10-2025, and Mobile label shows 2.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-08-date-range.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=260f6c34e5c3cbc7701574f09fec78ce)

*Date range, for a calendar that shows many doors*

If a customer skips a day, its door shows as already visited.

## Add the calendar image

A calendar with many doors shows on a phone as one image, with the doors on it.

1. On the **Layout** tab, select the phone icon at the top right.
2. In the dropdown at the top, choose **Image**.
3. Under **Select the image for the active area**, select **Select media** and upload your calendar image.

This image is the calendar itself, not the background that fills the screen around it. Make it 300 × 500 px, so the whole calendar fits on most phone screens without scrolling. [Images and fonts for a gameplay](https://help.lobyco.com/business-documentation/activities/games/design-a-game/images-and-fonts-for-a-gameplay.md) gives the sizes for a background.

The doors can come from the editor or from your image.

* Let the editor draw the doors. Upload a calendar image without doors, and the editor puts a door over it for each field. Style the doors with the settings under the image, such as **Background color**, **Border color**, **Border radius** and **Font type**.
* Put the doors in your image. Draw them into the image yourself, then place each field over its door. If your image already numbers the doors, empty each field's **Mobile label**.

![The Layout tab of the Game settings dialog in the Gameplay Editor. A yellow notice says On mobile, we only display the current day and not the entire calendar. The dropdown is set to Image. Visibility for fields with date interval is set to Show all, next to Only active ranges. Under Select the image for the active area are a Select media button and the path of an uploaded image, then a Click to place fields button. The door style has Background color empty, Border color #ffffff, Border thickness 3 px, Border radius 15 px, Border type Dashed, Font type Domaine Display, Text size 30 px, Font weight 700 and Text color #ffffff. On the right, a preview shows Merry Christmas! above a grey calendar image with 24 see-through doors in rows of four, each with a white dashed border and a white number from 1 to 24.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-09-see-through-doors.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=36d92d848a087f658075eafa98bd96b2)

*Doors the editor draws, with no background colour, so the image shows through*

![The same Layout tab with the dropdown set to Image and the same calendar image, but with Background color #ffffff, Border color #d41f1f and Text color #d41f1f. Border thickness is 3 px, Border radius 15 px, Border type Dashed, Font type Domaine Display, Text size 30 px and Font weight 700. On the right, the preview shows Merry Christmas! above 24 solid white doors in rows of four, each with a red dashed border and a red number from 1 to 24.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-10-solid-doors.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=17a736a707500743c24c62fa8a311b75)

*Doors the editor draws, with a white background colour*

![Two parts of the Gameplay Editor, one above the other. At the top are the door style settings, all empty: Background color, Border color, Border thickness, Border radius, Font type Not selected, Text size, Font weight 700 and Text color. Below is a Field edit page with Date range selected, Date from and Date to both 01-12-2023, and an empty Mobile label, which is framed in red. On the right, a preview shows Merry Christmas! above a Christmas tree drawn from small numbered square doors, the numbers being part of the image.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-11-doors-in-the-image.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=bf3dba4bcbebc13b42bce766d65d81be)

*A calendar image that has the doors in it, with each Mobile label left empty*

### Give each door its own picture

With **Image** chosen, each field can have its own picture, shown inside that day's door. Upload it as the field's **Mobile image**, at 200 × 200 px.

![The Field edit page on the Fields tab of the Game settings dialog in the Gameplay Editor. Date range is selected, and Date from and Date to both show 05-12-2025. Mobile label shows 5. Mobile image shows a small picture of a decorated Christmas tree, a Select media button and the path of the uploaded image.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-12-field-image.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=41b241e2bae982568c30299f8aee1934)

*A field with its own picture for that day's door*

## Place the doors on the calendar image

1. On the **Layout** tab, select **Click to place fields**. **Positioning Elements** opens.
2. Drag each field onto its door. To be more precise, select a field and type its size and position, or move it with the arrow keys.
3. To line the doors up in a grid, choose **Grid** under **Automatic positioning**. Set **Max columns per row**, and the **Width** and **Height** of each door. Lobyco recommends four columns, and doors of 60 × 60 px.
4. Tick **Hide labels** to see the layout without the labels on the doors, such as the day numbers.
5. Select **Save**.

![The Layout tab of the Game settings dialog in the Gameplay Editor, in phone view, with a Help Center link next to the desktop and phone icons at the top right. A yellow notice says On mobile devices, the calendar will per default only display one door per day. To display multiple doors simultaneously on mobile, you must use the date range option in field settings, with a Read more here link. The dropdown is set to Image, Visibility for fields with date interval is set to Show all, and Select the image for the active area has a Select media button and the path of an uploaded image. The Click to place fields button below is framed in red.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-13-click-to-place-fields.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=4684126dd7cbad223d3357bf0cee150b)

*Click to place fields, on the Layout tab*

![The Positioning Elements dialog. At the top it says Select a field to scale or adjust the size and position of the field. You can drag the fields around or use the input and arrow keys for more precise adjustments. In the middle, 24 dark doors sit in six rows of four on a red calendar image. On the right, Automatic positioning is set to Grid and framed in red, with Max columns per row 4, Horizontal gap 10, Vertical gap 10, Width 60 and Height 60. Use same size is ticked and greyed out, and Hide labels is ticked. At the bottom are Cancel and Save.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-14-positioning-elements.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=4427a327f6747bbaaac38e6e48aedd82)

*Doors placed in a grid of four columns, with the labels hidden*

## Highlight the doors customers can open

To show customers which doors they can open, turn on **Highlight door(s)** on the **Layout** tab.

| Setting | What it does |
| - | - |
| **Highlight effect** | **Spinner** turns around the door. **Glow** puts a steady glow around the door. |
| **Highlight target** | **All active doors** highlights every door customers can open now. **Door(s) activated today** only highlights the doors that became active today. Use it with date ranges, where a door can stay open for several days. |
| **Highlight color** | The colour of the highlight. |

![Part of the Layout tab in the Gameplay Editor. The Highlight door(s) switch is on. Highlight effect is set to Glow, Highlight target to Door(s) activated today, and Highlight color to a yellow, #f5ef42.](https://mintcdn.com/lobyco-4c9fb3ad/zK1fhyLl5SS6JoLU/images/calendar-game-15-highlight-doors.png?fit=max\&auto=format\&n=zK1fhyLl5SS6JoLU\&q=85\&s=022c24e488d66145467099c7efba3999)

*Highlight settings for the doors that became active today*

## Publish the calendar and link it to a game

The calendar is a gameplay like any other, so customers only reach it through a game in a campaign.

1. In **Gameplay design**, select **Refresh** at the top of the gameplay's **Game Setting** page, so customers see your changes straight away.
2. Set the game period so that it covers the dates of all your fields, then publish the gameplay. [Design a game](https://help.lobyco.com/business-documentation/activities/games/design-a-game) explains how.
3. Copy the gameplay's **Live URL**, and paste it into **Game URL** on a game in a campaign. Give the game dates that cover all your fields too. [Create a game](https://help.lobyco.com/business-documentation/activities/games/create-a-game.md) takes you through the rest of the game.
4. To draw the winners after the calendar ends, tick **Enable lottery draw (not recommended for luck-based games)** on the game's **Activity behaviour** tab. With **Quiz** doors, only customers who answer correctly get an entry.

To check it worked, test the game with a small audience first, as [Test before customers play](https://help.lobyco.com/business-documentation/activities/games/create-a-game.md#test-before-customers-play) explains. In the app, signed in as a test customer, you see the door for today, and opening it shows that day's question or page. To check the other days, preview them with **Enable test date** in the editor.

## Troubleshooting

> [accordion] Why does the calendar show only one door on a phone?
>
> Its fields are **Day specific**. Change every field to **Date range**, as [Show many doors at once](#show-many-doors-at-once) explains.

> [accordion] Why didn't a customer win after a right answer?
>
> A right answer keeps a win, but it never creates one. Lobyco decides who wins before the customer starts playing. In a game with the lottery draw on, the customer got an entry instead, and winners are drawn after the game ends.

> [accordion] Why don't winners see their prize?
>
> Check the door's action. **Go to URL** and **Go to campaign** can't hand out a prize, so choose **Quiz** or **Go to flow page**. If the game has several rewards, the gameplay also needs a winning screen for each one. See [Show each winner their reward screen](https://help.lobyco.com/business-documentation/activities/games/design-a-game/show-each-winner-their-reward-screen.md).

## Related

* [Design a game](https://help.lobyco.com/business-documentation/activities/games/design-a-game) — start a gameplay from a template, set its period and publish it.
* [Edit a gameplay in the Gameplay Editor](https://help.lobyco.com/business-documentation/activities/games/design-a-game/edit-a-gameplay.md) — find your way around the editor, where you build the calendar.
* [Show each winner their reward screen](https://help.lobyco.com/business-documentation/activities/games/design-a-game/show-each-winner-their-reward-screen.md) — show winners the screen for the reward they won.
* [Knowledge game settings](https://help.lobyco.com/business-documentation/activities/games/types-of-games/knowledge-game-settings.md) — the editor settings of the other knowledge games.
* [Create a game](https://help.lobyco.com/business-documentation/activities/games/create-a-game.md) — run the calendar as a game in a campaign, with its rewards and the lottery draw.
* [Draw lottery winners](https://help.lobyco.com/business-documentation/activities/games/draw-lottery-winners.md) — pick the winners of a calendar with the lottery draw on.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.