Icons
A node of the Asset graph.
Takes: — · Gives: file
Output: inventory icons of the model, from the ¾ angle under the studio light, outlined in the Rarity's colour (or From the file's name), Framed or not, at each of the Sizes: a PNG an icon and an atlas and a JSON index a size, into the folder To. An icon is a render of its own, so it takes nothing in; pxr makes them after the sheets, into the export's folder. See inventory icons.
Settings
| Setting | What it does | Range | Default |
|---|---|---|---|
Calledname | What this output is called. | text | icons |
Save topath | Where the icons go. | text | out/icons |
| Sizes | The sizes, in pixels, separated by commas. | text | 16,24,32,48 |
| Rarity | The frame's colour, or read from each file's name. | Common, Uncommon, Rare, Epic, Legendary, From the file's name | common |
Framedframe | A frame round each icon. | on or off | false |
Every setting is also an input: wire a value into it to change it per frame or per file. On the command line: pxr graph set game.pixor --which asset --node icons --set KEY=VALUE.
What it wires to
Its name input takes a text, which these give: Words.
What it gives, a file, goes into: APNG per clip, Aseprite file, Depth map, Dual-grid sheet, Emission map, File, GameMaker autotiles, GIF per clip, Godot SpriteFrames, Godot TileSet, JSON, LDtk project, and 18 more.
In the app, drag a wire from one of its dots: every dot the wire fits is ringed.
How it fits with the rest: the Asset graph in the manual.
In the same group
Sprites · Image file · Merge · Layer · Frame range · Hold · Flip · Tag · Arrange · Place · Stack · Overlay · Sheet · File · JSON · Aseprite file · Godot SpriteFrames · Normal map · Depth map · Emission map · Line and flat layers · Palette · GIF per clip · APNG per clip · Video per clip · Light kit · PICO-8 cart · Report · Shadow layer · Palette variants · Paper-doll layers · Parallax layers · Text file · ZIP archive · Tile set · Animation file · Tile set JSON · Godot TileSet · Tiled tileset · Dual-grid sheet · GameMaker autotiles · RPG Maker autotiles · Unity RuleTile · LDtk project · Tile palette variants · Map preview · Number value · On/Off · Angle · Words · Add values · Subtract values · Multiply values · Divide values · Smaller value · Larger value · Is above · Opposite · Both on · Either on · Pick a value