楼传点标识
This commit is contained in:
parent
eed2a7a835
commit
4bdfc276c9
@ -396,17 +396,21 @@ editor.prototype.drawEventBlock = function () {
|
|||||||
editor.game.doCoreFunc("fillBoldText", fg, index + 1,
|
editor.game.doCoreFunc("fillBoldText", fg, index + 1,
|
||||||
32 * i + 28, 32 * j + 15, '#FF7F00', null, '14px Verdana');
|
32 * i + 28, 32 * j + 15, '#FF7F00', null, '14px Verdana');
|
||||||
}
|
}
|
||||||
|
var offset = 0;
|
||||||
if (editor.currentFloorData.upFloor && editor.currentFloorData.upFloor.toString() == loc) {
|
if (editor.currentFloorData.upFloor && editor.currentFloorData.upFloor.toString() == loc) {
|
||||||
fg.textAlign = 'left';
|
fg.textAlign = 'left';
|
||||||
editor.game.doCoreFunc("fillText", fg, "🔼", 32 * i, 32 * j + 8, null, "8px Verdana");
|
editor.game.doCoreFunc("fillText", fg, "🔼", 32 * i + offset, 32 * j + 8, null, "8px Verdana");
|
||||||
|
offset += 8;
|
||||||
}
|
}
|
||||||
if (editor.currentFloorData.downFloor && editor.currentFloorData.downFloor.toString() == loc) {
|
if (editor.currentFloorData.downFloor && editor.currentFloorData.downFloor.toString() == loc) {
|
||||||
fg.textAlign = 'left';
|
fg.textAlign = 'left';
|
||||||
editor.game.doCoreFunc("fillText", fg, "🔽", 32 * i, 32 * j + 8, null, "8px Verdana");
|
editor.game.doCoreFunc("fillText", fg, "🔽", 32 * i + offset, 32 * j + 8, null, "8px Verdana");
|
||||||
|
offset += 8;
|
||||||
}
|
}
|
||||||
if (editor.currentFloorData.flyPoint && editor.currentFloorData.flyPoint.toString() == loc) {
|
if (editor.currentFloorData.flyPoint && editor.currentFloorData.flyPoint.toString() == loc) {
|
||||||
fg.textAlign = 'left';
|
fg.textAlign = 'left';
|
||||||
editor.game.doCoreFunc("fillText", fg, "🔃", 32 * i, 32 * j + 8, null, "8px Verdana");
|
editor.game.doCoreFunc("fillText", fg, "🔃", 32 * i + offset, 32 * j + 8, null, "8px Verdana");
|
||||||
|
offset += 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user