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]
}
📖 各項目の説明
アニメーション設定
| 項目名 | データ型 | 説明 |
|---|---|---|
inMotionMeasureCount | Float | 入場モーションの長さを「小節数」で指定します。 |
loopMotionMeasureCount | Float | ループモーションの長さを「小節数」で指定します。 |
outMotionMeasureCount | Float | 退場モーションの長さを「小節数」で指定します。 |
inMotionBasePoint | BasePoint | 入場モーションの描画基準位置を指定します。 |
loopMotionBasePoint | BasePoint | ループモーションの描画基準位置を指定します。 |
outMotionBasePoint | BasePoint | 退場モーションの描画基準位置を指定します。 |
座標調整
配列の要素数
各配列の要素数は MainConfig.json の dancerShowCount と一致させる必要があります。
| 項目名 | データ型 | 説明 |
|---|---|---|
dancerInX | Integer[] | 各ダンサーの入場モーション時における X 座標の調整値です。 |
dancerInY | Integer[] | 各ダンサーの入場モーション時における Y 座標の調整値です。 |
dancerLoopX | Integer[] | 各ダンサーのループモーション時における X 座標の調整値です。 |
dancerLoopY | Integer[] | 各ダンサーのループモーション時における Y 座標の調整値です。 |
dancerOutX | Integer[] | 各ダンサーの退場モーション時における X 座標の調整値です。 |
dancerOutY | Integer[] | 各ダンサーの退場モーション時における Y 座標の調整値です。 |
画像・インデックス設定
| 項目名 | データ型 | 説明 |
|---|---|---|
useSameImageForInOut | Boolean | InとOutで共通の画像を使用するかを指定します。 true の場合、 Out フォルダは不要です。 |
useSameMotionForInOut | Boolean | InとOutで同じ順序のアニメーションを使用するかを指定します。 true の場合、退場時は入場時の逆順で再生されます。 |
dancerInMotionIndex | Integer[] | 入場アニメーションに使用する画像のインデックス(番号)順を指定します。 |
dancerLoopMotionIndex | Integer[] | ループアニメーションに使用する画像のインデックス(番号)順を指定します。 |
dancerOutMotionIndex | Integer[] | 退場アニメーションに使用する画像のインデックス(番号)順を指定します。 |