From 89af952bf654c7aa70bf063b35e95cca3318bb0c Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Wed, 17 Jan 2018 21:29:15 +0800 Subject: [PATCH] Ver 1.3.2 --- libs/data.js | 2 +- libs/ui.js | 3 +-- main.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/libs/data.js b/libs/data.js index d4385726..bef69f52 100644 --- a/libs/data.js +++ b/libs/data.js @@ -6,7 +6,7 @@ data.prototype.init = function() { this.firstData = { "title": "魔塔样板", // 游戏名,将显示在标题页面以及切换楼层的界面中 "name": "template", // 游戏的唯一英文标识符。由英文、数字、下划线组成,不能超过20个字符。 - "version": "Ver 1.3.2.0", // 当前游戏版本;版本不一致的存档不能通用。 + "version": "Ver 1.3.2", // 当前游戏版本;版本不一致的存档不能通用。 "floorId": "sample0", // 初始楼层ID "hero": { // 勇士初始数据 "name": "阳光", // 勇士名;可以改成喜欢的 diff --git a/libs/ui.js b/libs/ui.js index 27059b69..4eb5c8e5 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -654,7 +654,6 @@ ui.prototype.drawWaiting = function(text) { core.setFillStyle('ui', background); core.setFont('ui', 'bold 17px Verdana'); - core.setFillStyle('ui', '#FFFFFF'); var text_length = core.canvas.ui.measureText(text).width; var right = Math.max(text_length+50, 220); @@ -664,7 +663,7 @@ ui.prototype.drawWaiting = function(text) { core.strokeRect('ui', left - 1, top - 1, right + 1, bottom + 1, '#FFFFFF', 2); core.canvas.ui.textAlign = "center"; - core.fillText('ui', text, 208, top + 56); + core.fillText('ui', text, 208, top + 56, '#FFFFFF'); } diff --git a/main.js b/main.js index 8a381330..702f31a1 100644 --- a/main.js +++ b/main.js @@ -2,7 +2,7 @@ function main() { //------------------------ 用户修改内容 ------------------------// - this.version = "1.3.2.0"; // 游戏版本号;如果更改了游戏内容建议修改此version以免造成缓存问题。 + this.version = "1.3.2"; // 游戏版本号;如果更改了游戏内容建议修改此version以免造成缓存问题。 this.useCompress = false; // 是否使用压缩文件 // 当你即将发布你的塔时,请使用“JS代码压缩工具”将所有js代码进行压缩,然后将这里的useCompress改为true。