mirror of
https://github.com/smogon/sprites.git
synced 2026-07-04 09:42:08 -05:00
add MINISPRITE compression config
This commit is contained in:
parent
78c264ad52
commit
21c1a07bb0
|
|
@ -80,6 +80,7 @@ There are src-specific versions of these settings:
|
|||
- `CONFIG_DEX_<PROGRAM>`: Compression options for `dex/` only.
|
||||
- `CONFIG_MODELS_<PROGRAM>`: Compression options for `models/` only.
|
||||
- `CONFIG_SPRITESHEET_<PROGRAM>`: Compression options for spritesheets only.
|
||||
- `CONFIG_MINISPRITE_<PROGRAM>`: Compression options for `minisprites/` only.
|
||||
|
||||
For example, these settings reflect the compression settings for the files chaos uploaded in `src/`:
|
||||
```
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ foreach_rule(
|
|||
"newsrc/minisprites/pokemon/gen6/*.png",
|
||||
{
|
||||
display="pad g6 minisprite %f",
|
||||
pad{w=40, h=30}
|
||||
pad{w=40, h=30},
|
||||
compresspng{config="MINISPRITE"}
|
||||
},
|
||||
"build/gen6-minisprites-padded/%b"
|
||||
)
|
||||
|
|
@ -14,7 +15,8 @@ foreach_rule(
|
|||
"newsrc/minisprites/items/*.png",
|
||||
{
|
||||
display="pad item minisprite %f",
|
||||
pad{w=24, h=24}
|
||||
pad{w=24, h=24},
|
||||
compresspng{config="MINISPRITE"}
|
||||
},
|
||||
"build/item-minisprites-padded/%b"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user