danoniplus 27.8.4 → 27.8.5
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 +6 -6
- 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 : 2022/
|
|
7
|
+
* Revised : 2022/12/09
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 27.8.
|
|
12
|
-
const g_revisedDate = `2022/
|
|
11
|
+
const g_version = `Ver 27.8.5`;
|
|
12
|
+
const g_revisedDate = `2022/12/09`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -7329,7 +7329,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
|
|
|
7329
7329
|
} else {
|
|
7330
7330
|
|
|
7331
7331
|
// 速度変化が間に入るときは再計算
|
|
7332
|
-
|
|
7332
|
+
while (arrowArrivalFrm < spdPrev) {
|
|
7333
7333
|
spdk -= 2;
|
|
7334
7334
|
spdNext = spdPrev;
|
|
7335
7335
|
spdPrev = _dataObj.speedData[spdk];
|
|
@@ -7536,9 +7536,9 @@ const getArrowStartFrame = (_frame, _speedOnFrame, _motionOnFrame) => {
|
|
|
7536
7536
|
};
|
|
7537
7537
|
|
|
7538
7538
|
while (g_posObj.distY - obj.startY > 0) {
|
|
7539
|
-
obj.startY += _speedOnFrame[obj.frm];
|
|
7539
|
+
obj.startY += _speedOnFrame[obj.frm - 1];
|
|
7540
7540
|
|
|
7541
|
-
if (_speedOnFrame[obj.frm] !== 0) {
|
|
7541
|
+
if (_speedOnFrame[obj.frm - 1] !== 0) {
|
|
7542
7542
|
obj.startY += _motionOnFrame[obj.motionFrm];
|
|
7543
7543
|
obj.motionFrm++;
|
|
7544
7544
|
}
|