设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 66|回复: 0

[转载发布] Battle background filters

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29925
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38778

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Battle background filters v1.0.0
    Desolaser


    Introduction
    With this plugin you can add some crazy effects to the background, even create earthbound-like effects in the battle background, with the help of at least 8 different types of filters that can be added to both backgrounds of the battle scene.

    Features
    - You can add filters to both battle backgrounds.
    - There are 8 types of filters.
    - The filters can be static or animated.
    - Possibility of change filters initial parameters to customize some aspects of the effects.
    - Plugin commands to apply the effects.

    Setup
    This plugin will not work if you don't have the pixi-filters.js library added to index.html. Then you have to add this line of code within the body of the index.html in the root directory of the project:

    <script type="text/javascript" src="js/libs/pixi-filters.js"></script>

    If for some reason you don't have this library (the library comes with the plugin). You can download it from this page:

    https://cdn.jsdelivr.net/npm/pixi-filters@2.6.1/dist/pixi-filters.js

    Once you have the library, then you have to copy it to this path:

    (name_of_rpg_maker_project)/js/libs

    With that the plugin should be ready to function properly.

    How to Use

    This works with plugin commands which are:

    set_filter_bg_1 <filter type> <is animated?>
    set_filter_bg_2 <filter type> <is animated?>

    This have to be used in the game troops event screen.

    Types of filters

    There are eight types of filters:

    1. Twist filter.
    2. Bulge pinch filter.
    3. Ascii filter.
    4. Glitch filter.
    5. Old film filter.
    6. Pixelate filter.
    7. Cross hatch filter.
    8. Zoom blur filter.

    These filters can be added to both backgrounds at the same time and with different types of filters.

    Hint: Its not a good idea use filter 7 in background 2, because the transparent zone will become non-transparent, that means that background 1 will be covered.

    Animation

    You can define if the filter is animated or not.  Use 1 if you want the background animated, if you write something else the animated function will not work. The animation movement depends on the initial parameters.

    Hint: Cross hatch filter can't be animated.

    Glitch filter mode

    In the parameters there is a special parameter called Gl Filter initial fillmode. This parameter have only five possible inputs, which are:

    0: TRANSPARENT
    1: ORIGINAL
    2: LOOP
    3: CLAMP
    4: MIRROR

    I can't explain this with words, but you can have an idea of how this works. I recommend to test fillmodes by yourself if you want to know more about this.

    About other parameters, the description is in the plugin manager.

    Example

    To add non animated twist filter in background 1:
    set_filter_bg_1 1

    To add animated ascii filter in background 2:
    set_filter_bg_2 3 1

    As said before, you can use both at the same time.

    Screenshots
    In this section i will show you the effects of the filters applied to one background.

    Spoiler: demonstration
    Original:




    Twist filter:




    Bulge pinch filter:




    Ascii filter:




    Glitch filter:




    Old film filter:




    Pixelate filter:




    Cross hatch filter:




    Zoom blur filter:


    Downloads

    Download demo

    Download script

    FAQ
    Q: What happens if i add 2 filters to the same battle background?
    A: The second filter you added will overwrite the first.

    Q: Why filter 7 doesn't animate?
    A: The filter 7 is an static filter by default, there are no parameters to modify over time.

    Q: Why filter 8 doesn't make big difference in static mode?
    A: Because Zoom blur initial strength is 0, if you want to use filter 8 in static mode you will have to
    increse the Zoom blur initial strength a little. (supports numbers between 0 and 1).

    Q: What happens if i use the plugin command in an event on the map scene?
    A: I don't tried that, but obviously will not work.

    Terms of use
    - This plugin is free for commercial and non-commercial use.
    - You have to give the proper credits to "Desolaser".

    Credit and Thanks
    - Desolaser.

    Author's Notes
    Maybe in the future i'll add more flexibility to animated filters, but if you want to give me some ideas to modify the plugin parameters, you are welcome.


    本贴来自国际rpgmaker官方论坛作者:Desolaser处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/battle-background-filters.99279/

    本帖子中包含更多资源

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

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 01:30 , Processed in 0.088799 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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