スマートジャンプを可能にするプラグイン – YEP_SmartJump.js

タイトル
Adds a plugin command that enables smart jumpingwhere the player cannot jump into illegal areas.
作者名
ヘルプ
============================================================================
Introduction
============================================================================

For those that may have made their own Jump system before with events, you
may have come across the problem of being able to jump off the map, into
places you're not supposed to go, or even on top of events that shouldn't be
allowed to go on top of. This plugin helps faciliate eventing a Jump system
for your RPG Maker game by introducing Smart Jumps.

Smart Jumps will allow you to jump over areas, but will limit you from
jumping on top of places you can't go, on top of normal priority events, and
set up boundaries (such as walls) that you normally cannot jump past.

============================================================================
Instructions - Setting Up Smart Jumps
============================================================================

Use the Plugin Command 'SmartJump' to make the player character perform a
Smart Jump.

Inside the plugin parameters, mark the Illegal Regions your player cannot
jump past or on and then draw them on the map. Alternatively, you can mark
certain tile types within the Database > Tileset tab and use Terrain Tags to
restrict where the player cannot jump.

============================================================================
Instructions - Equal Regions
============================================================================

For those of you who would like to make a height factor for your maps and
would like to maintain a jump system with that height factor, Equal Regions
will help out with that. List all the region ID's you'd like to use to mark
height within the 'Equal Regions' plugin parameter. You can insert multiple
regions. Separate them with a space.

When the player is standing on a region that's listed in the Equal Regions
plugin parameter and attempts to smart jump onto an area blocked by tileset
passability, if the region the player is jumping from is the same region ID
as the region the player intends to go through, the jump becomes legal.

============================================================================
Notetags
============================================================================

You can use these notetags to set up what Terrain Tags that the player can't
jump on or past.

Tileset Notetags:

<Illegal Jump: x>
<Illegal Jump: x, x, x>
<Illegal Jump: x to y>
Replace x with the terrain tags you want to forbid the player from going
past or landing on while doing Smart Jumps.

Event Notetag:

<Illegal Jump>
This will prevent the player from being able to jump on or over this
event while doing Smart Jumps. If the event is set to Through mode, then
the player can jump through or onto the event.

============================================================================
Changelog
============================================================================

Version 1.02:
- Fixed a bug that allowed you to perform a smart jump from above a tile
that requires equal regions.

Version 1.01:
- Added 'Equal Regions' plugin parameter. This is a unique region area. More
of it will be explained in the instructions.

Version 1.00:
- Finished Plugin!
パラメータ
param Illegal Regions
desc These are the region ID's the player cannot jump on
or past. Separate each region with a space.
default 0

param Equal Regions
desc These are region ID's the player can only jump onto if
the tile they're standing on matches the target region.
default 0

ライセンス表記
Smart Jumps will allow you to jump over areas, but will limit you from

紹介ページ https://github.com/suppayami/yami-engine-delta/blob/master/demo/js/plugins/YEP_SmartJump.js