Tiny fix
This commit is contained in:
parent
e25c82c0a6
commit
27d49e42b3
@ -1,8 +1,10 @@
|
||||
# 脚本
|
||||
|
||||
?> 在这一节中,让我们来了解如何使用控制台和复写函数!
|
||||
?> 在这一节中,让我们来了解如何使用控制台和使用脚本!
|
||||
|
||||
在V2.6版本中,基本对整个项目代码进行了重写,更加方便造塔者的使用和复写函数。
|
||||
在V2.6版本中,基本对整个项目代码进行了重写,更加方便造塔者的使用。
|
||||
|
||||
可配合基础js教学视频 https://www.bilibili.com/video/BV1uL411J7yZ/ 使用。
|
||||
|
||||
## 控制台的使用
|
||||
|
||||
|
||||
@ -2586,7 +2586,7 @@ ui.prototype._drawViewMaps = function (index, x, y) {
|
||||
|
||||
ui.prototype._drawViewMaps_drawHint = function () {
|
||||
core.playSound('打开界面');
|
||||
core.fillRect('ui', 0, 0, this.PIXEL, this.PIXEL, 'rgba(0,0,0,0.4)');
|
||||
core.fillRect('ui', 0, 0, this.PIXEL, this.PIXEL, 'rgba(0,0,0,0.7)');
|
||||
core.setTextAlign('ui', 'center');
|
||||
var stroke = function (left, top, width, height, fillStyle, lineWidth) {
|
||||
core.strokeRect('ui', left*32+2, top*32+2, width*32-4, height*32-4, fillStyle, lineWidth);
|
||||
@ -2619,7 +2619,7 @@ ui.prototype._drawViewMaps_drawHint = function () {
|
||||
core.fillText('ui', "后张地图 [▼ / PGDN]", this.HPIXEL, this.PIXEL - (32 * per + 48));
|
||||
|
||||
core.fillText('ui', "退出 [ESC / ENTER]", this.HPIXEL, this.HPIXEL);
|
||||
core.fillText('ui', "[X] 可查看" + core.material.items['book'].name, this.HPIXEL + 77, this.HPIXEL + 32, null, '13px Arial');
|
||||
core.fillText('ui', "[X] 可查看" + core.material.items['book'].name + " [G] 可使用" + core.material.items.fly.name, this.HPIXEL, this.HPIXEL + 32, null, '12px Arial');
|
||||
|
||||
core.setTextBaseline('ui', 'alphabetic');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user