Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicHUD MythicHUD
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicHUDMythicHUD
  • Wiki
    • Components
  • Asset Layers

Asset Layers · Changes

Page history
Added Scale authored Mar 27, 2025 by Brickgard's avatar Brickgard
Show whitespace changes
Inline Side-by-side
Showing with 8 additions and 1 deletion
+8 -1
  • Components/Asset-Layers.md Components/Asset-Layers.md +8 -1
  • No files found.
Components/Asset-Layers.md
View page @ 585cff30
......@@ -9,7 +9,7 @@ Asset layers move in the direction of their alignment, from their start position
### Outlined
This will give a shadow-backdrop outline to the asset layer.
```yaml
outlined: true
outlined: true
```
### Offset
The core positioning of the asset layer - this moves the asset based on the origin point for the whole Asset (where it is placed in [HUD Layouts](Layouts) ). This is how to position various layers around within an asset, to make a single object ready to arrange within a HUD.
......@@ -24,6 +24,12 @@ Some layers can be colored, such as tinting a texture or a font color. Supports
color: white
color: "#ffbb00"
```
### Scale
A layer can be scaled, changing the pixel resolution of the input texture by this multiplier.\
For example, this would take a 32px square texture and display it as a 16px square texture:
```yaml
scale: 0.5
```
## Contents
### Text Layer
Text layers can be static or contain placeholders, either from the layer's listener or PlaceholderAPI.
......@@ -85,6 +91,7 @@ fill:
align: right
outlined: false
color: "#f23a3a"
scale: 0.5
offset:
x: 0
y: 0
......
Clone repository
Home

Getting Started
What's New in MythicHUD?
Commands and Permissions
Configuration Reference

Layouts
Pop-Ups
HUD Components
  • Asset Layers
  • Assets
  • Listeners
  • Conditions
    • Effect
    • Gamemode
    • Placeholder
    • Progress
    • Logical Operators
Fonts

MythicHUD API
Compatibility
  • Migrating from v1 to v2
  • Supporting Multiple Client Versions
  • Crucible
  • Nexo
  • ItemsAdder
  • Modded Clients