Skip to content

Creating New Graphics

zschaller27 edited this page Dec 11, 2019 · 3 revisions

Creating New Graphics

JSON Config Files

elements.json

This file is a list of every overlay element that is present in the theme and whether this element should be enabled or not. If an element is not enabled, the program will not try to look for its options and allow the user to control it from the control panel. Each entry should be formatted as follows: "name of element" : true/false. A bool value of true indicates that this element is enabled.

Common errors:

  • If an element is not in this file, it will not be processed.
  • If an element's name in this file isn't exactly the same as the name of it's svg and json file it will not be processed.

Element JSON File

Each element in a theme needs its own JSON config file. This details what options this element has (animation, text, images, etc.). There are a couple requirements for each JSON config file:

  • "id" : this is the name of the element that this config file relates to.
  • "info" object : this holds any data needed to properly render the element to the desired specifications.

An example of an element config JSON file is playerinfo.json

Clone this wiki locally