diff --git a/wiki/SpriteData.md b/wiki/SpriteData.md index b5f8172..43fb642 100644 --- a/wiki/SpriteData.md +++ b/wiki/SpriteData.md @@ -28,7 +28,7 @@ sprite sprite ``` -The name of the sprite should be a path relative to the **images** folder, and not including frame numbers, [blending mode specifiers](BlendingModes), or the ".png" or ".jpg" extension. For example, the "blaster impact" effect is an animation with four frames: +The name of the sprite should be a path relative to the **images** folder, and not including frame numbers, [blending mode specifiers](BlendingModes), or the file extension. For example, the "blaster impact" effect is an animation with four frames: * images/effect/blaster impact+0.png * images/effect/blaster impact+1.png @@ -37,6 +37,8 @@ The name of the sprite should be a path relative to the **images** folder, and n The `` for this sprite is "effect/blaster impact". The `+` in the file names specifies that the images should use [additive blending](BlendingModes#alpha-blending-vs-additive-blending), and the numbers after the `+` are the frame numbers for the animation. +The current file formats supported for simple images are `.png` and `.jpg`/`.jpeg` / `.jpe`. You can also use `.avif`/`.avifs` files to store all frames of an animation. In this case, you should only have one file matching the sprite name. + ## Scale ```html