danoniplus 31.4.1 → 31.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/danoni_main.js +791 -780
- package/js/lib/danoni_constants.js +27 -15
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* Source by tickle
|
|
7
7
|
* Created : 2019/11/19
|
|
8
|
-
* Revised : 2023/04/
|
|
8
|
+
* Revised : 2023/04/26 (v31.6.0)
|
|
9
9
|
*
|
|
10
10
|
* https://github.com/cwtickle/danoniplus
|
|
11
11
|
*/
|
|
@@ -879,7 +879,7 @@ const g_settings = {
|
|
|
879
879
|
scrollNum: 0,
|
|
880
880
|
scrollFlat: [`Flat`, `R-Flat`],
|
|
881
881
|
|
|
882
|
-
shuffles: [C_FLG_OFF, `Mirror`, `Asym-Mirror`, `Random`, `Random+`, `S-Random`, `S-Random+`],
|
|
882
|
+
shuffles: [C_FLG_OFF, `Mirror`, `Asym-Mirror`, `Turning`, `Random`, `Random+`, `S-Random`, `S-Random+`],
|
|
883
883
|
shuffleNum: 0,
|
|
884
884
|
|
|
885
885
|
gauges: [],
|
|
@@ -931,6 +931,7 @@ const g_shuffleFunc = {
|
|
|
931
931
|
'OFF': _ => true,
|
|
932
932
|
'Mirror': (keyNum, shuffleGroup) => applyMirror(keyNum, shuffleGroup),
|
|
933
933
|
'Asym-Mirror': (keyNum, shuffleGroup) => applyMirror(keyNum, shuffleGroup, true),
|
|
934
|
+
'Turning': (keyNum, shuffleGroup) => applyTurning(keyNum, shuffleGroup),
|
|
934
935
|
'Random': (keyNum, shuffleGroup) => applyRandom(keyNum, shuffleGroup),
|
|
935
936
|
'Random+': keyNum => applyRandom(keyNum, [[...Array(keyNum).keys()]]),
|
|
936
937
|
'S-Random': (keyNum, shuffleGroup) => {
|
|
@@ -989,7 +990,7 @@ let g_displays = [`stepZone`, `judgment`, `fastSlow`, `lifeGauge`, `score`, `mus
|
|
|
989
990
|
`speed`, `color`, `lyrics`, `background`, `arrowEffect`, `special`];
|
|
990
991
|
|
|
991
992
|
// ローカルストレージ保存対象
|
|
992
|
-
let g_storeSettings = [`appearance`, `opacity`];
|
|
993
|
+
let g_storeSettings = [`adjustment`, `volume`, `appearance`, `opacity`, `hitPosition`];
|
|
993
994
|
|
|
994
995
|
// 廃棄対象のリスト(過去の登録対象をリスト化。ここに乗せるとローカルストレージから自動消去される)
|
|
995
996
|
let g_storeSettingsEx = [`d_stepzone`, `d_judgment`, `d_fastslow`, `d_lifegauge`,
|
|
@@ -1579,8 +1580,8 @@ const g_cssObj = {
|
|
|
1579
1580
|
flex_centering: `flex_centering`,
|
|
1580
1581
|
};
|
|
1581
1582
|
|
|
1582
|
-
//
|
|
1583
|
-
//
|
|
1583
|
+
// キーパターンの定義
|
|
1584
|
+
// - カスタムキーの定義は keysConvert により、このオブジェクト内で同様に定義される
|
|
1584
1585
|
const g_keyObj = {
|
|
1585
1586
|
|
|
1586
1587
|
// 現在の選択キー、選択パターン
|
|
@@ -1596,8 +1597,8 @@ const g_keyObj = {
|
|
|
1596
1597
|
minKeyCtrlNum: 2,
|
|
1597
1598
|
|
|
1598
1599
|
// キー別ヘッダー
|
|
1599
|
-
// - 譜面データ中に出てくる矢印(ノーツ)の種類と順番(ステップゾーン表示順)
|
|
1600
|
-
// - ここで出てくる順番は、この後のstepRtn, keyCtrl
|
|
1600
|
+
// - 譜面データ中に出てくる矢印(ノーツ)の種類と順番(ステップゾーン表示順)を管理する
|
|
1601
|
+
// - ここで出てくる順番は、この後のstepRtn, keyCtrlとも対応している
|
|
1601
1602
|
chara5_0: [`left`, `down`, `up`, `right`, `space`],
|
|
1602
1603
|
chara7_0: [`left`, `leftdia`, `down`, `space`, `up`, `rightdia`, `right`],
|
|
1603
1604
|
chara7i_0: [`left`, `leftdia`, `down`, `space`, `up`, `rightdia`, `right`],
|
|
@@ -1641,7 +1642,7 @@ const g_keyObj = {
|
|
|
1641
1642
|
chara8_2: [`sleft`, `left`, `leftdia`, `down`, `space`, `up`, `rightdia`, `right`],
|
|
1642
1643
|
|
|
1643
1644
|
// ColorGroup - 1
|
|
1644
|
-
// -
|
|
1645
|
+
// - 同じ数字が同じグループになる
|
|
1645
1646
|
color5_0_0: [0, 0, 0, 0, 2],
|
|
1646
1647
|
color7_0_0: [0, 1, 0, 2, 0, 1, 0],
|
|
1647
1648
|
color7i_0_0: [2, 2, 2, 0, 0, 0, 0],
|
|
@@ -1691,8 +1692,8 @@ const g_keyObj = {
|
|
|
1691
1692
|
color17_1_3: [1, 0, 1, 0, 2, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1],
|
|
1692
1693
|
|
|
1693
1694
|
// ShuffleGroup - 1
|
|
1694
|
-
// - Mirror, Random, S-Random
|
|
1695
|
-
// -
|
|
1695
|
+
// - Mirror, Random, S-Random使用時、同じグループ同士で入れ替える
|
|
1696
|
+
// - 同じ数字が同じグループになる
|
|
1696
1697
|
shuffle5_0_0: [0, 0, 0, 0, 1],
|
|
1697
1698
|
shuffle7_0_0: [0, 0, 0, 1, 0, 0, 0],
|
|
1698
1699
|
shuffle7i_0_0: [0, 0, 0, 1, 1, 1, 1],
|
|
@@ -1728,6 +1729,7 @@ const g_keyObj = {
|
|
|
1728
1729
|
shuffle11i_0_1: [0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 0],
|
|
1729
1730
|
shuffle15A_0_1: [0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 4, 4, 4],
|
|
1730
1731
|
shuffle17_0_1: [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
1732
|
+
shuffle23_0_1: [0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2],
|
|
1731
1733
|
|
|
1732
1734
|
shuffle17_1_1: [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
1733
1735
|
|
|
@@ -1777,6 +1779,7 @@ const g_keyObj = {
|
|
|
1777
1779
|
stepRtn17_0_2: [45, 45, 0, 0, -45, -45, -90, -90, `onigiri`, 90, 90, 135, 135, 180, 180, 225, 225],
|
|
1778
1780
|
|
|
1779
1781
|
// 各キーの区切り位置
|
|
1782
|
+
// - 未指定の場合は下段への折り返し無し
|
|
1780
1783
|
div9i_0: 6,
|
|
1781
1784
|
div11_0: 6,
|
|
1782
1785
|
div11L_0: 6,
|
|
@@ -1792,6 +1795,7 @@ const g_keyObj = {
|
|
|
1792
1795
|
div17_1: 9,
|
|
1793
1796
|
|
|
1794
1797
|
// 各キーの位置関係
|
|
1798
|
+
// - 未指定の場合は0からの連番が入る
|
|
1795
1799
|
pos9i_0: [2, 3, 4, 5, 6, 7, 8, 9, 10],
|
|
1796
1800
|
pos11_0: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
1797
1801
|
pos11L_0: [0, 1, 2, 3, 6, 7, 8, 9, 10, 11, 12],
|
|
@@ -1852,7 +1856,7 @@ const g_keyObj = {
|
|
|
1852
1856
|
|
|
1853
1857
|
keyCtrl8_5: [[`Shift`], [`Z`], [`S`], [`X`, `C`], [`D`, `F`], [`V`], [`G`], [`B`]],
|
|
1854
1858
|
|
|
1855
|
-
//
|
|
1859
|
+
// 隣接するステップゾーン間の距離
|
|
1856
1860
|
blank: 55,
|
|
1857
1861
|
blank_def: 55,
|
|
1858
1862
|
blank11i_0: 50,
|
|
@@ -2113,6 +2117,13 @@ const g_copyKeyPtn = {
|
|
|
2113
2117
|
'7_5': `8_4`,
|
|
2114
2118
|
'7_6': `8_5`,
|
|
2115
2119
|
|
|
2120
|
+
'7i_1': `7_0`,
|
|
2121
|
+
'7i_2': `7_1`,
|
|
2122
|
+
'7i_3': `8_2`,
|
|
2123
|
+
'7i_4': `8_3`,
|
|
2124
|
+
'7i_5': `8_4`,
|
|
2125
|
+
'7i_6': `8_5`,
|
|
2126
|
+
|
|
2116
2127
|
'9A_1': `9A_0`,
|
|
2117
2128
|
'9A_2': `9B_0`,
|
|
2118
2129
|
'9A_3': `11i_0`,
|
|
@@ -2614,6 +2625,7 @@ const g_lblNameObj = {
|
|
|
2614
2625
|
|
|
2615
2626
|
'u_Mirror': `Mirror`,
|
|
2616
2627
|
'u_Asym-Mirror': `Asym-Mirror`,
|
|
2628
|
+
'u_Turning': `Turning`,
|
|
2617
2629
|
'u_Random': `Random`,
|
|
2618
2630
|
'u_Random+': `Random+`,
|
|
2619
2631
|
'u_S-Random': `S-Random`,
|
|
@@ -2708,7 +2720,7 @@ const g_lang_lblNameObj = {
|
|
|
2708
2720
|
kcNoShuffleDesc: `矢印をクリックでカラーグループを変更`,
|
|
2709
2721
|
sdDesc: `[クリックでON/OFFを切替、灰色でOFF]`,
|
|
2710
2722
|
kcShortcutDesc: `プレイ中ショートカット:「{0}」タイトルバック / 「{1}」リトライ`,
|
|
2711
|
-
transKeyDesc:
|
|
2723
|
+
transKeyDesc: `別キーモードではキーコンフィグ、ColorType等は保存されません`,
|
|
2712
2724
|
sdShortcutDesc: `Hid+/Sud+時ショートカット:「pageUp」カバーを上へ / 「pageDown」下へ`,
|
|
2713
2725
|
|
|
2714
2726
|
s_level: `Level`,
|
|
@@ -2740,7 +2752,7 @@ const g_lang_lblNameObj = {
|
|
|
2740
2752
|
kcNoShuffleDesc: `Click the arrow to change the color group.`,
|
|
2741
2753
|
sdDesc: `[Click to switch, gray to OFF]`,
|
|
2742
2754
|
kcShortcutDesc: `Shortcut during play: "{0}" Return to title / "{1}" Retry the game`,
|
|
2743
|
-
transKeyDesc: `
|
|
2755
|
+
transKeyDesc: `Key config, Color type, etc. are not saved in another key mode`,
|
|
2744
2756
|
sdShortcutDesc: `When "Hidden+" or "Sudden+" select, "pageUp" cover up / "pageDown" cover down`,
|
|
2745
2757
|
|
|
2746
2758
|
s_level: `Level`,
|
|
@@ -2829,7 +2841,7 @@ const g_lang_msgObj = {
|
|
|
2829
2841
|
colorType: `矢印・フリーズアローの配色セットをあらかじめ定義されたリストから選択できます。\nType1~4選択時は色変化が自動でOFFになり、カラーピッカーから好きな色に変更できます。\n[Type0] グラデーション切替, [Type1~4] デフォルトパターン`,
|
|
2830
2842
|
imgType: `矢印・フリーズアローなどのオブジェクトの見た目を変更します。`,
|
|
2831
2843
|
colorGroup: `矢印・フリーズアロー色グループの割り当てパターンを変更します。`,
|
|
2832
|
-
shuffleGroup: `Mirror/Asym-Mirror/Random/S-Random選択時、シャッフルするグループを変更します。\n矢印の上にある同じ数字同士でシャッフルします。`,
|
|
2844
|
+
shuffleGroup: `Mirror/Asym-Mirror/Turning/Random/S-Random選択時、シャッフルするグループを変更します。\n矢印の上にある同じ数字同士でシャッフルします。`,
|
|
2833
2845
|
stepRtnGroup: `矢印などノーツの種類、回転に関するパターンを切り替えます。\nあらかじめ設定されている場合のみ変更可能です。`,
|
|
2834
2846
|
|
|
2835
2847
|
pickArrow: `色番号ごとの矢印色(枠、塗りつぶし)、通常時のフリーズアロー色(枠、帯)を\nカラーピッカーから選んで変更できます。`,
|
|
@@ -2885,7 +2897,7 @@ const g_lang_msgObj = {
|
|
|
2885
2897
|
colorType: `Change the color scheme set for arrows and freeze-arrows from the predefined set.\nWhen Type1 to 4 is selected, color change is automatically turned off and can be changed to any color from the color picker.\n[Type0] Switch the sequences color gradations, [Type1~4] default color scheme`,
|
|
2886
2898
|
imgType: `Change the appearance of sequences.`,
|
|
2887
2899
|
colorGroup: `Change the sequences color group assignment pattern.`,
|
|
2888
|
-
shuffleGroup: `Change the shuffle group when Mirror, Asym-Mirror, Random or S-Random are selected.\nShuffle with the same numbers listed above.`,
|
|
2900
|
+
shuffleGroup: `Change the shuffle group when Mirror, Asym-Mirror, Turning, Random or S-Random are selected.\nShuffle with the same numbers listed above.`,
|
|
2889
2901
|
stepRtnGroup: `Switches the type of notes, such as arrows, and the pattern regarding rotation.\nThis can only be changed if it has been set in advance.`,
|
|
2890
2902
|
|
|
2891
2903
|
pickArrow: `Change the frame or fill of arrow color and the frame or bar of normal freeze-arrow color\nfor each color number from the color picker.`,
|