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.
Plugin: download here (right-click, save as)
- HimeWorks Window Background Colors – change the window’s color
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.
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.
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
You can switch between them using
$gameSystem.setWindowskin( "Window" ) $gameSystem.setWindowskin( "Window_Red" )
And you should see the changes immediately.
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.