ovate

tale
Veteran
Joined
Dec 16, 2016
Messages
918
Reaction score
1,552
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
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.
 

Attachments

  • MPP_VanishState.js
    6.3 KB · Views: 47
Last edited:

Halcy0n

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

lonewolph

Veteran
Veteran
Joined
Oct 25, 2015
Messages
215
Reaction score
15
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
12
Reaction score
18
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.
 

ovate

tale
Veteran
Joined
Dec 16, 2016
Messages
918
Reaction score
1,552
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);
orange.png

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

Latest Threads

Latest Profile Posts

7DcJlIG.png


Made a lot of progress on the tileset for the more sumptuous interior areas for the priory
I keep thinking up of new changes or improvements... Edit: Forgot to add the image Gimpwork.JPG
Hello, my nickname is Rigomor, but I am also known as Mopsikus. I work on RPG Maker games, and are currently working on a game called Peony of War.

Forum statistics

Threads
117,299
Messages
1,106,293
Members
153,480
Latest member
Varlen
Top