Transparent Sprites

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

transparentSprites1

This script allows you to adjust the opacity of character sprites such as events or the player using script calls. Note that it does not support images with semi-transparent pixels.

Download

Script: download here
Required: HimeBitmap.dll

Installation

Place this below Materials and above Main.
Place the DLL in your System folder

Usage

To change the opacity of a character, use the script call

set_opacity(character_id, opacity)

If the character_id is 0, then the current event’s opacity is changed.
If the character_id is -1, then the player’s character is changed, along with
all followers.

Any other number will be the event corresponding to that ID.

For the opacity value, 0 is completely transparent, 255 is opaque, while anything in between is just partially transparent.

Example

To set the player’s opacity to 128 (half transparent), use

set_opacity(-1, 128)
Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

1 Response

  1. it’s nice but I’m not sure if it’s worth it since Set Move Route command has a change opacity already

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax