Tooltips
Discord
  • Tooltips
  • Start here
  • Support
  • Plugin
    • Features
    • Commands
    • FAQ
    • Guides
      • Clearing cache
      • Furniture shop
      • BetonQuest Dialogue
      • Languages
      • Manual width
  • Configuration
    • Theme
      • Theme textures
      • Making a custom theme
    • Icon
    • Preset
      • Conditions
      • Condition list
      • Show
      • Actions
        • Commands
      • Functions
      • Animations
      • Argument Types
  • Extra
    • Notable 2.0 Changes
    • Integrations
    • Variables
    • API
      • Custom Conditions
Powered by GitBook
On this page
  1. Configuration
  2. Theme

Theme textures

PreviousThemeNextMaking a custom theme

Last updated 5 months ago

Themes are used to define how a tooltip looks. They're an essential building component and as such are required for everything else to work. It all starts with the themes texture, which looks like this:

Tooltips consist of three parts; left, center and right. You can see all of them in the texture example above. The width of the texture is 6 pixels, which when divided by 3 (for all three parts) equates to 2 pixels per part. So the main rule when making custom themes, is to make their size divisible by three.

For example, it is possible to make a wider and more detailed tooltip by setting the width to 12, so we have 4 pixels to work with:

With that much space, we can create more complex shapes for the borders. Here's an example:

Aseprite -software is recommended when working with textures
This is how the plugin will split the texture
Width: 12, height: 20