mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-02 09:15:05 +08:00
fix: 光影效果
This commit is contained in:
1 parent
053de036ec
commit
27923851bd
6 files changed
+230
-61
No files matched your search
@@ -390,30 +390,6 @@ export function init() {
|
||||
core.animateFrame.asyncId[animate] = cb;
|
||||
this._openDoor_animate(block, x, y, callback);
|
||||
}
|
||||
|
||||
// var blockInfo = core.getBlockInfo(block);
|
||||
// var speed = (doorInfo.time || 160) / 4;
|
||||
// blockInfo.posX = 3;
|
||||
// core.maps._drawBlockInfo(blockInfo, x, y);
|
||||
|
||||
// var animate = window.setInterval(
|
||||
// function () {
|
||||
// blockInfo.posX--;
|
||||
// if (blockInfo.posX < 0) {
|
||||
// clearInterval(animate);
|
||||
// delete core.animateFrame.asyncId[animate];
|
||||
// cb();
|
||||
// return;
|
||||
// }
|
||||
// core.maps._drawBlockInfo(blockInfo, x, y);
|
||||
// },
|
||||
// core.status.replay.speed == 24
|
||||
// ? 1
|
||||
// : speed / Math.max(core.status.replay.speed, 1)
|
||||
// );
|
||||
|
||||
// core.animateFrame.lastAsyncId = animate;
|
||||
// core.animateFrame.asyncId[animate] = cb;
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user