This commit is contained in:
oc 2018-01-18 21:03:53 +08:00
parent 90054cb7d1
commit 40e207be23
12 changed files with 27 additions and 20 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

View File

@ -3675,25 +3675,32 @@ core.prototype.save = function(need) {
if (core.isset(core.status.replay)&&core.status.replay.replaying) return;
if (!core.checkStatus('save', need))
return;
core.ui.drawSLPanel(core.status.saveIndex);
var saveIndex = core.status.saveIndex;
var page=parseInt((saveIndex-1)/5), offset=saveIndex-5*page;
core.ui.drawSLPanel(10*page+offset);
}
////// 点击读取按钮时的打开操作 //////
core.prototype.load = function (need) {
if (core.isset(core.status.replay)&&core.status.replay.replaying) return;
var saveIndex = core.getLocalStorage('saveIndex2', 1);
var page=parseInt((saveIndex-1)/5), offset=saveIndex-5*page;
// 游戏开始前读档
if (!core.isPlaying()) {
core.status.event = {'id': 'load', 'data': null};
core.status.lockControl = true;
core.dom.startPanel.style.display = 'none';
core.ui.drawSLPanel(core.getLocalStorage('saveIndex2', 1));
core.ui.drawSLPanel(10*page+offset);
return;
}
if (!core.checkStatus('load', need))
return;
core.ui.drawSLPanel(core.status.saveIndex);
core.ui.drawSLPanel(10*page+offset);
}
////// 点击设置按钮时的操作 //////

View File

@ -14,23 +14,23 @@ icons.prototype.init = function () {
'ground': 0,
'grass': 1,
'grass2': 2,
'snowGround': 3,
'ground2': 4,
'ground3': 5,
'ground4': 6,
'sand': 7,
'ground5': 8,
'yellowWall2': 9,
'whiteWall2': 10,
'blueWall2': 11,
'blockWall': 12,
'grayWall': 13,
'white': 14,
'ground6': 15,
'soil': 16,
'yellowWall': 17,
'whiteWall': 18,
'blueWall': 19,
'yellowWall': 3,
'whiteWall': 4,
'blueWall': 5,
'snowGround': 6,
'ground2': 7,
'ground3': 8,
'ground4': 9,
'sand': 10,
'ground5': 11,
'yellowWall2': 12,
'whiteWall2': 13,
'blueWall2': 14,
'blockWall': 15,
'grayWall': 16,
'white': 17,
'ground6': 18,
'soil': 19,
'star': 20,
'lava': 21,
'ice': 22,