Skip to content

Layouts

Tygo de Vries edited this page Aug 9, 2025 · 2 revisions

Layouts can be put in the layout folder that is found inside the plugin folder.
Layouts are in JSON format.

The layout file contains the information on what background and foreground to use in the images.
It also lists where all the player faces should be, what rendering type to use, and how big they should be.

Example File

{
  "background": "test-ride-background",
  "foreground": "test-ride-foreground",
  "faces": [
    {
      "type": "ISO_BODY_LEFT",
      "x": 56,
      "y": 17,
      "width": 28,
      "height": 49
    }
  ]
}

You can make these files using the editor at https://thesheep.dev/photo

Clone this wiki locally