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.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);
|
||||
}
|
||||
|
||||
////// 点击设置按钮时的操作 //////
|
||||
|
||||
@ -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,
|
||||
|
||||