danoniplus 38.3.0 → 38.3.2
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 +13 -9
- package/package.json +1 -1
package/js/danoni_main.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Source by tickle
|
|
6
6
|
* Created : 2018/10/08
|
|
7
|
-
* Revised : 2025/01
|
|
7
|
+
* Revised : 2025/02/01
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 38.3.
|
|
12
|
-
const g_revisedDate = `2025/01
|
|
11
|
+
const g_version = `Ver 38.3.2`;
|
|
12
|
+
const g_revisedDate = `2025/02/01`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -9810,8 +9810,8 @@ const mainInit = () => {
|
|
|
9810
9810
|
const filterCss = g_stateObj.filterLock === C_FLG_OFF ? g_cssObj.life_Failed : g_cssObj.life_Cleared;
|
|
9811
9811
|
[`filterBar0`, `filterBar1`, `borderBar0`, `borderBar1`].forEach(obj =>
|
|
9812
9812
|
mainSprite.appendChild(createColorObject2(obj, g_lblPosObj.filterBar, filterCss)));
|
|
9813
|
-
borderBar0.style.top = wUnit(g_posObj.stepDiffY +
|
|
9814
|
-
borderBar1.style.top = wUnit(g_posObj.stepDiffY + g_posObj.arrowHeight -
|
|
9813
|
+
borderBar0.style.top = wUnit(g_posObj.stepDiffY + g_workObj.hitPosition);
|
|
9814
|
+
borderBar1.style.top = wUnit(g_posObj.stepDiffY + g_posObj.arrowHeight - g_workObj.hitPosition);
|
|
9815
9815
|
|
|
9816
9816
|
if (g_appearanceRanges.includes(g_stateObj.appearance)) {
|
|
9817
9817
|
mainSprite.appendChild(createDivCss2Label(`filterView`, ``, g_lblPosObj.filterView));
|
|
@@ -10426,6 +10426,10 @@ const mainInit = () => {
|
|
|
10426
10426
|
|
|
10427
10427
|
arrowOFF: (_j, _k, _cnt) => {
|
|
10428
10428
|
|
|
10429
|
+
// 直前のフリーズアローが未判定で、自身の判定範囲がキター(O.K.)の範囲内のとき判定対象を矢印側へ移す
|
|
10430
|
+
// 本来はシャキン(Great)の範囲内としたいところだが、実装が複雑になるため上記条件とする
|
|
10431
|
+
judgeNextFunc.frzOFF(_j, g_workObj.judgFrzCnt[_j] + 1, _cnt);
|
|
10432
|
+
|
|
10429
10433
|
if (g_workObj.judgArrowCnt[_j] === _k - 1 && _cnt <= g_judgObj.arrowJ[g_judgPosObj.shakin]) {
|
|
10430
10434
|
const prevArrowName = `arrow${_j}_${g_workObj.judgArrowCnt[_j]}`;
|
|
10431
10435
|
const prevArrow = g_attrObj[prevArrowName];
|
|
@@ -10453,7 +10457,7 @@ const mainInit = () => {
|
|
|
10453
10457
|
const prevFrz = g_attrObj[prevFrzName];
|
|
10454
10458
|
|
|
10455
10459
|
// 自身より前のフリーズアローが移動中かつキター(O.K.)の領域外のとき
|
|
10456
|
-
if (prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
|
|
10460
|
+
if (prevFrz && prevFrz.isMoving && prevFrz.cnt < (-1) * g_judgObj.frzJ[g_judgPosObj.kita]) {
|
|
10457
10461
|
|
|
10458
10462
|
// 自身より前のフリーズアローが未判定の場合、強制的に枠外判定を行う
|
|
10459
10463
|
if (prevFrz.cnt >= (-1) * g_judgObj.frzJ[g_judgPosObj.iknai] && !prevFrz.judgEndFlg) {
|
|
@@ -10766,7 +10770,7 @@ const mainInit = () => {
|
|
|
10766
10770
|
judgeMotionFunc[`${_name}NG`](_j, _k, frzName, currentFrz.cnt);
|
|
10767
10771
|
|
|
10768
10772
|
} else {
|
|
10769
|
-
currentFrz.frzBarLength -=
|
|
10773
|
+
currentFrz.frzBarLength -= movY * currentFrz.dir;
|
|
10770
10774
|
if (currentFrz.frzBarLength > 0) {
|
|
10771
10775
|
currentFrz.y -= movY;
|
|
10772
10776
|
$id(frzName).top = wUnit(currentFrz.y);
|
|
@@ -11050,8 +11054,8 @@ const changeAppearanceFilter = (_num = 10) => {
|
|
|
11050
11054
|
$id(`arrowSprite${topNum}`).clipPath = topShape;
|
|
11051
11055
|
$id(`arrowSprite${bottomNum}`).clipPath = bottomShape;
|
|
11052
11056
|
|
|
11053
|
-
$id(`filterBar0`).top = wUnit(g_posObj.arrowHeight * _num / MAX_FILTER_POS
|
|
11054
|
-
$id(`filterBar1`).top = wUnit(g_posObj.arrowHeight * (MAX_FILTER_POS - _num) / MAX_FILTER_POS
|
|
11057
|
+
$id(`filterBar0`).top = wUnit(g_posObj.arrowHeight * _num / MAX_FILTER_POS - g_stateObj.hitPosition);
|
|
11058
|
+
$id(`filterBar1`).top = wUnit(g_posObj.arrowHeight * (MAX_FILTER_POS - _num) / MAX_FILTER_POS + g_stateObj.hitPosition);
|
|
11055
11059
|
|
|
11056
11060
|
if (g_appearanceRanges.includes(g_stateObj.appearance)) {
|
|
11057
11061
|
$id(`filterView`).top =
|