
Lv.1
如果需要墨水帮忙,请带一瓶橄榄汁……谢谢配合
签名:摸鱼
在 凌_墨水的 新 地图,招 人 辣!!!!!!! 中回复
重新设置了网址,现在为https://box3create.codemao.cn/games/d22dbbcce474a7f565c8
2020-04-14T07:44:57 点赞:1
在 墨水的地图 又双招人辣!!!!!!!! 中回复
噗撸https://box3create.codemao.cn/games/cc01aef43332cafab45a
2020-04-15T18:02:07 点赞:0
在 [教程]如何做出像故宫开车一样的变身效果 中回复
我回复一下DASK,还要加一个
world.querySelectorAll('.跑车').forEach((e)=>{
e.onEntityContact(({entity,other})=>{
if(!other.isPlayer){return}
other.mesh=entity.mesh;//设置玩家的外观
other.meshScale=entity.meshScale;//设置玩家的大小
other.player.invisible=true;//影身
other.meshOrientation = new Box3Quaternion(0, 1, 0, 0);//这段代码没法左右旋转!!!!!!!!
world.say(other.player.name+" 开启了敞篷跑车");//广播消息
other.player.runSpeed = 2;//设置跑步的速度
other.player.walkSpeed = 1.5;//设置走路的速度
other.player.scale =0.6;//因为实体比较小,设置玩家的大小小一些
other.player.jumpPower = 0;//关闭跳跃能力
});
});2020-04-19T17:09:52 点赞:0
在 [教程]如何做出像故宫开车一样的变身效果 中回复
下车的说话指令
world.onChat(({ entity, message }) => {
if (entity && entity.isPlayer) {
if (message === '我要下车') {
other.mesh=other; //还原原造型
other.player.invisible=false;//取消隐身
other.player.canFly = false;//取消飞行
other.player.scale = 1;//还原原形状,大小
other.player.runSpeed=0.5;//还原原速度
other.player.jumpPower=1;//我把跳跃力度给忘记了,有可能会出错
world.say(other.player.name+"还原了自己");//广播信息
}
})2020-04-19T17:19:13 点赞:0