From 5f7a03ec70ab4381947560d691d84d6b9e98ef07 Mon Sep 17 00:00:00 2001 From: oc Date: Thu, 28 Dec 2017 22:02:08 +0800 Subject: [PATCH] FloorMsgGroup --- libs/core.js | 4 ++-- libs/data.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/core.js b/libs/core.js index e91d0d08..b40b7d91 100644 --- a/libs/core.js +++ b/libs/core.js @@ -3735,8 +3735,8 @@ core.prototype.resize = function(clientWidth, clientHeight) { id: 'floorMsgGroup', rules:{ width: (canvasWidth - SPACE*2) + unit, - height:(canvasWidth - SPACE*2) + unit, - top: (canvasTop + SPACE) + unit, + height: (gameGroupHeight - SPACE*2) + unit, + top: SPACE + unit, right: SPACE + unit, } }, diff --git a/libs/data.js b/libs/data.js index adb77995..a454c296 100644 --- a/libs/data.js +++ b/libs/data.js @@ -7,7 +7,7 @@ data.prototype.init = function() { "title": "魔塔样板", // 游戏名,将显示在标题页面以及切换楼层的界面中 "name": "template", // 游戏的唯一英文标识符。由英文、数字、下划线组成,不能超过20个字符。 "version": "Ver 1.0.0 (Beta)", // 当前游戏版本;版本不一致的存档不能通用。 - "floorId": "test", // 初始楼层ID + "floorId": "sample0", // 初始楼层ID "hero": { // 勇士初始数据 "name": "阳光", // 勇士名;可以改成喜欢的 'lv': 1, // 初始等级,该项必须为正整数