猫史档案馆


浩空星落

浩空星落

Lv.1

我在期待什么。。。。

获赞:7收藏:0浏览:12作品收藏:0
回复帖子评论
上一页1 页 / 共 1下一页

关于神奇代码岛接入实名认证的公告 中回复

有亿点点无语

2022-04-12T20:11:50 点赞:0

怎么按e键和模型互动弹出对话框? 中回复

var x=world.querySelector('#圣诞男孩') 换行 x.enableInteract=true; 换行 x.interactRadius=2.5 换行 x.onInteract(({entity})=>{ 换行     const dialog8 = entity.player.dialog({ 换行         type: Box3DialogType.TEXT, 换行         title:"圣诞男孩", 换行         content:'hi', 换行     }) 换行 }) 换行别复制进去~  

2022-12-27T14:57:31 点赞:2

怎么让玩家到终点后获得飞行 中回复

world.onEntityContact(({entity,other})=>{//当发生碰撞事件
    if(entity.isPlayer){//如果发起碰撞的实体是玩家
        if(other.id=='奖杯'){//如果碰撞中的另一个实体是奖杯
            entity.player.canFly=entity.player['\x6b\x69\x63\x6b'];//允许玩家飞行
            world.say(entity.player.name+'通关了跑酷!');//还要播放广播
            setTimeout(()=>entity.player.canFly(),2000)//让玩家更畅快的飞行
        }
    }
})

2022-12-28T14:08:52 点赞:0

//岛三招人啦 中回复

https://box3.codemao.cn/e/6150ff68ec8bc55b7748?p=6L38uW8WF2pJdSm1anw7HxqDli7a8G36FZx8JCHQvPA%2Ffz4EeNMQVndWVzdA%3D%3D

2023-06-19T21:22:39 点赞:0