fire animation should require less ressources
This commit is contained in:
parent
e34c6c75bb
commit
45ab40ebcb
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -39,10 +39,10 @@ public/assets/%-ts.png: assets/%.png
|
||||||
convert $^ -scale 32x $@
|
convert $^ -scale 32x $@
|
||||||
|
|
||||||
public/assets/fire-anim.png: $(FIRE_ANIM)
|
public/assets/fire-anim.png: $(FIRE_ANIM)
|
||||||
convert $^ -append -scale 32x $@
|
convert $^ -append $@
|
||||||
|
|
||||||
build/fire%.png: assets/fire.png
|
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
|
public/assets/%.json: assets/%.json
|
||||||
cp $^ $@
|
cp $^ $@
|
||||||
|
|
Loading…
Reference in a new issue