Introduction
This plugin provides the multiple viewports.
Plugin Commands
This is a plugin command that can activate the multiple viewports.
If you call this plugin command, You can be using the multiple viewports.
MultipleViewport Enable
This can disable the multiple viewports. If you call this plugin command, You can be using original stage renderer. But, Note that any drawing object of previous view-port is not removed in memory so if you will need it, you try to call the 'MultipleViewport ClearImage ViewID' plugin command.
MultipleViewport Disable
This is the plugin command that can set the power of the viewport shake.
MultipleViewport StartShake shakePower
This is the plugin command that can set the end of the viewport shake.
MultipleViewport EndShake
This is the plugin command that can set an image of certain viewport. (View ID is number between 1 and 4)
MultipleViewport Image ViewID ImageName
This is the plugin command that can delete the image of certain viewport. (View ID is number between 1 and 4)
If you do not need an image, you must call this.
MultipleViewport ClearImage ViewID
This is the plugin command that can set the video to certain viewport.
Note that the file type should set the WEBM(.webm)
ViewID is the number between 1 and 4.
szSrc Indicates the video name from the movies directory.
loop allows you to set with the true or false.
You can repeat the video via this value. (If you are omitted this loop value, its video will only play once.)
MultipleViewport Video viewID szSrc loop
This command moves back x seconds from current video position.
MultipleViewport MoveBackSeconds viewID second
This command moves forward x seconds from current video position.
MultipleViewport MoveForwardSeconds viewID second
This is the plugin command can play the video to certain viewport.
MultipleViewport PlayVideo viewID
This is the plugin command can stop the video to certain viewport.
MultipleViewport StopVideo viewID
This is the plugin command can pause the video to certain viewport.
MultipleViewport PauseVideo viewID
This is the plugin command can remove the video to certain viewport (If you do not need a video, you must call this)
MultipleViewport ClearVideo viewID
This plugin command allows you to change a display position of the viewport
'viewID' is the number between 1 and 4.
If 'EventID' is same as -1, the viewport target will set as the game player. if not, it will set as certain event.
You might wonder what happens to the viewport after this command has executed.
By default, the viewport is stored the id of certain target and it is tracking available its position until before moving as the next map. if it is also not set specific target id to certain viewport, it will set as the player position. The target can belong to an instance of ViewportTarget(the object that can control display's position as target's position) and each instance will set an inner position of the viewport by using the function called $gameMap.setDisplayPos.
MultipleViewport Target viewID EventID
Download
I've executed the game using a default node webkit browsers on Windows 10
1.2.0 or less | NO (It's not working) |
1.3.5 | YES |
1.4.1 | YES |
1.5.1 | NOT TESTED YET |
1.5.2 | NOT TESTED YET |
1.6.1 | YES |
Change Log
2016.06.13 (v1.0.0) - First Release.
2016.08.24 (v1.1.0) - Now RPG Maker MV 1.3.0 or more is supported.
2016.08.24 (v1.1.2) - Added Plugin Commands
2016.08.25 (v1.1.4) - Added the functions that sets an image of certain viewport.
2016.09.30 (v1.1.5) - Added the function that plays the video to certain viewport.
2016.10.01 (v1.1.6) - Added the rendering code that is compatible with the canvas mode.
2016.10.20 (v1.1.7) - Fixed the issue that is not working in RMMV 1.3.2
2016.10.23 (v1.1.8) - Fixed the issue that the video frame is not updated in PIXI 4.0.3
2016.11.24 (v1.1.9) - Now this can change the viewport orientation such as portrait, landscape and can also set the number of viewports.
2016.11.26 (v1.2.0) - Added certain code to remove the texture from memory.
2017.02.08 (v1.2.1) :
- Added new function that could change the inner position of certain viewport by using the function called $gameMap.setDisplayPos.
- Fixed an issue that is remaining the previous texture in certain viewport if the user sets the same thing again to certain viewport when playing the video in certain viewport.
- Converted some sources to ES6
2018.12.25 (v1.2.2) :
- Fixed the issue that couldn't set a number of viewports less than 4.
- Fixed the issue that causes the size error when setting a number of viewports less than 4.
Terms of Use
Free for commercial and non-commercial use.