fire animation should require less ressources

This commit is contained in:
Nathan DECHER 2020-03-27 00:09:19 +01:00
parent e34c6c75bb
commit 45ab40ebcb
1 changed files with 2 additions and 2 deletions

View File

@ -39,10 +39,10 @@ public/assets/%-ts.png: assets/%.png
convert $^ -scale 32x $@
public/assets/fire-anim.png: $(FIRE_ANIM)
convert $^ -append -scale 32x $@
convert $^ -append $@
build/fire%.png: assets/fire.png
convert $^ -distort ScaleRotateTranslate $(shell echo $@ | sed 's/[^0-9]*//g') $@
convert $^ -distort ScaleRotateTranslate $(shell echo $@ | sed 's/[^0-9]*//g') -resize 32x $@
public/assets/%.json: assets/%.json
cp $^ $@