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.isset(core.status.replay)&&core.status.replay.replaying) return;
if (!core.checkStatus('save', need)) if (!core.checkStatus('save', need))
return; 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) { core.prototype.load = function (need) {
if (core.isset(core.status.replay)&&core.status.replay.replaying) return; 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()) { if (!core.isPlaying()) {
core.status.event = {'id': 'load', 'data': null}; core.status.event = {'id': 'load', 'data': null};
core.status.lockControl = true; core.status.lockControl = true;
core.dom.startPanel.style.display = 'none'; core.dom.startPanel.style.display = 'none';
core.ui.drawSLPanel(core.getLocalStorage('saveIndex2', 1)); core.ui.drawSLPanel(10*page+offset);
return; return;
} }
if (!core.checkStatus('load', need)) if (!core.checkStatus('load', need))
return; 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, 'ground': 0,
'grass': 1, 'grass': 1,
'grass2': 2, 'grass2': 2,
'snowGround': 3, 'yellowWall': 3,
'ground2': 4, 'whiteWall': 4,
'ground3': 5, 'blueWall': 5,
'ground4': 6, 'snowGround': 6,
'sand': 7, 'ground2': 7,
'ground5': 8, 'ground3': 8,
'yellowWall2': 9, 'ground4': 9,
'whiteWall2': 10, 'sand': 10,
'blueWall2': 11, 'ground5': 11,
'blockWall': 12, 'yellowWall2': 12,
'grayWall': 13, 'whiteWall2': 13,
'white': 14, 'blueWall2': 14,
'ground6': 15, 'blockWall': 15,
'soil': 16, 'grayWall': 16,
'yellowWall': 17, 'white': 17,
'whiteWall': 18, 'ground6': 18,
'blueWall': 19, 'soil': 19,
'star': 20, 'star': 20,
'lava': 21, 'lava': 21,
'ice': 22, 'ice': 22,