Fix Bug
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/animates0:经典.png
Normal file
|
After Width: | Height: | Size: 20 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/animates1:旋转门.png
Normal file
|
After Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 26 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/items1:方块宝石.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/宝石1.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/宝石2.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/宝石3.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/宝石4.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
images/常用素材:如需使用请直接替换目录中的对应文件/旋转机关门.png
Normal file
|
After Width: | Height: | Size: 91 KiB |
13
libs/core.js
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
////// 点击设置按钮时的操作 //////
|
////// 点击设置按钮时的操作 //////
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||