设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1851|回复: 8
打印 上一主题 下一主题

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

[复制链接]

Lv1.梦旅人

梦石
0
星屑
235
在线时间
24 小时
注册时间
2022-10-24
帖子
5
跳转到指定楼层
1
发表于 2022-10-24 17:51:25 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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

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

x
将格式改成了apng,然后放在事件里进入游戏发现是静止的……

Lv1.梦旅人

梦石
0
星屑
235
在线时间
24 小时
注册时间
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”插件我也下过了。
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
235
在线时间
24 小时
注册时间
2022-10-24
帖子
5
3
 楼主| 发表于 2022-10-24 18:01:05 | 只看该作者
不知道为什么,之前那些没图发出来……

QQ截图20221024175238.png (17.24 KB, 下载次数: 19)

QQ截图20221024175238.png
回复 支持 反对

使用道具 举报

Lv5.捕梦者

梦石
0
星屑
21967
在线时间
8569 小时
注册时间
2011-12-31
帖子
3362
4
发表于 2022-10-25 13:27:52 | 只看该作者
https://rpg.blue/thread-482936-2-1.html
ApngPicture.js執行要有 PluginCommonBase
和 PixiApngAndGif
順序
PluginCommonBase
PixiApngAndGif
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
235
在线时间
24 小时
注册时间
2022-10-24
帖子
5
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

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

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
235
在线时间
24 小时
注册时间
2022-10-24
帖子
5
6
 楼主| 发表于 2022-10-27 08:33:17 | 只看该作者
就像这样……

QQ截图20221027082941.png (46.01 KB, 下载次数: 19)

QQ截图20221027082941.png
回复 支持 反对

使用道具 举报

Lv2.观梦者

梦石
0
星屑
349
在线时间
44 小时
注册时间
2021-7-21
帖子
24
7
发表于 2024-1-4 16:58:05 | 只看该作者
PixiApngAndGif貌似有好几个到底是哪个-。-都测试了下还是没有求助
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
3881
在线时间
992 小时
注册时间
2016-12-6
帖子
370
8
发表于 2024-1-4 17:12:45 | 只看该作者
flylikiss 发表于 2024-1-4 16:58
PixiApngAndGif貌似有好几个到底是哪个-。-都测试了下还是没有求助

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

PixiApngAndGif.zip

23.96 KB, 下载次数: 8

ApngPicture.zip

8.18 KB, 下载次数: 6

回复 支持 反对

使用道具 举报

Lv2.观梦者

梦石
0
星屑
349
在线时间
44 小时
注册时间
2021-7-21
帖子
24
9
发表于 2024-1-5 09:15:02 | 只看该作者
感谢!!
回复 支持 反对

使用道具 举报

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

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-5-5 22:51

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表