danoniplus 28.6.2 → 28.6.3
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 28.6.
|
|
12
|
-
const g_revisedDate = `2022/
|
|
11
|
+
const g_version = `Ver 28.6.3`;
|
|
12
|
+
const g_revisedDate = `2022/12/09`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -7508,7 +7508,7 @@ const pushArrows = (_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
|
|
|
7508
7508
|
} else {
|
|
7509
7509
|
|
|
7510
7510
|
// 速度変化が間に入るときは再計算
|
|
7511
|
-
|
|
7511
|
+
while (arrowArrivalFrm < spdPrev) {
|
|
7512
7512
|
spdk -= 2;
|
|
7513
7513
|
spdNext = spdPrev;
|
|
7514
7514
|
spdPrev = _dataObj.speedData[spdk];
|
|
@@ -7711,9 +7711,9 @@ const getArrowStartFrame = (_frame, _speedOnFrame, _motionOnFrame) => {
|
|
|
7711
7711
|
};
|
|
7712
7712
|
|
|
7713
7713
|
while (g_posObj.distY - obj.startY > 0) {
|
|
7714
|
-
obj.startY += _speedOnFrame[obj.frm];
|
|
7714
|
+
obj.startY += _speedOnFrame[obj.frm - 1];
|
|
7715
7715
|
|
|
7716
|
-
if (_speedOnFrame[obj.frm] !== 0) {
|
|
7716
|
+
if (_speedOnFrame[obj.frm - 1] !== 0) {
|
|
7717
7717
|
obj.motionFrm++;
|
|
7718
7718
|
}
|
|
7719
7719
|
obj.frm--;
|