
Lv.1
在 玩家怎么发射子弹,火球,炮弹之类的实体教程 中回复
world.onPress(({ button, entity, raycast }) => { if(button ==='action0'){ console.log(` ${entity.player.name} 按下了左键`); var ball = spawnEntity(entity.position.x+raycast.direction.x, entity.position.y+raycast.direction.y, entity.position.z+raycast.direction.z,"mesh/火球.vb"); ball.velocity.x += raycast.direction.x*3; ball.velocity.y += raycast.direction.y*3; ball.velocity.z += raycast.direction.z*3; } }) 2021-10-04T16:00:05 点赞:0
在 [喵] 萌新也能做PVP地图了? 中回复
;((args)=>{world.onPlayerJoin(({entity})=>{entity.enableDamage=true});world.onPress(({entity,button,raycast:{hitEntity,direction}})=>{if(button!=='action0'||!hitEntity||!hitEntity.isPlayer)return;if(args[0]){direction.x*=args[1];direction.y*=args[1];direction.z*=args[1];hitEntity.velocity=direction}if(args[2]){hitEntity.hurt(args[5],{attacker:entity})}else{hitEntity.hurt(args[5])}if(args[3]){hitEntity.player.directMessage(args[4].replace("@1",entity.player.name).replace("@2",args[5]))}})})([true,"5",true,true,"💘 你受到 @1 的攻击 (HP-@2)","6"]);2021-11-08T18:02:19 点赞:0
在 一个公共地图 中回复
https://box3.codemao.cn/e/ab10f87f3ab027bf16f4?p=PZc%喵SzLgQJMNqFAAtlC2sFYCEd%2FewyZoFBZlgaEUhuA%喵231WrTLwt喵250cmlidXRvcg%3D%3D
2021-11-19T20:32:45 点赞:0
在 【岛3大电影第五期】邪恶博士的前身今世 中回复
接着邪恶博士突然看见天空中出现了两个影子,一个影子颜色是橙色,额头上还写着一个一个字,但邪恶博士没有看清,另一个影子后面有一条长长的大尾巴,突然邪恶博士的手机上显示了一条短信:这里是建筑师,这里是建筑师,基地已破坏,基地已破坏!远处又传来一段声音:这里是建模师,鸡毛号机器人已进化为一古戈尔级超极巨型机器人。接着,邪恶博士的手机上说,代码库已崩溃。禁止使用关于机器人任何权限。手机将于10秒后自爆。
10
9
8
7
6
5
4……邪恶博士把手机扔了出去
突然一个恶灵跑到了邪恶博士身边……
在邪恶博士快要变成恶灵的时候,看见了吉吉喵和搬砖喵:只要你帮助我们破坏掉代码岛,我们就就让你当邪恶岛岛主。
2021-12-11T16:31:39 点赞:1