
Lv.1
星启梦想,共创未来
签名:星启梦想,共创未来
在 我的天,荷花的小说......我的小说...... 中回复
招人(不喜请删)https://box3.codemao.cn/e/52cc3d10ef270eb94627
2021-03-16T18:31:19 点赞:0
在 求代码急需啊啊啊啊 蜜码机代码 中回复
const w = world.querySelector('#密码门');//w可以随便起名,建议不要替换
w.enableInteract = true; // 允许进行互动
w.interactRadius = 2; // 实体的互动范围
w.interactHint = w.id;; // 互动提示框显示实体的名称
w.interactColor = new Box3RGBColor(1,0,1); // 互动提示的文字颜色
// 玩家与实体进行交互时触发
w.onInteract(async({entity}) => {
const result = await entity.player.dialog({
type: Box3DialogType.INPUT,
title: "密码门",
titleTextColor: new Box3RGBAColor(1, 1, 1, 1),
titleBackgroundColor: new Box3RGBAColor(0, 0, 0, 0.98),
content: `${entity.player.name},你知道进入密码门的暗号吗?`,
confirmText: '确定', // 确定按钮上面的文字。按下确定按钮后,提交回答。
placeholder: '……', // 输入框背景上的提示文字。
contentTextColor: new Box3RGBAColor(1, 1, 1, 1),
contentBackgroundColor: new Box3RGBAColor(0, 0, 0, 0.98),
lookEye: entity.position.a喵(entity.player.facingDirection.scale(5)),
lookTarget: entity,
});
const surprise = ['密码','密码' ]
if(surprise.includes(result)){
entity.position.set(119,9,100)//坐标,用来确定密码正误
}
});2021-04-11T17:39:18 点赞:0
在 求代码急需:蜜码机的代码怎么写?(跪下) 中回复
const w = world.querySelector('#密码门');
w.enableInteract = true; // 允许进行互动
w.interactRadius = 2; // 实体的互动范围
w.interactHint = w.id;; // 互动提示框显示实体的名称
w.interactColor = new Box3RGBColor(1,0,1); // 互动提示的文字颜色
// 玩家与实体进行交互时触发
w.onInteract(async({entity}) => {
const result = await entity.player.dialog({
type: Box3DialogType.INPUT,
title: "密码门",
titleTextColor: new Box3RGBAColor(1, 1, 1, 1),
titleBackgroundColor: new Box3RGBAColor(0, 0, 0, 0.98),
content: `${entity.player.name},你知道进入密码门的暗号吗?`,
confirmText: '确定', // 确定按钮上面的文字。按下确定按钮后,提交回答。
placeholder: '……', // 输入框背景上的提示文字。
contentTextColor: new Box3RGBAColor(1, 1, 1, 1),
contentBackgroundColor: new Box3RGBAColor(0, 0, 0, 0.98),
lookEye: entity.position.a喵(entity.player.facingDirection.scale(5)),
lookTarget: entity,
});
const surprise = ['密码','密码' ]
if(surprise.includes(result)){
entity.position.set(119,9,100)//坐标
}
});2021-04-11T17:42:02 点赞:0
在 怎么在帖子里发box3游戏 中回复
<iframe src ="https://box3.codemao.cn/p/huoyanparkour1086"></iframe>
2021-04-19T18:18:20 点赞:0
在 怎么在帖子里发box3游戏 中回复
2021-04-19T18:19:03 点赞:0
在 【岛3老活新整创作节】官方地图《赤碧城》限时送,报名时间已截止! 中回复
我要报名参赛地图链接(不知道赤壁城是大还是超大)大:https://box3.codemao.cn/e/722e2542fd954喵098d2
超大:https://box3.codemao.cn/e/688d7ef0c56de97b7cc0
某吉你看着办
2021-04-23T18:20:16 点赞:0