# Editor

> Change a playable's settings, swap images and sounds, use the AI Assistant, arrange the HUD, translate texts, record gameplay and save.

Page for people: https://orvind.com/docs/pages/editor/
This text: https://orvind.com/docs/pages/editor.md

In the app: open a campaign → click a playable, or click Customize (app.orvind.com/campaign/…/customize/…)

The editor changes one playable. You change settings on the right, watch the result in the phone preview in the middle, then save. Nothing changes for players until you save.

## Layout

| Area | What is there |
|---|---|
| **Header** | Back arrow, campaign and playable name, overrides chip, size, **Take the tour**, help, **Discard changes**, **Save and keep editing**, **Save Playable** |
| **Left** | Playable switcher, **Sections** with search, **Translations**, **Changes** |
| **Middle** | Preview toolbar and the game in a phone or tablet frame |
| **Right** | The settings of the section you picked. Drag its left edge to resize. |
| **Bottom right** | **AI Assistant** button |

On small screens the areas stack: sections, preview, settings.

## Change a setting

1. Pick a section on the left, or type in **Search configs...**
2. Change the value on the right.
3. Look at the preview. Most changes show at once.
4. If the setting has a **Rebuild** badge, click **Rebuild to apply changes** in the preview toolbar. It takes about a minute.
5. [Save](#save).

A changed setting shows an **Unsaved** badge. The save button counts your changes.

Hover the ⓘ next to a setting for its description and default value.

### Kinds of settings

| Kind | How to use it |
|---|---|
| Number | Drag the slider, or click the value to type an exact number. Enter confirms, Escape cancels. |
| On/off | Click the switch. |
| Choice | Pick from the dropdown. |
| Colour | Use the colour picker or type a hex code such as `#ff0000`. |
| Text | Type in the box. The expand button opens a larger editor. |
| File | See [Replace an image or sound](#replace-an-image-or-sound). |
| List | **Add item** adds a row. The bin removes one. |
| Translatable text | Open the card to edit the text per language. **Add language** adds one. |

### Advanced settings

**Show advanced settings** reveals settings for the game's internal mechanics, such as physics, timings and difficulty. Most creatives do not need them. It is off by default.

### Undo

| To undo | Do this |
|---|---|
| One unsaved change | **Changes** → **Not saved yet** → undo icon |
| All unsaved changes | **Discard changes** in the header |
| One saved override | **Changes** → **Saved overrides** → reset icon, then save |
| All saved overrides | **Changes** → **Reset all**, click again to confirm, then save |

## Replace an image or sound

1. Find the file setting.
2. Choose one of the two tabs:
   - **Library**: pick a file already uploaded to this campaign.
   - **Upload**: drop a file, or click **browse**. The file joins the library and is selected.
3. Save.

To go back to the game's own file, click **Reset to default**.

The **Upload** tab shows which file types and sizes each setting accepts.

| File type | Formats | Largest size |
|---|---|---|
| Image | PNG, JPEG, WebP, GIF | 2 MB |
| Audio | WAV, OGG, MP3 | 10 MB |
| Video | MP4, WebM | 50 MB |
| 3D model | GLB | 20 MB |
| Font | TTF, OTF, WOFF, WOFF2, EOT | 5 MB |

Large files make the playable larger. See [Size limit](#size-limit).

## Preview

| Control | Does |
|---|---|
| **Device:** | Picks the phone or tablet frame |
| **Portrait** / **Landscape** | Turns the device |
| Language button | Shows the playable in another language |
| **Restart** | Plays the ad again from the start with your current changes |
| **Force Endcard** | Jumps to the end card. Only for games that support it. |
| **Edit HUD** | Opens the [HUD designer](#arrange-the-hud). Only for games that support it. |
| **Record gameplay** | [Records a video](#record-gameplay) |
| **Rebuild to apply changes** | Appears when a change needs a new build to show |

Device, orientation and language only change the preview, not the playable.

The preview never opens the app store. When the game would open it, a note appears above the phone, such as "Store opened: store button tapped" or "Store opened automatically: after 3 taps".

## Save

There is no autosave.

1. Click **Save Playable** to save and return to the campaign, or **Save and keep editing** to stay.
2. In the dialog, check the **Playable Name**. Optionally add a **Playable Tag**.
3. Click **Save**.

Saving builds the playable again. This takes about a minute. With **Save and keep editing** the header shows "Saved · building…" and then "Saved and built".

Team admins also see **Use these configs as defaults for future playables in this campaign**. Tick it to make new playables start from this one's values.

Saving always updates the playable you have open. To make a new playable, go to the [campaign page](https://orvind.com/docs/pages/campaign/) and click **Customize**, or clone one.

If you leave with unsaved changes, Orvind asks "Leave without saving?" Click **Keep editing** to stay.

The save buttons are disabled while the playable is building, while a setting has an error, and while a rebuild is waiting.

## Size limit

Ad networks accept playables up to 5 MB. The header shows the size of the last build, for example "3.2 MB of 5 MB". It turns amber near the limit and red over it.

A playable over 5 MB is not built. Your changes are saved and the last build stays in place. Use a smaller image, video or sound, or remove one you uploaded, then save again.

## AI Assistant

The AI Assistant changes settings from a plain-language request and can tell you where a setting is.

1. Click **AI Assistant** at the bottom right.
2. Type a request, for example "Make the round 90 seconds" or "Change the CTA text to Install Now".
3. Press Enter.

Tips: give exact values ("90 seconds", "#ff0000"), and combine several changes in one message.

| Reply | What you can do |
|---|---|
| "N changes applied" | The changes are in the editor, unsaved. Click **Undo** to take them back. Save to keep them. |
| An answer with settings | Click **Show me** to jump to a setting. |
| "Rearrange the sections?" | Click **Apply** to move settings between sections for everyone on this campaign. Values stay the same. |
| "This needs a change to the game itself…" | Click **Open in Playground**. The [Playground](https://orvind.com/docs/pages/playground/) opens with your request ready. |

Each playable has its own conversation. The bin clears it.

## Changes

**Changes** on the left lists how this playable differs from the campaign's defaults.

- **Not saved yet**: your edits since the last save.
- **Saved overrides**: values saved on this playable that differ from the campaign default. Click a row to jump to the setting.

The overrides chip in the header shows the same count.

## Translate texts

1. Click **Translations** on the left.
2. Click **Auto-Translate** for all texts, **Translate** on one text, or a language chip for one language.
3. Pick the **Source language** and tick the **Target languages**.
4. Leave **Only fill empty translations (skip existing)** ticked to keep translations you already have.
5. Click **Translate**.
6. Save.

## Arrange the HUD

For games that support it, you can move, resize and hide HUD items such as the score or timer.

1. Click **Edit HUD**. The game pauses and a box appears over each HUD item.
2. Drag a box to move it. Drag a corner to resize it. Arrow keys nudge it; hold Shift for bigger steps.
3. In the **HUD layout** panel, use the eye icon to hide or show an item, the **Move to** grid to snap it to a corner, edge or the centre, and **Reset** to put it back.
4. Turn the device to arrange the other orientation. Portrait and landscape are separate.
5. Click **Done Editing HUD**.
6. Save.

Some games also offer **New layout for screen shapes…** in the **Editing** dropdown. Use it to give certain screen shapes their own arrangement.

## Record gameplay

You can record yourself playing and save the video to the campaign's Ad Creatives. This works in desktop browsers.

1. Save the playable first.
2. Optional: click **Pointer:** to choose how the mouse pointer looks: **Picture** (a hand or your own picture), **None** or **Normal**.
3. Click **Record gameplay**.
4. When the browser asks what to share, choose this tab.
5. After the 3-second countdown, play the ad.
6. Click **Stop**. A recording stops by itself at 3 minutes.
7. Click **Save to Ad Creatives**, **Re-record** or **Discard**.

Click **Stop sharing** when you are done recording.

## Switch playable

Click the playable's name at the top left and pick another from **Playables in this campaign**. The dot shows whether it is Ready, Building or Failed.

## View-only

If you see a **View only** banner, you can try changes in the preview but cannot save them. See [Roles and access](https://orvind.com/docs/start/access/).

## Messages you may see

| Message | What to do |
|---|---|
| "The preview couldn't be rebuilt, so it still shows your previous version. …" | Click **Try again**. |
| "Your changes were saved, but the build failed, …" | Save again. |
| "File exceeds … limit." / "Invalid file type. …" | Use a smaller file or an allowed format. |
| "Please fix validation errors before saving" | Correct the setting marked with an error. |
| "Couldn’t open the editor" | Check your connection and sign in again. |

## Details for agents

### Addresses and access

- `/campaign/<id>/customize/<playableId>`. Without a playable id the preview says "No playable selected".
- Customizer `off`: "Not available on your account". `view`: preview-only; settings that need a build are greyed out with "Not available", uploads stay in the browser, save is disabled, Edit HUD is hidden. Team viewers: save is disabled.
- AI assistants `off`: no AI Assistant button; translate buttons disabled. `view`: the panel shows but is disabled.
- Record gameplay and Pointer need Creatives `edit`.
- "Use these configs as defaults for future playables in this campaign" is shown to team admins.

### Header

- Breadcrumb: campaign name, then "Editing: <playable name>".
- Overrides chip: "N override(s)", "No diff data" or "Defaults".
- Size: "X MB of 5 MB"; amber above 90% of the limit; red over it, with "Too large: … Ad networks will reject it."
- Save buttons: "Save and keep editing" and "Save Playable", which reads "Save (N changes)" when there are unsaved changes.
- Build status after "Save and keep editing": "Saved · building…", then "Saved and built" or "Saved · build finished".

### Left rail

- Playable switcher menu "Playables in this campaign", with "Ready", "Building…" or "Failed" per playable.
- "Sections" list; a blue dot marks a section with unsaved changes. "Rearranged" with a "Put back" link when the AI Assistant rearranged the sections.
- Search placeholder "Search configs...". It matches a setting's name, description or path, and section names.
- "Show advanced settings (N)", off by default and remembered in the browser.
- "Translations" appears only if the game has translatable texts. "Changes" shows a count of saved overrides.

### Setting rows

Badges: "Unsaved" (changed since the last save), "Rebuild" (needs a new build to show in the preview). A number outside its slider range is allowed with the warning "Value is outside the recommended range (min – max) — this may affect game behaviour." Some settings appear only when another setting has a certain value.

File picker: tabs "Library" and "Upload". Library placeholder "Select an image..." (or audio file, video, 3D model, font); "Default: <file>" when the default is in use; "Reset to default"; "No files yet. Upload one first."

Language card badges: "N lang(s)", "Same in all languages", "Needs fixing".

### Changes view

Sections "Not saved yet (N)", "Saved overrides", "Not in current config". "Reset all" must be clicked twice within about 3 seconds. Resets change only the values in the editor until saved. Empty states: "No override data yet", "Matches campaign defaults".

### Preview toolbar labels

"Device:", "Portrait", "Landscape", "Restart", "Force Endcard" / "Stop Forcing Endcard", "Edit HUD" / "Done Editing HUD", "Record gameplay" / "Record again", "Pointer: Picture/None/Normal", "Rebuild to apply changes" ("Rebuilding…"). Default device: iPhone 16 Pro Max.

Store notices: "Store opened: store button tapped"; "Store opened automatically: <reason>" with reasons such as "after N taps", "after N seconds", "at the finish line", "when the timer ended"; "Store event: <value>".

Building screen: a countdown of about 45 to 49 seconds and "Building Your Playable". Settings cannot be changed while the preview builds or the game loads.

### AI Assistant replies

| Reply | Wording |
|---|---|
| Changes applied | "N change(s) applied", each with old → new value, with "Undo" then "Redo" |
| Answer | Settings with "Show me" |
| Rearrangement | "Rearrange the sections?" with "Apply"; saved at once, for everyone on the campaign |
| Outside the settings | "This needs a change to the game itself, which the settings can’t make." with "Open in Playground" where the Playground is available |
| Off-topic | "I can only help with game configuration changes." |
| Nothing possible | "No changes could be made." |
| Error | "The AI helper couldn’t answer this time. Please try again." |

Enter sends; Shift+Enter makes a new line. "Open in Playground" opens `/campaign/<id>/playable-editor?request=<text>`.

### Recording

Limits: a 3-second countdown; a take stops at 3:00. Pointer picture size 10 to 50% of the screen width; picture types PNG, JPG, WebP, GIF, SVG; the picture stays in the browser. Review dialog "Your gameplay recording" with "Discard", "Re-record", "Save to Ad Creatives"; then "Saved to Ad Creatives" with "View in Ad Creatives". Escape cancels the countdown.

### HUD designer

Panel "HUD layout": "Editing: Portrait (phones and tablets)" or "Landscape". Item states "off" with "Turn on", and "custom". Selected item: "Reset" (or "Use main layout"), the "Move to" grid, number boxes "From left/right/centre", "From top/bottom/centre", "Size" in %. Arrow keys move 1 px, with Shift 10 px. Screen-shape layouts: "New layout for screen shapes…", "Create layout", "Save shapes", "Side by side", "Edit shapes", "Rename", "Delete".

### Translate dialog

Titles "Translate All Fields", "Translate Field", "Translate to <Language>". Fields "Source language", "Target languages (N selected)" with "Select all" and "Clear", "Only fill empty translations (skip existing)" (on by default). Results are unsaved changes.

### Dialogs

| Dialog | Text | Buttons |
|---|---|---|
| Leave | "Leave without saving?" / "You have N unsaved change(s) to this playable. …" | "Leave" / "Keep editing" |
| Discard | "Discard your changes?" / "This puts back the values from your last save. …" | "Discard changes" / "Keep editing" |
| Save | "Save Playable": "Playable Name", "Playable Tag (Optional)" | "Cancel" / "Save" |
| Put back sections | "Put the sections back?" | "Put back" / "Keep this arrangement" |

### More messages

| Message | Meaning |
|---|---|
| "This change makes the playable X MB, over the 5 MB that ad networks accept, so it wasn't built. The preview still shows your previous version." | Preview rebuild blocked by size |
| "Your changes were saved, but the playable came out at X MB, over the 5 MB that ad networks accept, so it wasn't built. The last build stays in place." | Save blocked by size; lists "Largest parts: …" |
| "This file adds about X MB to a playable that is Y MB now, so it may go over the 5 MB that ad networks accept. …" | Warning on upload |
| "Your changes were saved, but the build couldn't be started. Please save again to try once more." | Save again |
| "Click “Rebuild to apply changes” first" | Save is disabled until the rebuild |
| "You have view-only access to this campaign, so changes can’t be saved. Ask a team admin if you need to make changes." | Viewer |
| "Playable saved — building…" | Success |
| "Nothing was captured. Try recording again." / "Could not start recording. Check your browser permissions." | Recording |
| "Translation failed. Please try again." | Translate |
| "Must be a valid number" / "Invalid option selected" | Setting validation |
