danoniplus 36.6.6 → 36.6.8

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.
@@ -2,7 +2,7 @@
2
2
  <html lang="ja">
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <script src="https://cwtickle.github.io/danoniplus/js/danoni_main.js" charset="UTF-8"></script>
5
+ <script src="https://support-v36--danoniplus.netlify.app/js/danoni_main.js" charset="UTF-8"></script>
6
6
 
7
7
  <title>Dancing★Onigiri Preview</title>
8
8
 
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 : 2024/11/04
7
+ * Revised : 2024/12/07
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 36.6.6`;
12
- const g_revisedDate = `2024/11/04`;
11
+ const g_version = `Ver 36.6.8`;
12
+ const g_revisedDate = `2024/12/07`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -39,7 +39,8 @@ const current = _ => {
39
39
  };
40
40
  const g_rootPath = current().match(/(^.*\/)/)[0];
41
41
  const g_workPath = new URL(location.href).href.match(/(^.*\/)/)[0];
42
- const g_remoteFlg = g_rootPath.match(`^https://cwtickle.github.io/danoniplus/`) !== null;
42
+ const g_remoteFlg = g_rootPath.match(`^https://cwtickle.github.io/danoniplus/`) !== null ||
43
+ g_rootPath.match(/danoniplus.netlify.app/) !== null;
43
44
  const g_randTime = Date.now();
44
45
  const g_isFile = location.href.match(/^file/);
45
46
  const g_isLocal = location.href.match(/^file/) || location.href.indexOf(`localhost`) !== -1;
@@ -8475,7 +8476,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8475
8476
  g_workObj.initY[frmPrev] = tmpObj.startY;
8476
8477
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8477
8478
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8478
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8479
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8479
8480
 
8480
8481
  if (_frzFlg) {
8481
8482
  g_workObj[`mk${camelHeader}Length`][_j] = [];
@@ -8503,7 +8504,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8503
8504
  g_workObj.initY[tmpFrame] = g_workObj.initY[frmPrev];
8504
8505
  g_workObj.arrivalFrame[tmpFrame] = g_workObj.arrivalFrame[frmPrev];
8505
8506
  g_workObj.motionFrame[tmpFrame] = g_workObj.motionFrame[frmPrev];
8506
- g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8507
+ g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8507
8508
 
8508
8509
  } else {
8509
8510
 
@@ -8520,7 +8521,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8520
8521
  g_workObj.initY[frmPrev] = tmpObj.startY;
8521
8522
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8522
8523
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8523
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8524
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8524
8525
  }
8525
8526
 
8526
8527
  // 出現タイミングを保存
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "36.6.6",
3
+ "version": "36.6.8",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {