プレイヤーが特定の方向に動かないようにするプラグイン – HIME_MovementDirectionLock.js

タイトル
- Prevents you from moving the player in certain directions.
作者名
ヘルプ
-------------------------------------------------------------------------------
== Description ==

This plugin allows you to restrict player movement temporarily using events.

By default, they can move in all four, or eight, directions. By using certain
plugin commands, you can "lock" certain directions if you didn't want to allow
them to move in those directions.

== Terms of Use ==

- Free for use in non-commercial projects with credits
- Contact me for commercial use

== Change Log ==

Dec 31, 2015 - initial release

== Usage ==

Here are some direction names that you can use:

UP
DOWN
LEFT
RIGHT
UPLEFT
UPRIGHT
DOWNLEFT
DOWNRIGHT

To lock a movement direction, use the plugin command

lock_move_dir DIR1 DIR2 DIR3 ...

To unlock a movement direction, use the plugin command

unlock_move_dir DIR1 DIR2 DIR3

For convenience, you can lock multiple directions in one command.
So for example, if you wanted to prevent players from moving up or down,
you can write

lock_move_dir UP DOWN

And afterwards, you can unlock those directions with

unlock_move_dir UP DOWN

-------------------------------------------------------------------------------
パラメータ
title Movement Direction Lock
date Dec 31, 2015
filename HIME_MovementDirectionLock.js
url http://himeworks.com/2015/12/movement-direction-lock/

If you enjoy my work, consider supporting me on Patreon!

https://www.patreon.com/himeworks

If you have any questions or concerns, you can contact me at any of
the following sites:

Main Website: http://himeworks.com
Facebook: https://www.facebook.com/himeworkscom/
Twitter: https://twitter.com/HimeWorks
Youtube: https://www.youtube.com/c/HimeWorks
Tumblr: http://himeworks.tumblr.com/

-------------------------------------------------------------------------------
ライセンス表記
- Free for use in non-commercial projects with credits
- Contact me for commercial use

紹介ページ http://himeworks.com/2015/12/movement-direction-lock/