ボタンを押している間、キャラクタが向いている方向をロックできるプラグイン – HIME_LockFacingDirection.js

タイトル
- Allows you to lock the direction that the character is facing while a button is pressed.
作者名
ヘルプ
-------------------------------------------------------------------------------
== Description ==

In RPG Maker, when you move your character around, they will face that
direction while they are moving. For example, if you move up, they will face
up. If you move left, they will face left.

With this plugin, you can set it up so that when the player holds down a
specific button, the character will not change directions while moving. This
allows you to create strafing movement, where you move side to side while
facing forward.

There can be other mechanics involved where the direction that you face may
be important.

== Terms of Use ==

- Free for use in non-commercial projects with credits
- Free for use in commercial projects, but it would be nice to let me know
- Please provide credits to HimeWorks

== Change Log ==

1.0 - Jan 1, 2016
- initial release

== Usage ==

In the plugin parameters, type in the name of the button for the "Lock Button"
The actual name of the button will depend on what input plugins you're using.

If you're using the default input system (ie: no input plugins), you have the
following buttons to work with:

shift - any "shift" keys
control - any "ctrl" or "alt" keys
ok - "z", "enter", "space"
escape - "x", "esc", "insert"
pageup - "q", "pgup"
pagedown - "w", "pgdown"
left - left arrow, numpad 4
up - up arrow, numpad 8
right - right arrow, numpad 6
down - down arrow, numpad 2

So for example, if you use the `shift` button (without quotes), then when the
player holds down shift, their character direction will be fixed.

If you are using a custom input system, you will need to consult the
instructions provided by that plugin to get the names of the buttons you
have to work with.

This plugin should work with both gamepads and keyboards.
It currently does not support mouse-only or touch-only systems.

-------------------------------------------------------------------------------
パラメータ
title Lock Facing Direction
version 1.0
date Jan 1, 2016
filename HIME_LockFacingDirection.js
url http://himeworks.com/2016/01/lock-facing-direction/

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/

-------------------------------------------------------------------------------
param Lock Button
desc The name of the button to press to lock the player direction
default control
-------------------------------------------------------------------------------
ライセンス表記
- Free for use in non-commercial projects with credits
- Free for use in commercial projects, but it would be nice to let me know

紹介ページ http://himeworks.com/2016/01/lock-facing-direction/