Windowskin Change

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

windowskinChange1

This plugin allows you to change your windowskins using simple script calls.

By default, the game only supports one windowskin, but with this plugin you can use multiple windowskins and change them during the game as needed.

Custom windowskins can be used to allow players to customize how they want their game to look.

Alternatively, you may choose to use it as a way to show additional information to the player. Perhaps you have a moral system, and depending on your status, the windowskin may appear differently.

Download

Plugin: download here (right-click, save as)

Related Plugins

Installation

Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_WindowskinChange plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

Locating Files

All window skins must be placed in the same folder. By default, they are stored in img/system, but you may have plugins that change this.

Changing Windowskins

To change the windowskin, use the script call

$gameSystem.setWindowskin( NAME )

Where the NAME is the name of the windowskin image.
For example, assuming you have two windowskins

  • Window.png
  • Window_Red.png

You can switch between them using

$gameSystem.setWindowskin( "Window" )
$gameSystem.setWindowskin( "Window_Red" )

And you should see the changes immediately.

Preloading Files

Windowskins should be preloaded before you use them. This is because the image may not be ready when it is required.

To preload a file, use the script call

$gameSystem.preloadWindowskin( NAME )

Where NAME is the name of the windowskin to load.

You can simply have an auto-run event at the beginning of the game download all of the windowskins you may need.

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. Niji says:

    Hi, I’m currently using Yanfly’s Message Core to add a name box above the message box, and for some reason the name box’s window won’t change accordingly (it remains as the previous window). It only changes to the right window after I open the main menu. Can this be fixed, or… do you suggest another option? ^^;

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