MPP_VanishState (Translucent Effect)

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
659
Reaction score
1,120
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
317
Reaction score
213
First Language
English
Primarily Uses
RMMZ
This is amazing! Thanks for this!
 

lonewolph

Veteran
Veteran
Joined
Oct 25, 2015
Messages
211
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
659
Reaction score
1,120
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

The Ace attorney series are so great games... But at the same time such a travesty.
Made a video showcasing a plugin (by Lanza) that adds 5 more weather effects to our MV games. :LZYsmile: Namely:
Ash-dust,
bloodrain,
Cherry Blossom Petals,
Hail,
and bubbles.

I just like this website:
lol

Forum statistics

Threads
103,239
Messages
998,301
Members
134,729
Latest member
Takufy
Top