MPP_VanishState (Translucent Effect)

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
565
Reaction score
920
First Language
English
Primarily Uses
N/A
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


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.
 

Attachments

Last edited:

HalcyonDaze

Smoke and Mirrors
Veteran
Joined
Feb 6, 2013
Messages
266
Reaction score
122
First Language
English
Primarily Uses
RMMV
This is amazing! Thanks for this!
 

lonewolph

Veteran
Veteran
Joined
Oct 25, 2015
Messages
194
Reaction score
14
First Language
English
i like it but could you add the ability to tint it a color other than white? orange for example
 
Last edited:

Neuralsplyce

<error: witty or funny saying not found.>
Member
Joined
Aug 23, 2014
Messages
9
Reaction score
3
First Language
English
Primarily Uses
RMMV
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.
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
565
Reaction score
920
First Language
English
Primarily Uses
N/A
@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);

I'll add a note in the thread.
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !
Working on breaking the limits of RPGMaker! :cool:
I have 470+ hours on RMMV but have only made a demo game, is this normal? :kaoswt: (I lose motivation a lot plus I use a 32gb laptop, so..)
I like Iron Maiden.
Benku wrote on Magnus0808's profile.
Hey man you helped me out a long time ago with a plugin i was wondering if you can help me out one more time since its literally the last thing i need help with if not is cool but id figured id ask you one more soild.

Forum statistics

Threads
95,427
Messages
929,082
Members
125,659
Latest member
AphoticAmaranth
Top