デバッグ用の壮大なプラグイン!進行中の作品の並べ替え、何でもリクエストして自由に感じる – SRD_Debug.js

タイトル
An epic plugin for debugging! Sort of a work in progress, feel free to request anything
作者名
ヘルプ

SumRndmDde's Debug Display
Version 1.00
SumRndmDde

Random Things to Note:
- There are no Plugin Commands
- There are no Notetags
- You can toggle the Debug Display using a predefined key
- You can display custom JavaScript code


==========================================================================
Significant Parameters
==========================================================================

= Playtesting Only? =
Set this to 'true', and this Plugin will lock itself unless you are
playtesting within the RPG Maker program.
Default is true

= Toggle Key =
Input the keyboard button you wish to use to toggle the debug display.
Only letters allowed (A-Z).
Default is K (for no particular reason what so ever)

= Opacity =
Set this to the opacity to you wish the debug text to use.
The value can range from 0 to 255.
Default is 255

= Display Variables =
Input the Game Variables you wish to see displayed.
Leave blank to disallow.
Example: 1, 4, 8

= Display Switches =
Input the Game Switches you wish to see displayed.
Leave blank to disallow.
Example: 2, 3, 7

= Custom ## Prefix =
Set the prefix for Custom Display 1. This is the label for the value;
leave it blank to disallow.
Example: Gold:

= Custom ## Value =
Input the value displayed for Custom Display 1. This is a JavaScript eval.
Example: $gameParty.gold()



The rest of this Plugin should be pretty self explanatory.

Just toggle the Display Parameters to 'true' or 'false' depending on
whether you wish for them to be shown or not.

Also use the bottom Parameters to cusomize the looks of the Display
if it covers anything up or is unsightly.

==========================================================================
End of Help File
==========================================================================

Welcome to the bottom of the Help file.


Thanks for reading!
If you have questions, or if you enjoyed this Plugin, please check
out my YouTube channel!

https://www.youtube.com/c/SumRndmDde


Until next time,
~ SumRndmDde
パラメータ
param Playtesting Only?
desc Set this to 'true', and this Plugin will lock itself unless you are playtesting within the RPG Maker program.
default true

param Toggle Key
desc Input the keyboard button you wish to use to toggle the debug display. Only letters allowed (A-Z).
default K

param Opacity
desc Set this to the opacity to you wish the debug text to use. The value can range from 0 to 255.
default 255

param == Display Values ==
default

param Display Variables
desc Input the Game Variables you wish to see displayed.
Leave blank to disallow. Example: 1, 4, 8
default

param Display Switches
desc Input the Game Switches you wish to see displayed.
Leave blank to disallow. Example: 2, 3, 7
default

param Player Coordinates
desc Shows the x and y of the player based on the Map's grid.
default true

param Player Pixel Coords
desc Shows the x and y of the player based on the pixels and stuff.
default true

param Current Map ID
desc Shows the ID of the current Map.
default true

param Party Size
desc Shows how many members of the party there are.
default false

param Current Gold
desc Shows the party's current gold.
default false

param Current Steps
desc Shows the total amount of steps taken.
default true

param Current Vehicle
desc Shows the ID of the current Vehicle the player is riding in.
default false

param Show 4 Dir Input
desc Shows the number value of the movement input restricted to 4 directions.
default true

param Show 8 Dir Input
desc Shows the number value of the movement input for all 8 directions.
default false

param Show Dashing?
desc Shows whether or not the player is dashing.
default true

param Show Playtime?
desc Shows the current playtime.
default true

param Show Timer Seconds?
desc Shows the remaining amount of timer seconds.
default false

param Show Locale?
desc Shows the game's locale
default false

param Show Save Enabled?
desc Shows whether if the player can save.
default false

param Show Menu Enabled?
desc Shows whether if the player can open the menu.
default false

param Show SV Battle?
desc Shows whether if side-view battle is active.
default false

param Show Encounters?
desc Shows whether if ancounters are active.
default false

param Show Battle Count?
desc Shows the amount of battles.
default false

param Show Win Count?
desc Shows the amount of wins.
default false

param Show Escape Count?
desc Shows the amount of escapes.
default false

param Show Save Count?
desc Shows the amount of saves.
default false

param Show Version ID?
desc Shows the version ID.
default false

param Show Battle BGM?
desc Shows the current Battle BGM
default false

param Actor Names (IDs)
desc Input the Actor IDs of the Actor names you wish to see.
Leave blank to disallow. Example: 1, 3, 5
default

param Actor Names (Party)
desc Input the party spot of the Actor names you wish to see.
Leave blank to disallow. Example: 0, 1, 2
default


param = Custom Displays =
default

param Custom 1 Prefix
desc Set the prefix for Custom Display 1. This is the label for the value; leave it blank to disallow. Example: Gold
default Actor 1 ATK:

param Custom 1 Value
desc Input the value displayed for Custom Display 1. This is a JavaScript eval. Example: $gameParty.gold()
default $gameActors.actor(1).atk

param Custom 2 Prefix
desc Set the prefix for Custom Display 2. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 2 Value
desc Input the value displayed for Custom Display 2. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 3 Prefix
desc Set the prefix for Custom Display 3. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 3 Value
desc Input the value displayed for Custom Display 3. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 4 Prefix
desc Set the prefix for Custom Display 4. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 4 Value
desc Input the value displayed for Custom Display 4. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 5 Prefix
desc Set the prefix for Custom Display 5. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 5 Value
desc Input the value displayed for Custom Display 5. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 6 Prefix
desc Set the prefix for Custom Display 6. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 6 Value
desc Input the value displayed for Custom Display 6. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 7 Prefix
desc Set the prefix for Custom Display 7. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 7 Value
desc Input the value displayed for Custom Display 7. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 8 Prefix
desc Set the prefix for Custom Display 8. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 8 Value
desc Input the value displayed for Custom Display 8. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 9 Prefix
desc Set the prefix for Custom Display 9. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 9 Value
desc Input the value displayed for Custom Display 9. This is a JavaScript eval. Example: $gameParty.gold()
default

param Custom 10 Prefix
desc Set the prefix for Custom Display 10. This is the label for the value; leave it blank to disallow. Example: Gold
default

param Custom 10 Value
desc Input the value displayed for Custom Display 10. This is a JavaScript eval. Example: $gameParty.gold()
default

param = Display Position =
default

param X Position
desc The x-position of the text (based on top left of text).
default 10

param Y Position
desc The y-position of the text (based on top left of text).
default 10

param Max Width
desc The maximum width of the text. Is an JavaScript eval. Initial default: Graphics.width
default Graphics.width

param Line Height
desc The line height of the text. Make this smaller along with the text size to add more rows.
default 30

param Line Seperation
desc The seperation space between each line.
default 2

param Text Alignment
desc Determines the alignment of the text.
Your choices are left, right, or center.
default left

param == Display Style ==
default

param Fonts
desc Input the font(s) you wish the text to use.
default Times New Roman, Gamefont

param Size
desc Input the size you wish the text to use.
default 32

param Text Color
desc Input the color you wish the text to use.
default White

param Outline Color
desc Input the color of the outline you wish the text to use.
default Black

param Outline Size
desc Input the size of the outline you wish the text to use.
default 4

ライセンス表記

紹介ページ https://github.com/SumRndmDde/RPG-Maker-MV-Plugins/blob/master/SRD_Debug.js