Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki update for .jpeg support (10392) #42

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
4 changes: 3 additions & 1 deletion wiki/SpriteData.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sprite <name>
sprite <name>
```

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
Expand All @@ -37,6 +37,8 @@ The name of the sprite should be a path relative to the **images** folder, and n

The `<name>` 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 are `.png` and `.jpg`/`.jpeg`.
tibetiroka marked this conversation as resolved.
Show resolved Hide resolved

## Scale

```html
Expand Down