メインコンテンツまでスキップ

Config.jsonの設定

ダンサー個別のモーション時間や描画位置などを設定するためのファイルです。

注記

TODO: バージョン情報

📁 ファイルの場所


📁 [ DancerName ]
┗ 📁 [ N ]
┗ 📄 Config.json

🛠️ 設定内容


{
"inMotionMeasureCount": 1,
"loopMotionMeasureCount": 1,
"outMotionMeasureCount": 1,
"inMotionBasePoint": 0,
"loopMotionBasePoint": 0,
"outMotionBasePoint": 0,
"dancerInX": [0, 0, 0, 0, 0],
"dancerInY": [0, 0, 0, 0, 0],
"dancerOutX": [0, 0, 0, 0, 0],
"dancerOutY": [0, 0, 0, 0, 0],
"dancerLoopX": [0, 0, 0, 0, 0],
"dancerLoopY": [0, 0, 0, 0, 0],
"useSameImageForInOut": true,
"useSameMotionForInOut": true,
"dancerInMotionIndex": [0],
"dancerLoopMotionIndex": [0],
"dancerOutMotionIndex": [0]
}

📖 各項目の説明


アニメーション設定

項目名データ型説明
inMotionMeasureCountFloat入場モーションの長さを「小節数」で指定します。
loopMotionMeasureCountFloatループモーションの長さを「小節数」で指定します。
outMotionMeasureCountFloat退場モーションの長さを「小節数」で指定します。
inMotionBasePointBasePoint入場モーションの描画基準位置を指定します。
loopMotionBasePointBasePointループモーションの描画基準位置を指定します。
outMotionBasePointBasePoint退場モーションの描画基準位置を指定します。

座標調整

配列の要素数

各配列の要素数は MainConfig.jsondancerShowCount と一致させる必要があります。

項目名データ型説明
dancerInXInteger[]各ダンサーの入場モーション時における X 座標の調整値です。
dancerInYInteger[]各ダンサーの入場モーション時における Y 座標の調整値です。
dancerLoopXInteger[]各ダンサーのループモーション時における X 座標の調整値です。
dancerLoopYInteger[]各ダンサーのループモーション時における Y 座標の調整値です。
dancerOutXInteger[]各ダンサーの退場モーション時における X 座標の調整値です。
dancerOutYInteger[]各ダンサーの退場モーション時における Y 座標の調整値です。

画像・インデックス設定

項目名データ型説明
useSameImageForInOutBooleanInとOutで共通の画像を使用するかを指定します。 true の場合、 Out フォルダは不要です。
useSameMotionForInOutBooleanInとOutで同じ順序のアニメーションを使用するかを指定します。 true の場合、退場時は入場時の逆順で再生されます。
dancerInMotionIndexInteger[]入場アニメーションに使用する画像のインデックス(番号)順を指定します。
dancerLoopMotionIndexInteger[]ループアニメーションに使用する画像のインデックス(番号)順を指定します。
dancerOutMotionIndexInteger[]退場アニメーションに使用する画像のインデックス(番号)順を指定します。