danoniplus 37.8.2 → 37.8.4

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-v37--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/07
7
+ * Revised : 2024/12/07
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 37.8.2`;
12
- const g_revisedDate = `2024/11/07`;
11
+ const g_version = `Ver 37.8.4`;
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;
@@ -8890,7 +8891,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8890
8891
  g_workObj.initY[frmPrev] = tmpObj.startY;
8891
8892
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8892
8893
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8893
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8894
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8894
8895
 
8895
8896
  if (_frzFlg) {
8896
8897
  g_workObj[`mk${camelHeader}Length`][_j] = [];
@@ -8919,7 +8920,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8919
8920
  g_workObj.initY[tmpFrame] = g_workObj.initY[frmPrev];
8920
8921
  g_workObj.arrivalFrame[tmpFrame] = g_workObj.arrivalFrame[frmPrev];
8921
8922
  g_workObj.motionFrame[tmpFrame] = g_workObj.motionFrame[frmPrev];
8922
- g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8923
+ g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8923
8924
 
8924
8925
  } else {
8925
8926
 
@@ -8936,7 +8937,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8936
8937
  g_workObj.initY[frmPrev] = tmpObj.startY;
8937
8938
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8938
8939
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8939
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8940
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8940
8941
  }
8941
8942
 
8942
8943
  // 出現タイミングを保存
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "37.8.2",
3
+ "version": "37.8.4",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {