Hey RPG Makers!
This is a plugin I’ve had for awhile, that I have been using in my project to help with cutscenes and other camera work! This plugin allows you to make your game’s camera follow an event (following the event wherever it goes), the map itself (only moving when you use Scroll Map commands), or the player (which is the default camera behavior).
Download Camera Control Plugin MV
How to Install
Be sure to rename the file as TYR_CameraControl.js and place it in your project’s js folder.
Camera Control by Tyruswoo Last Update: 19 Nov. 2015 ===== Follow me for more RPG Maker MV content and tutorials! ===== Tyruswoo's Camera Control plugin allows greater control of the camera. Plugin Commands: - CamSet - CamFollow A Few Notes: - CamSet simply places the camera at a certain position, but the camera will still be attempting to follow its current target (usually the player, by default). - CamFollow allows changing the camera's target. This can be used to make the camera follow a certain event's perspective. Or, the camera can be set to follow the map (i.e. a fixed perspective). - These plugin commands can be used in combination with the "Scroll Map..." event command, found on Event Commands tab 2, under the Movement section. ===== Plugin Command Usage: (Replace x and y with coordinates, and replace ID with an event's ID number.) CamSet x y - Sets the camera's position to x and y, where x and y are integers. CamSet player - Sets the camera's position to the player's current position. CamSet event ID - Sets the camera's position to the current location of the event of the given ID. CamFollow x y - Makes the camera follow (lock on) the given coordinates. -- This sets the camera to "follow" the map; i.e., to not move unless the "Scroll Map..." event command is used. -- This is useful is conjunction with the event command "Scroll Map..." (found on Event Commands tab 2, under the Movement section). This allows for cutscenes where the camera is set to follow a certain path, but the player can still move as they please. -- Note that the "Scroll Map..." event command can be used in two directions at once, allowing for diagonal panning of the camera. CamFollow map - Makes the camera follow (lock on) the map, at the camera's current position, without defining coordinates. CamFollow player - Makes the camera follow the player. This is the same as the default behavior of the RPG Maker MV camera. CamFollow event ID - Makes the camera follow the position of the given event. This can be useful in making cutscenes that follow a certain event. If the event is invisible, then it can look like the camera is simply panning across a scene. -- This can also be used to allow for cutscenes where the camera is set to follow a certain path, while the player can move as they please. -- Can also be used in combination with the "Scroll Map..." event command, allowing for diagonal panning of the camera.
In practice, I use the CamFollow map and CamFollow event ID plugin commands the most, and then revert the camera back to following the player by using the CamFollow player plugin command, whenever I am done with the cutscene.
I hope you enjoy!
Your Adventuring Companion,