Skip to content

Commit 346d34b

Browse files
authored
Merge pull request rpgtkoolmv#153 from rpgtkoolmv/refine_description
Refine description of Community_Basic.js
2 parents ab93f3c + 1a0daed commit 346d34b

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

plugins/Community_Basic.js

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
* Basic plugin for manipulating important parameters..
77
* There is no plugin command.
88
*
9+
* Caching images improves performance but increases memory allocation.
10+
* On mobile devices, a lot of memory allocation causes the browser to crash.
11+
* Therefore, the upper limit of memory allocation is set with cacheLimit.
12+
*
13+
* If you want to regain high performance, just increase cacheLimit.
14+
* There is no need to revert to 1.4.
15+
*
916
* @param cacheLimit
1017
* @type number
1118
* @desc The upper limit of images' cached size (MPixel)
@@ -61,50 +68,61 @@
6168
* 基本的なパラメーターを設定するプラグインです。
6269
* このプラグインにはプラグインコマンドはありません。
6370
*
71+
* 画像をキャッシュするとパフォーマンスは向上しますが、その分メモリ確保も増大します。
72+
* モバイルデバイスでは、たくさんのメモリ確保はブラウザをクラッシュさせます。
73+
* そこで、メモリ確保の上限を「画像キャッシュ上限値」で設定しています。
74+
*
75+
* もし高いパフォーマンスを取り戻したければ、ただ画像キャッシュ上限値を増加させればよいです。
76+
* 1.4に戻す必要はありません。
77+
*
6478
* @param cacheLimit
6579
* @type number
80+
* @text 画像キャッシュ上限値
6681
* @desc 画像のメモリへのキャッシュの上限値 (MPix)
6782
* @default 10
6883
*
6984
* @param screenWidth
7085
* @type number
71-
* @desc 画面サイズの幅
86+
* @text ゲーム画面の幅
7287
* @default 816
7388
*
7489
* @param screenHeight
7590
* @type number
76-
* @desc 画面サイズの高さ
91+
* @text ゲーム画面の高さ
7792
* @default 624
7893
*
7994
* @param changeWindowWidthTo
8095
* @type number
81-
* @desc 値が設定された場合、ウインドウの幅を指定した値に変更
96+
* @text ウィンドウの幅
97+
* @desc 値が設定されなかった場合、ゲーム画面の幅と同じ
8298
*
8399
* @param changeWindowHeightTo
84100
* @type number
85-
* @desc 値が設定された場合、ウインドウの高さを指定した値に変更
101+
* @text ウィンドウの高さ
102+
* @desc 値が設定されなかった場合、ゲーム画面の高さと同じ
86103
*
87104
* @param renderingMode
88105
* @type select
89106
* @option canvas
90107
* @option webgl
91108
* @option auto
92-
* @desc レンダリングモード (canvas/webgl/auto)
109+
* @text レンダリングモード
93110
* @default auto
94111
*
95112
* @param alwaysDash
96113
* @type boolean
97-
* @desc プレイヤーが常時ダッシュするかどうかの初期値 (on/off)
114+
* @text 「常時ダッシュ」の初期値
98115
* @default false
99116
*
100117
* @param autoSaveFileId
101118
* @type number
102-
* @desc 「場所移動」の際にオートセーブするファイル番号 (0でoff)
119+
* @text オートセーブ番号
120+
* @desc 「場所移動」の際に指定したファイル番号にオートセーブします(0を指定した場合はオートセーブしません)
103121
* @default 0
104122
*
105123
* @param errorMessage
106124
* @type string
107-
* @desc エラーが発生した際に表示するメッセージ
125+
* @text エラーメッセージ
108126
* @default エラーが発生しました。ゲームの作者にご連絡ください。
109127
*/
110128

0 commit comments

Comments
 (0)