Battle background filters

● ARCHIVED · READ-ONLY
Started by Desolaser 8 posts View original ↗
  1. 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.

    demonstration
    Original:
    HRHE3Ck.png

    Twist filter:
    pjZmN4k.png

    Bulge pinch filter:
    XuEI5na.png

    Ascii filter:
    lcmAzki.png

    Glitch filter:
    15UomTu.png

    Old film filter:
    y6h7mv6.png

    Pixelate filter:
    5luTdww.png

    Cross hatch filter:
    T5EQQ7p.png

    Zoom blur filter:
    Lq6Ht5t.png

    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.
  2. Desolaser said:
    set_filter_bg_1 <filter type> <¿is animated?>

    So for those with an English language keyboard, which has no upside down question mark, is the script call
    set_filter_bg_1 <filter type> <?is animated?>
  3. Kes said:
    So for those with an English language keyboard, which has no upside down question mark, is the script call
    set_filter_bg_1 <filter type> <?is animated?>

    Haha i forgot that detail, I'll have to edit that.
  4. Your links are dead, where you have the demo and script ?
  5. Heya, your links are not working anymore
  6. Ahhh damn, this is what I exactly needed shame the links are down
  7. The links don't work anymore... anyone have a copy of the plugin and demo? I would really love to use it for my game! :(
  8. Does anyone still have the plug-in? ;--; pretty pleeeese