diff --git a/images/terrains.png b/images/terrains.png index 31ff78cf..15d492c3 100644 Binary files a/images/terrains.png and b/images/terrains.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/animates0:经典.png b/images/常用素材:如需使用请直接替换目录中的对应文件/animates0:经典.png new file mode 100644 index 00000000..c1c1cb1a Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/animates0:经典.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/animates1:旋转门.png b/images/常用素材:如需使用请直接替换目录中的对应文件/animates1:旋转门.png new file mode 100644 index 00000000..3a6cdbb5 Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/animates1:旋转门.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/items1:圆形宝石.png b/images/常用素材:如需使用请直接替换目录中的对应文件/items1:圆形宝石.png deleted file mode 100644 index 7150fe9f..00000000 Binary files a/images/常用素材:如需使用请直接替换目录中的对应文件/items1:圆形宝石.png and /dev/null differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/items1:方块宝石.png b/images/常用素材:如需使用请直接替换目录中的对应文件/items1:方块宝石.png new file mode 100644 index 00000000..189b98eb Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/items1:方块宝石.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/宝石1.png b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石1.png new file mode 100644 index 00000000..d930ea4e Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石1.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/宝石2.png b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石2.png new file mode 100644 index 00000000..4749c79d Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石2.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/宝石3.png b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石3.png new file mode 100644 index 00000000..6a1d977a Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石3.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/宝石4.png b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石4.png new file mode 100644 index 00000000..612e1efa Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/宝石4.png differ diff --git a/images/常用素材:如需使用请直接替换目录中的对应文件/旋转机关门.png b/images/常用素材:如需使用请直接替换目录中的对应文件/旋转机关门.png new file mode 100644 index 00000000..ce9bc323 Binary files /dev/null and b/images/常用素材:如需使用请直接替换目录中的对应文件/旋转机关门.png differ diff --git a/libs/core.js b/libs/core.js index 76eb3636..dcdd3499 100644 --- a/libs/core.js +++ b/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); } ////// 点击设置按钮时的操作 ////// diff --git a/libs/icons.js b/libs/icons.js index 4aced479..b8f9d206 100644 --- a/libs/icons.js +++ b/libs/icons.js @@ -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,