ボタンを押すとスーパーマンのように飛べるようにするプラグイン – Galv_Superman.js

タイトル
Allow the player to fly like superman at the press of a button
作者名
ヘルプ
Galv's Superman Ability
----------------------------------------------------------------------------
This plugin enables the player and followers to take off and land like
superman at the push of a button. The player will be able to land wherever
the default airship is able to land.

The current version of this has only a few settings (below) but I may
expand on this later.

----------------------------------------------------------------------------
SCRIPT CALLS
----------------------------------------------------------------------------

Galv.SUPER.fly(status); status can be true or false
true enables flight button, false disables it

Galv.SUPER.takeoff(); force player to start flying

Galv.SUPER.land(); force player to land if flying


For use in CONDITIONAL BRANCH script:

$gamePlayer._isFlying returns true if character is flying

$gameSystem.disableFly returns true if flight is disabled

----------------------------------------------------------------------------
FLIGHT KEY
----------------------------------------------------------------------------
This plugin mostly uses default RPGMaker MV controls for the flight key
setup. It also allows use of other keyboard keys but whatever key you
choose, I advise you to test it isn't conflicting with another control.
----------------------------------------------------------------------------
Possible keys to use for "Key" setting:
tab
enter Not recommended as key already used
shift Not recommended as key already used
ctrl
alt
space Not recommended as key already used
0-9
a-z Q,W,Z,X are not recommended as they are used
semi-colon
comma
period
single quote
pageup
pagedown

Use one of the below key codes instead for compatibility with gamepads
ok A
cancel B
shift X
menu Y
pageup LB
pagedown RB
up D-pad up
down D-pad down
left D-pad left
right D-pad right


----------------------------------------------------------------------------
FLYING CHARACTERSET
----------------------------------------------------------------------------
When flying, the plugin will change your characterset to use a new one with
the same name with the Fly Charset Ext on the end.
eg. "Actor1.png" would use "Actor1_fly.png" if _fly is the Fly Charset Ext.
パラメータ
param Flight Speed
desc How fast the player moves when flying. Can be changed during the game.
default 5

param Use Followers
desc true or false if you use followers in your game or not
default true

param Key
desc See help file for available keys.
default c

param Fly Charset Ext
desc Text that displays at the end of the default characterset to use for flying
default _fly

ライセンス表記
Terms of Use
https://galvs-scripts.com/terms-of-use/

紹介ページ https://galvs-scripts.com/category/rmmv-plugins/mv-on-map/#post-1924