View map while replaying
This commit is contained in:
parent
6471f61e35
commit
6c515ffb7d
@ -378,8 +378,8 @@
|
||||
<span class='statusLabel' id='redKey' style="color:#FF8888"></span>
|
||||
</div>
|
||||
<div class="status" id='pzfCol'>
|
||||
<span class='statusLabel' id='pickaxe' style="color: #804000"></span>
|
||||
<span class='statusLabel' id='bomb' style="color: #99007F"></span>
|
||||
<span class='statusLabel' id='pickaxe' style="color: #BC6E27"></span>
|
||||
<span class='statusLabel' id='bomb' style="color: #FA14B9"></span>
|
||||
<span class='statusLabel' id='fly' style="color: #8DB600"></span>
|
||||
</div>
|
||||
<div class="status" id="debuffCol">
|
||||
|
||||
@ -363,8 +363,8 @@
|
||||
<span class='statusLabel' id='redKey' style="color:#FF8888"></span>
|
||||
</div>
|
||||
<div class="status" id='pzfCol'>
|
||||
<span class='statusLabel' id='pickaxe' style="color: #804000"></span>
|
||||
<span class='statusLabel' id='bomb' style="color: #99007F"></span>
|
||||
<span class='statusLabel' id='pickaxe' style="color: #BC6E27"></span>
|
||||
<span class='statusLabel' id='bomb' style="color: #FA14B9"></span>
|
||||
<span class='statusLabel' id='fly' style="color: #8DB600"></span>
|
||||
</div>
|
||||
<div class="status" id="debuffCol">
|
||||
|
||||
@ -88,8 +88,8 @@
|
||||
<span class='statusLabel' id='redKey' style="color:#FF8888"></span>
|
||||
</div>
|
||||
<div class="status" id='pzfCol'>
|
||||
<span class='statusLabel' id='pickaxe' style="color: #804000"></span>
|
||||
<span class='statusLabel' id='bomb' style="color: #99007F"></span>
|
||||
<span class='statusLabel' id='pickaxe' style="color: #BC6E27"></span>
|
||||
<span class='statusLabel' id='bomb' style="color: #FA14B9"></span>
|
||||
<span class='statusLabel' id='fly' style="color: #8DB600"></span>
|
||||
</div>
|
||||
<div class="status" id="debuffCol">
|
||||
|
||||
@ -1048,7 +1048,11 @@ actions.prototype.keyUpViewMaps = function (keycode) {
|
||||
core.ui.closePanel();
|
||||
}
|
||||
if (keycode==88) {
|
||||
core.openBook(false);
|
||||
if (core.isset(core.status.replay)&&core.status.replay.replaying) {
|
||||
core.bookReplay();
|
||||
} else {
|
||||
core.openBook(false);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1720,14 +1720,14 @@ control.prototype.startReplay = function (list) {
|
||||
|
||||
////// 更改播放状态 //////
|
||||
control.prototype.triggerReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (core.status.replay.pausing) this.resumeReplay();
|
||||
else this.pauseReplay();
|
||||
}
|
||||
|
||||
////// 暂停播放 //////
|
||||
control.prototype.pauseReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
core.status.replay.pausing = true;
|
||||
core.updateStatusBar();
|
||||
@ -1736,7 +1736,7 @@ control.prototype.pauseReplay = function () {
|
||||
|
||||
////// 恢复播放 //////
|
||||
control.prototype.resumeReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
core.status.replay.pausing = false;
|
||||
core.updateStatusBar();
|
||||
@ -1746,7 +1746,7 @@ control.prototype.resumeReplay = function () {
|
||||
|
||||
////// 加速播放 //////
|
||||
control.prototype.speedUpReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
var toAdd = core.status.replay.speed>=3?3:core.status.replay.speed>=2?2:1;
|
||||
core.status.replay.speed = parseInt(10*core.status.replay.speed + toAdd)/10;
|
||||
@ -1756,7 +1756,7 @@ control.prototype.speedUpReplay = function () {
|
||||
|
||||
////// 减速播放 //////
|
||||
control.prototype.speedDownReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
var toAdd = core.status.replay.speed>3?3:core.status.replay.speed>2?2:1;
|
||||
core.status.replay.speed = parseInt(10*core.status.replay.speed - toAdd)/10;
|
||||
@ -1766,7 +1766,7 @@ control.prototype.speedDownReplay = function () {
|
||||
|
||||
////// 停止播放 //////
|
||||
control.prototype.stopReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
core.status.replay.toReplay = [];
|
||||
core.status.replay.totalList = [];
|
||||
@ -1781,7 +1781,7 @@ control.prototype.stopReplay = function () {
|
||||
|
||||
////// 回退 //////
|
||||
control.prototype.rewindReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
if (!core.status.replay.pausing) {
|
||||
core.drawTip("请先暂停录像");
|
||||
@ -1816,7 +1816,7 @@ control.prototype.rewindReplay = function () {
|
||||
|
||||
////// 回放时存档 //////
|
||||
control.prototype.saveReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
if (!core.status.replay.pausing) {
|
||||
core.drawTip("请先暂停录像");
|
||||
@ -1837,7 +1837,33 @@ control.prototype.saveReplay = function () {
|
||||
|
||||
////// 回放时查看怪物手册 //////
|
||||
control.prototype.bookReplay = function () {
|
||||
if (core.status.event.id=='save' || core.status.event.id=='book') return;
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0) return;
|
||||
if (!core.status.replay.replaying) return;
|
||||
if (!core.status.replay.pausing) {
|
||||
core.drawTip("请先暂停录像");
|
||||
return;
|
||||
}
|
||||
|
||||
// 从“浏览地图”页面打开
|
||||
if (core.status.event.id=='viewMaps') {
|
||||
core.status.event.selection = core.status.event.data;
|
||||
core.status.event.id=null;
|
||||
}
|
||||
|
||||
if (core.status.replay.animate || core.isset(core.status.event.id)) {
|
||||
core.drawTip("请等待当前事件的处理结束");
|
||||
return;
|
||||
}
|
||||
|
||||
core.lockControl();
|
||||
core.status.event.id='book';
|
||||
core.useItem('book');
|
||||
}
|
||||
|
||||
////// 回放录像时浏览地图 //////
|
||||
control.prototype.viewMapReplay = function () {
|
||||
if (core.status.event.id=='save' || (core.status.event.id||"").indexOf('book')==0 || core.status.event.id=='viewMaps') return;
|
||||
|
||||
if (!core.status.replay.replaying) return;
|
||||
if (!core.status.replay.pausing) {
|
||||
core.drawTip("请先暂停录像");
|
||||
@ -1849,8 +1875,8 @@ control.prototype.bookReplay = function () {
|
||||
}
|
||||
|
||||
core.lockControl();
|
||||
core.status.event.id='book';
|
||||
core.useItem('book');
|
||||
core.status.event.id='viewMaps';
|
||||
core.ui.drawMaps();
|
||||
}
|
||||
|
||||
////// 回放 //////
|
||||
|
||||
@ -1002,10 +1002,16 @@ core.prototype.saveReplay = function () {
|
||||
core.control.saveReplay();
|
||||
}
|
||||
|
||||
////// 回放时查看怪物手册 //////
|
||||
core.prototype.bookReplay = function () {
|
||||
core.control.bookReplay();
|
||||
}
|
||||
|
||||
////// 回放录像时浏览地图 //////
|
||||
core.prototype.viewMapReplay = function () {
|
||||
core.control.viewMapReplay();
|
||||
}
|
||||
|
||||
////// 回放 //////
|
||||
core.prototype.replay = function () {
|
||||
core.control.replay();
|
||||
|
||||
@ -142,7 +142,7 @@ data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
||||
"enableExperience": false,
|
||||
"enableLevelUp": false,
|
||||
"enableKeys": true,
|
||||
"enablePZF": true,
|
||||
"enablePZF": false,
|
||||
"enableDebuff": false,
|
||||
"flyNearStair": true,
|
||||
"pickaxeFourDirections": false,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user