Synchronized Event Movement (Arisu)

From Yanfly.moe Wiki
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

Arisu's Dollhouse

ArisuAvatar.png

This is a plugin created by Arisu's Dollhouse.

You can also follow Arisu's Dollhouse on itch.io.

RPG Maker Version

This plugin is made for RPG Maker MV versions 1.6.1 and below. If you update RPG Maker MV past that and this plugin breaks, I am NOT responsible for it.

Terms of Use

You are only allowed to use the plugins made by Arisu's Dollhouse if you agree to all of the following:

  1. For Free and Commercial Use.
  2. Put "Arisu's Dollhouse" in your game's credits.
  3. Do not redistribute this plugin without permission.
  4. Do not take code from this plugin without permission.
  5. Edit of code is allowed as long as it's within plugin file.
  6. I do not support changes made to code edit.

Introduction

Sometimes you want certain events to move whenever the player moves, or maybe when another event moves. This plugin lets you synchronize event movements with your desired target and the type of movement associated with them, too. Events with this movement type can go about randomly, approach their targets, move away from their targets, follow a custom move path, mimic a target, reverse mimic a target, or even mirror them.

Instructions

  1. Install this plugin into your RPG Maker MV project's js/plugin folder.
  2. Open your game project in RPG Maker MV and open up the Plugin Manager.
  3. Add a new plugin and place this plugin beneath all Yanfly plugins present.
  4. Adjust any Plugin Parameter settings to this plugin.
  5. Read through plugin help file to understand how to use plugin.
  6. When testing this plugin, save first.

Comment Tags

CommentTags.png

Comment Tags are similar to Notetags. RPG Maker MV's editor is unable to allow for custom traits/properties that a game dev may wish to associate with an event or common event. Comment Tags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Comment Tags declared by the related plugin.

Here is a list of Comment Tag(s) that you may use.

This plugin uses Comment Targets. First, open up the event and page you want to synchronize with a target. Then create a comment in it. Use the following text inside the comment for the desired effect:

  <Move Synch Target: Player>
  <Move Synch Target: Event x>
  - This will synchronize this event's movement with the player or event x.
  - When using event x, replace 'x' with ID of event.
  - If this comment tag isn't present, the event will not synch movements.
  <Move Synch Type: Random>
  <Move Synch Type: Approach>
  <Move Synch Type: Away>
  <Move Synch Type: Custom>
  <Move Synch Type: Mimic>
  <Move Synch Type: Reverse Mimic>
  <Move Synch Type: Mirror Horizontal>
  <Move Synch Type: Mirror Vertical>
  - This will change the behavior of a synchronized event.
  - Random: Events will move in random but valid directions.
  - Approach: Events will approach their targets.
  - Away: Events will move away from their targets.
  - Custom: Events will follow the page's assigned custom move route.
  - Mimic: Events will move the same direction their targets move.
  - Reverse Mimic: Events will move the opposite direction of their targets.
  - Mirror Horizontal: Events will move as if there's a horizontal mirror.
  - Mirror Vertical: Events will move as if there's a vertical mirror.
  - If this comment tag isn't present, the event will default to 'random'.
  <Move Synch Delay: x>
  - Replace 'x' with the number of steps to wait for the target to move
  before it moves itself. For example, if x is 2, then the event will move
  once every time the target moves 2 steps.
  - If this comment tag isn't present, the event will default to 1 step.

Changelog

  • May 19 2020: Fixed move synch bug with an event.