packcolor
Operations
Pack [0, 1] RGBA components into a single number for drawing or rule-setting.
Syntax
packcolor result 1 0 0 1Parameters
| Parameter | Type | Default | Values |
|---|---|---|---|
result | value | result | — |
r | value | 1 | — |
g | value | 0 | — |
b | value | 0 | — |
a | value | 1 | — |
Data taken from Mindustry v160.4 by the project generators.
Unofficial fan project, not affiliated with Anuke. Mindustry sprites, fonts and translations © Anuke, used under GPL-3.0; Fira Code under OFL-1.1. Site code is GPL-3.0.