I've added a few new functions for those of you using it to manage busts:
- dim picture, sets the picture to grey
- light picture, sets the picture to full color
These two commands should allow you to act as if busts are selected or unselected depending on who's speaking, directly from the message window.
- move picture home, moves the picture back to its original coordinates
- fadeout picture, moves the picture a bit to a chosen side, set it to grey, set it to transparent over the course of a few frames before erasing it
This should allow you to end conversations with a bit more style.
These four new commands are available via script call and text codes.
You can download the update in the OP, I've updated the pastebin.
Further instructions on the commands below:
Code:
* ===================================================================
* VN Commands
* ===================================================================
* As of V13, several VN like commands have been added to facilitate your life.
*
* -------------------------------------------------------------------
* Light picture:
* This will set the picture tone to (0,0,0,0), basically fully bright, over
* the course of 30frames, acting like if the bust was selected.
*
* Script call:
* $gameScreen.picture(id).light(duration)
* duration is optionnal, if unspecified, will do it over 30 frames.
*
* Text code:
* \LP[pictureId]
* You can't specifiy a duration if doing it via textcode.
* -------------------------------------------------------------------
* Dim picture:
* This will set the picture tone to (0,0,0,255), basically fully grey, over
* the course of 30frames, acting like if the bust was unselected.
*
* Script call:
* $gameScreen.picture(id).dim(duration)
* duration is optionnal, if unspecified, will do it over 30 frames.
*
* Text code:
* \DP[pictureId]
* You can't specifiy a duration if doing it via textcode.
* -------------------------------------------------------------------
* Move picture home:
* This will set move the picture to its original coordinates over the
* course of 30 frames.
*
* Script call:
* $gameScreen.picture(id).moveHome(duration)
* duration is optionnal, if unspecified, will do it over 30 frames.
*
* Text code:
* \MPH[pictureId]
* You can't specifiy a duration if doing it via textcode.
* -------------------------------------------------------------------
* Fadeout picture:
* This will set move the picture back 20 pixels in either direction,
* set its tone to grey, and change its opacity to 0 over the course of
* 30 frames before deleting it, erasing the bust from the screen.
*
* Script call:
* $gameScreen.picture(id).fadeout(duration,direction)
* duration is optionnal, if unspecified, will do it over 30 frames.
* direction is optionnal as well, 1 will move th epicture left, -1 right.
* If you want to specifiy a direction, you must specify a duration.
* You can only specify a duration if you want to.
*
* Text code:
* \CPR[pictureId] this will fadeout the picture to the right
* \CPL[pictureId] this will fadeout the picture to the left
* You can't specifiy a duration if doing it via textcode.I think this will be it for a while, barring any bugs appearing.
Have a nice day!
