继续完善高清化

This commit is contained in:
unanmed 2022-12-30 17:50:28 +08:00
parent f3fa28d804
commit ce8aa43412
3 changed files with 13 additions and 18 deletions

View File

@ -754,10 +754,11 @@ control.prototype._setAutomaticRoute_drawRoute = function (moveStep) {
);
ctx.fillStyle = '#bfbfbf';
ctx.strokeStyle = '#bfbfbf';
ctx.lineWidth = 8;
ctx.lineWidth = 8 * devicePixelRatio;
for (var m = 0; m < moveStep.length; m++) {
if (m == moveStep.length - 1) {
ctx.fillRect(
core.fillRect(
ctx,
moveStep[m].x * 32 + 10 - sx,
moveStep[m].y * 32 + 10 - sy,
12,
@ -770,13 +771,13 @@ control.prototype._setAutomaticRoute_drawRoute = function (moveStep) {
var currDir = moveStep[m].direction,
nextDir = moveStep[m + 1].direction;
ctx.moveTo(
cx - core.utils.scan[currDir].x * 11,
cy - core.utils.scan[currDir].y * 11
(cx - core.utils.scan[currDir].x * 11) * devicePixelRatio,
(cy - core.utils.scan[currDir].y * 11) * devicePixelRatio
);
ctx.lineTo(cx, cy);
ctx.lineTo(cx * devicePixelRatio, cy * devicePixelRatio);
ctx.lineTo(
cx + core.utils.scan[nextDir].x * 11,
cy + core.utils.scan[nextDir].y * 11
(cx + core.utils.scan[nextDir].x * 11) * devicePixelRatio,
(cy + core.utils.scan[nextDir].y * 11) * devicePixelRatio
);
ctx.stroke();
}

View File

@ -1051,7 +1051,9 @@ ui.prototype.drawTip = function (text, id, frame) {
var one = {
text: text,
textX: 21,
width: 26 + core.calWidth('data', realText, '16px Arial'),
width:
26 +
core.calWidth('data', realText, '16px Arial') / devicePixelRatio,
opacity: 0.1,
stage: 1,
frame: frame || 0,

View File

@ -84,10 +84,6 @@ main.floors.MT6=
"eachArrive": [],
"parallelDo": "",
"events": {
"5,5": [
"开启技能后当前技能会在地图名右方显示",
"点开生命之泉技能后距离加生命回复剩余血瓶量会在生命回复上方显示"
],
"2,3": [
{
"type": "changeFloor",
@ -126,12 +122,8 @@ main.floors.MT6=
"4,4": [
{
"type": "sleep",
"time": 1000
"time": 300
},
"\t[原始人]\b[down,hero].......",
"\t[原始人]\b[down,hero]感觉一些很深奥的东西流入了大脑",
"\t[原始人]\b[down,hero]果然可以提高我的智慧吗?",
"\t[原始人]\b[down,hero]看来我可以利用这些智慧来干些事情了",
"现在开启了智慧加点功能,该功能将会贯穿整个游戏,下面请仔细阅读玩法",
"人生不能后悔,一旦加过点后,便再也没有办法悔掉,加点时请慎重选择",
"很多技能都有多个等级,升级需要消耗更多智慧,但收益也会随之增多",
@ -158,7 +150,7 @@ main.floors.MT6=
[30064,30060,30118,30066, 0, 0, 0, 20, 29, 34, 20, 0, 20, 20, 20],
[30072,30073,30126,30074, 0, 0, 32, 20, 20, 20, 20, 31, 0, 31, 20],
[ 20, 0, 0, 0, 29, 0, 0, 20, 0, 0,204, 0, 31, 0, 20],
[ 20, 0, 0, 0, 0,129, 29,267, 0, 0, 20,276, 20, 20, 20],
[ 20, 0, 0, 0, 0, 0, 29,267, 0, 0, 20,276, 20, 20, 20],
[ 20, 0, 0, 0, 0, 0, 20, 20, 20, 29, 20, 0, 0, 0, 20],
[30060,30112,30113,30114,30065,30066, 0, 34, 0, 0, 20, 29, 20,368, 94],
[30073,30112,30113,30114,30073,30074, 20, 20, 20,209, 0, 34, 0, 0, 20],