查看: 3527|回复: 9

[有事请教] Apng插件如何使用?

[复制链接]
梦石
0
星屑
335
在线时间
32 小时
注册时间
2022-10-24
回帖
5
发表于 2022-10-24 17:51:25 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
将格式改成了apng,然后放在事件里进入游戏发现是静止的……
梦石
0
星屑
335
在线时间
32 小时
注册时间
2022-10-24
回帖
5
 楼主| 发表于 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”插件我也下过了。
回复

使用道具 举报

梦石
0
星屑
335
在线时间
32 小时
注册时间
2022-10-24
回帖
5
 楼主| 发表于 2022-10-24 18:01:05 | 显示全部楼层
不知道为什么,之前那些没图发出来……
QQ截图20221024175238.png
回复

使用道具 举报

梦石
0
星屑
22879
在线时间
8598 小时
注册时间
2011-12-31
回帖
3270
发表于 2022-10-25 13:27:52 | 显示全部楼层
https://rpg.blue/thread-482936-2-1.html
ApngPicture.js執行要有 PluginCommonBase
和 PixiApngAndGif
順序
PluginCommonBase
PixiApngAndGif
回复

使用道具 举报

梦石
0
星屑
335
在线时间
32 小时
注册时间
2022-10-24
回帖
5
 楼主| 发表于 2022-10-27 08:32:00 | 显示全部楼层
tseyik 发表于 2022-10-25 13:27
https://rpg.blue/thread-482936-2-1.html
ApngPicture.js執行要有 PluginCommonBase
和 PixiApngAndGif

原来还有顺序的要求?可我按这样做还是有问题,直接报错了。说有个数值出错,但是我没找到调那个数值的地方。
回复

使用道具 举报

梦石
0
星屑
335
在线时间
32 小时
注册时间
2022-10-24
回帖
5
 楼主| 发表于 2022-10-27 08:33:17 | 显示全部楼层
就像这样……
QQ截图20221027082941.png
回复

使用道具 举报

梦石
0
星屑
364
在线时间
45 小时
注册时间
2021-7-21
回帖
24
发表于 2024-1-4 16:58:05 | 显示全部楼层
PixiApngAndGif貌似有好几个到底是哪个-。-都测试了下还是没有求助
回复

使用道具 举报

梦石
0
星屑
7009
在线时间
1280 小时
注册时间
2016-12-6
回帖
378
发表于 2024-1-4 17:12:45 | 显示全部楼层
flylikiss 发表于 2024-1-4 16:58
PixiApngAndGif貌似有好几个到底是哪个-。-都测试了下还是没有求助

你可以试试这个,亲测有用

PixiApngAndGif.zip

23.96 KB, 下载次数: 32

ApngPicture.zip

8.18 KB, 下载次数: 24

回复

使用道具 举报

梦石
0
星屑
364
在线时间
45 小时
注册时间
2021-7-21
回帖
24
发表于 2024-1-5 09:15:02 | 显示全部楼层
感谢!!
回复

使用道具 举报

梦石
0
星屑
1332
在线时间
165 小时
注册时间
2022-2-14
回帖
80
发表于 2025-7-19 15:30:41 | 显示全部楼层
shiroin 发表于 2024-1-4 17:12
你可以试试这个,亲测有用

确实可以用,就是敌人侧视战斗图那里有问题,得在pictures文件夹下放一个同名图片,不然就提示没有图片,明明注册的时候用的是sv_enemies文件夹……
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部