fire animation should require less ressources

main
Codinget 5 years ago
parent feb19981b4
commit 56bed17a9f
  1. 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…
Cancel
Save