From 6db581b929503f0c501dc9ee126c81759dce1607 Mon Sep 17 00:00:00 2001 From: oc Date: Sun, 6 May 2018 23:03:50 +0800 Subject: [PATCH] draw event block --- _server/editor.js | 8 ++++---- 更新说明.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_server/editor.js b/_server/editor.js index 6217c361..75f6bbbd 100644 --- a/_server/editor.js +++ b/_server/editor.js @@ -206,16 +206,16 @@ editor.prototype.drawEventBlock = function () { else if (core.isset(editor.currentFloorData.changeFloor[loc])) color = '#00FF00'; else if (core.isset(editor.currentFloorData.afterBattle[loc])) - color = '#0000FF'; - else if (core.isset(editor.currentFloorData.afterGetItem[loc])) color = '#FFFF00'; + else if (core.isset(editor.currentFloorData.afterGetItem[loc])) + color = '#00FFFF'; else if (core.isset(editor.currentFloorData.afterOpenDoor[loc])) color = '#FF00FF'; else if (core.isset(editor.currentFloorData.cannotMove[loc])) - color = '#00FFFF'; + color = '#0000FF'; if (color!=null) { fg.fillStyle = color; - fg.fillRect(32*i, 32*j+32-12, 12, 12); + fg.fillRect(32*i, 32*j+32-8, 8, 8); } } } diff --git a/更新说明.txt b/更新说明.txt index 999864fa..49802cb5 100644 --- a/更新说明.txt +++ b/更新说明.txt @@ -2,7 +2,7 @@ 事件坐标可用变量指定 √ 全局商店也可以使用图块编辑 √ -高亮显示有事件的格子 +高亮显示有事件的格子 √ 自动注册所有未注册的素材 便捷PS工具对于白底图片可自动调整为透明背景 √ 等待用户点击事件 √