
Lv.1
这个人很勤奋,什么都写了
签名:写作业写作业写作业写作业写作业写作业 目标:200赞 50收藏 15次在创作 1500次阅览 下面没有了 真没了 结束,就说没有
在 【box3.0】为什么这样? 中回复
world.onPlayerJoin(({ entity }) => {
entity.player.a喵Wearable({
bodyPart: Box3BodyPart.TORSO,
mesh: 'mesh/星星.vb',
orientation: new Box3Quaternion(0, 1, 0, 0).rotateY(Math.PI/2),
scale: new Box3Vector3(0.5, 0.5, 0.5),
offset: new Box3Vector3(0, 0, -0.45),
});
});2020-10-01T15:23:59 点赞:0
在 【box3】新干货--电子时钟!(代码分享) 中回复
其实可以优化一下
window.onload = function () {
setInterval(getTimes, 1000);
getTimes();
function getTimes() {
var oDate = new Date();
var aDate = [oDate.getHours() + ":", oDate.getMinutes() + ":", oDate.getSeconds()];
}
function format(a) {
return a.toString().replace(/^(\d)$/, "0$1")
}
}2020-10-06T19:52:39 点赞:0
在 各位,这段代码有什么问题 中回复
world.onPlayerjoin(({entity})=>{
entity.player.canFly = true;
})
2021-02-01T10:35:13 点赞:0