danoniplus 24.6.11 → 24.6.12
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 24.6.
|
|
12
|
-
const g_revisedDate = `2022/
|
|
11
|
+
const g_version = `Ver 24.6.12`;
|
|
12
|
+
const g_revisedDate = `2022/12/09`;
|
|
13
13
|
const g_alphaVersion = ``;
|
|
14
14
|
|
|
15
15
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -7207,7 +7207,7 @@ function pushArrows(_dataObj, _speedOnFrame, _motionOnFrame, _firstArrivalFrame)
|
|
|
7207
7207
|
} else {
|
|
7208
7208
|
|
|
7209
7209
|
// 速度変化が間に入るときは再計算
|
|
7210
|
-
|
|
7210
|
+
while (arrowArrivalFrm < spdPrev) {
|
|
7211
7211
|
spdk -= 2;
|
|
7212
7212
|
spdNext = spdPrev;
|
|
7213
7213
|
spdPrev = _dataObj.speedData[spdk];
|
|
@@ -7346,9 +7346,9 @@ function getArrowStartFrame(_frame, _speedOnFrame, _motionOnFrame) {
|
|
|
7346
7346
|
};
|
|
7347
7347
|
|
|
7348
7348
|
while (g_posObj.distY - obj.startY > 0) {
|
|
7349
|
-
obj.startY += _speedOnFrame[obj.frm];
|
|
7349
|
+
obj.startY += _speedOnFrame[obj.frm - 1];
|
|
7350
7350
|
|
|
7351
|
-
if (_speedOnFrame[obj.frm] !== 0) {
|
|
7351
|
+
if (_speedOnFrame[obj.frm - 1] !== 0) {
|
|
7352
7352
|
obj.startY += _motionOnFrame[obj.motionFrm];
|
|
7353
7353
|
obj.motionFrm++;
|
|
7354
7354
|
}
|