The idea is to use video and gif as the source of the bitmap. To use it, you need to rename your png file to include the file extension of the resource. For example, $big[webm].png, will load $big.webm as its source. You need to find a software to make a video with transparent background.
The idea is to use video and gif as the source of the bitmap.
To use it, you need to rename your png file to include the file extension of the resource.
For example, $big[webm].png, will load $big.webm as its source.
You need to find a software to make a video with transparent background.
For example, with ffmpeg:
ffmpeg -framerate 30 -i "input_%04d.png" -c:v libvpx-vp9 -b:v 2M -crf 15 -pix_fmt yuva420p "output.webm"
Show picture command is similar.
For now, video and gif are played in loop and can't be controlled.
Tilemap can't play animations without going ultra slow, so I leave it alone for now.
Webp or other animation format is not supported yet.
Other links:
How to make a video(WebM) with a transparent background
https://github.com/buzzfeed/libgif-js
Download:
Removed for now, editing