赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 3 |
经验 | 0 |
最后登录 | 2024-9-11 |
在线时间 | 26 小时 |
Lv2.观梦者
- 梦石
- 0
- 星屑
- 260
- 在线时间
- 26 小时
- 注册时间
- 2022-10-24
- 帖子
- 5
|
2楼
楼主 |
发表于 2022-10-24 17:53:02
|
只看该作者
Enables handling of APNGs and GIF animations.
You can add APNGs to pictures, enemy characters, and any scene.
After registering the file as an APNG from the parameters,
you can add You just need to designate them as pictures and enemy characters,
just like normal images.
The following libraries are required for use.
https://github.com/sbfkcel/pixi-apngAndGif
Download
https://github.com/sbfkcel/pixi-apngAndGif/blob/master/dist/PixiApngAndGif.js
Attention!
It is not recommended to register a large number of images to
load the registered images at the start of the game.
In addition, loading large APNG images may slow down the display.
If the display is slow, please try GIF animation.
If you want to use GIFs, please note that the editor will not recognize
files without a GIF extension.
Please enter the file name with the extension directly in the parameter.
You can also display the picture from a script or by using
Please use a dummy png file of the same name to specify it.
Also, GIFs are not subject to the editor's encryption feature.
This plugin is released under the MIT License.
这里是文件里的简介,然后作为前置的“pixi-apngAndGif”插件我也下过了。 |
|