OS4 Theme Creation

From RGB-Pi Wiki
Revision as of 12:42, 13 February 2023 by RTomas (talk | contribs) (Created page with "==Instructions== there are three main different kinds of themes and creation technics: * Static * Sprite animations * Animated GIFs Creating a new theme from scratch can be...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Instructions

there are three main different kinds of themes and creation technics:

  • Static
  • Sprite animations
  • Animated GIFs

Creating a new theme from scratch can be intimidating at first. We suggest start by copying one of the exsiting ones:

  • Mega Tech as a template for static
  • Sonic as a template for sprite animations
  • Out Run as a template for animated GIF backgrounds

Themes can be found in the SD card in /opt/rgbpi/ui/themes folder. Copy the desired one and rename as you wish. Themes are inmmediately available from system options (reboot is not required).

theme.ini

When creating themes, the most important file is the theme.ini. This file is where you can define object position and color. The files are self documented so it should not be require much more explanation.

Special Sections

  • [bg] -> this defines the different types of scroll animations or GIF animation
  • [cust_sprt] -> this defines all sprite animations