Texture files for ✨ dat bling ✨.
gif/
holds two types of files:
-
each of
t[0-9]+.gif
is an animated texture gif. -
each of
i[0-9]+.gif
is the initial frame for its corresponding texture. These can be regenerated by runningnpm run start textures
.
The set must be sequential and start from 0
as it's only encoded to the client as length
.
In order to manipulate GIF playback at the client level, the frames/
subdir contains a re-encoded set of the texture GIFs, as plain base64-encoded GIF frames wrapped in JSON arrays.
Two types of files exist in this subdir:
-
initial.json
is a single file holding a flat array, where every item is the first frame of every texture. -
each of
f[0-9]+.json
holds a flat array representing the sequence of frames for a specific texture.
This file set can be rebuilt by running npm run start textures
. For prerequisites, see the top-level README
.