danoniplus 34.7.11 → 34.7.13

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-v34--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 34.7.11`;
12
- const g_revisedDate = `2024/11/04`;
11
+ const g_version = `Ver 34.7.13`;
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;
@@ -8056,7 +8057,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8056
8057
  g_workObj.initY[frmPrev] = tmpObj.startY;
8057
8058
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8058
8059
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8059
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8060
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8060
8061
 
8061
8062
  if (_frzFlg) {
8062
8063
  g_workObj[`mk${camelHeader}Length`][_j] = [];
@@ -8084,7 +8085,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8084
8085
  g_workObj.initY[tmpFrame] = g_workObj.initY[frmPrev];
8085
8086
  g_workObj.arrivalFrame[tmpFrame] = g_workObj.arrivalFrame[frmPrev];
8086
8087
  g_workObj.motionFrame[tmpFrame] = g_workObj.motionFrame[frmPrev];
8087
- g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8088
+ g_workObj.initBoostY[tmpFrame] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8088
8089
 
8089
8090
  } else {
8090
8091
 
@@ -8101,7 +8102,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
8101
8102
  g_workObj.initY[frmPrev] = tmpObj.startY;
8102
8103
  g_workObj.arrivalFrame[frmPrev] = tmpObj.arrivalFrm;
8103
8104
  g_workObj.motionFrame[frmPrev] = tmpObj.motionFrm;
8104
- g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j < g_workObj.motionFrame[frmPrev]));
8105
+ g_workObj.initBoostY[frmPrev] = sumData(g_workObj.motionOnFrames.filter((val, j) => j <= g_workObj.motionFrame[frmPrev]));
8105
8106
  }
8106
8107
 
8107
8108
  // 出現タイミングを保存
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "34.7.11",
3
+ "version": "34.7.13",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {