MV Change screen center



As far as I've tested, I haven't encountered any compatibility issues with common plugins.
It can be used in both commercial and non-commercial games.
Since these are simple modifications to native functions, no credit is required.

Changelog:
2025-02-09 Rewritten to further polish the script and make it work directly on map properties
2025-02-08 Fixed issue with not resetting the default screen center when restarting the game from the menu
2025-02-07 First functional version

Version: 0.6 (BETA)

Instructions:

Set center instantly:
  • X : SetCenter X <PosX Value or Variable>
  • Y : SetCenter Y <PosY Value or Variable>
Examples:
  • You can use a value between -9 and 9: SetCenter X -5
  • You can use the value of a variable: SetCenter X v12

Change center with scrolling:
  • X : ScrollCenter X <PosX Value or Variable> <Speed>
  • Y : ScrollCenter Y <PosY Value or Variable> <Speed>
Examples:
  • Speed must be set between 1 and 6: ScrollCenter X 6 1
  • The center can slide horizontally and vertically simultaneously:
  • Code:
    ◆Plugin Command:ScrollCenter X -6 4
    ◆Plugin Command:ScrollCenter Y -4 4
To apply the settings directly to the map, include these meta tags, they also work with variables like in plugin commands.
Horizontal: <centerX:value or variable>
Vertical: <centerY:value or variable>

If the variable has not been initialized, the value will be converted to zero automatically:
HTML:
<centerX:v33>

Example:
RMMV-PLUGIN-ChangeCenter.png
The plugin has been rewritten to work when starting a map.
However, it will still accept plugin commands called by events on that same map.
Testing was performed after saving and restarting the game from the menu, and then closing and starting the game again.
It worked normally in browsers.
Hey. This is the first time a youtube video brought me to a rpgmakerweb post instead of the other way around. 😛

Looks cool man. You know what would be cool? When you look left, your character moves to the right of the screen and when you look right, the character moves to the left, so you always see most of the map in the direction the character is looking. (I said the same thing on youtube before I saw the link to rpgmakerweb)
Thanks for commenting.
Oh, yes, but in this case, it would be better for the developer to use events to call the plugin command.
I created this plugin at the request of a user on the Japanese support forum.
If I want to set the interface to look like Karryn's Prison, with the character portrait on the right, the message window in the bottom left, and the map and other scenes (except for battle scenes) in the top left, how should I do it?
123.png
456.png
This Plugin modifies the player's viewpoint, not the menus and text boxes.
This is fantastic this is exactly what I've been looking for for years

Original thread: https://forums.rpgmakerweb.com/threads/change-screen-center.179880/