mirror of
https://github.com/smogon/sprites.git
synced 2026-08-20 08:45:06 -05:00
champions change
This commit is contained in:
14
Tupfile.lua
14
Tupfile.lua
@@ -55,6 +55,20 @@ foreach_rule(
|
||||
"build/gen9-modelslike/%B.gif"
|
||||
)
|
||||
|
||||
-- Gen 10
|
||||
|
||||
foreach_rule(
|
||||
"src/champions/*.png",
|
||||
{
|
||||
display="96x96 %f",
|
||||
-- TODO, add customizable compression for gif
|
||||
-- ... or investigate using webp instead of both png/gif here
|
||||
"magick convert %f -trim +repage -resize 90x90 %o",
|
||||
"gifsicle -O3 -b %o"
|
||||
},
|
||||
"build/gen10-modelslike/%B.gif"
|
||||
)
|
||||
|
||||
-- Gen 5 CAPs...
|
||||
|
||||
foreach_rule(
|
||||
|
||||
@@ -83,6 +83,12 @@ for (const f of list("build/gen9-modelslike")) {
|
||||
spritecopy(f, {dir: "xy"});
|
||||
}
|
||||
|
||||
for (const f of list("build/gen10-modelslike")) {
|
||||
if (seenModels.has(f.name)) continue;
|
||||
seenModels.add(f.name);
|
||||
spritecopy(f, {dir: "xy"});
|
||||
}
|
||||
|
||||
// Non-model CAPs
|
||||
for (const f of list("src/sprites/gen5")) {
|
||||
if (f.ext !== 'gif' || seenModels.has(f.name)) continue;
|
||||
|
||||
Reference in New Issue
Block a user