MPP_VanishState (Translucent Effect)

MPP_VanishState - 2016/06/19 (ver. 1.0)

Creator name: Mokusei Penguin

Overview
You can create a state that makes a battler translucent during battle.

Feature
- Battler can appear ghosty.

Screen
MghjFr6.png


Author's Notes
●
Weapons, state effects, etc. will not become translucent.

Credit and Thanks: Mokusei Penguin

Terms of Use- Free for commercial and non-commercial use.

License - MIT License: http://opensource.org/licenses/mit-license.php

You can download a js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/ott37tgnngz05oq/MPP_VanishState.js?dl=1

Source
http://woodpenguin.web.fc2.com/MV_Plugin/VanishState.html

Note: If you want to change the color instead of white, edit the javascript-
on line 54 through 57, value are based on rgb except 57 is for opacity.
This is amazing! Thanks for this!
i like it but could you add the ability to tint it a color other than white? orange for example
Awesome. My next game will take place mostly in underground dungeons so I wanted a bunch of transparent/translucent cave monsters and assumed I'd have to edit a bunch of existing spritesheets. Thanks.
@lonewolph sorry for the late reply, to change the color requires a direct edit in javascript.
On line 54 through 57, you can change the color value like rgb except 57 is for opacity.
Code:
        pixels[i+0] = 255;
        pixels[i+1] = 165;
        pixels[i+2] = 0;
        pixels[i+3] = Math.floor(pixels[i+3] * alpha / 255);
orange.png

I'll add a note in the thread.

Original thread: https://forums.rpgmakerweb.com/threads/mpp_vanishstate-translucent-effect.80502/