
Lv.1
_Just be yourself_游戏创作大赛主办 闪电工作室室长 徒弟:十殿阎王 等
签名:从一开始怀着希望来到编程猫,到之后的离开,发生了好多事请,认识了好多的人。 后来,一切都变了,被淡忘,无人记得,这一切似乎变得毫无意义,曾经的努力似乎消失殆尽,但是这里给我留下了美好的回忆。我也不知道这么多年过去,还有没有人记得我。 闪电工作室不会解散,他可能会作为编程猫上一个小小的足迹,但至少他存在过。人生就是如此,充满了过客,但是我们却不得不接受这样的现实,抱歉朋友们,我知道你们已经不记得我了,或许我也记不清你们了,但是我不会忘记我在编程猫有一段朦胧的美好回忆 wx:SDSL_2000
在 【求助】玩家碰到水怎样回到出生点 (仅water)(回答关注+送赞+玩你所有发布的地图) 中回复
for (const e of world.querySelectorAll('*')) {
if (e.id.startsWith('存档点')) {
e.onEntityContact(({ other }) => {
if (other.isPlayer) {
other.player.directMessage('已存档')
other.player.spawnPoint = e.position
}
})
}
}
world.onPlayerJoin(({ entity }) => {
world.onVoxelContact(({ voxel, entity }) => {
if (voxel == voxels.id('lava01')) {
entity.position.copy(entity.player.spawnPoint)
entity.position.y += 4
})
})
})
Lava01改成方块名字
2021-11-04T22:00:26 点赞: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,"1000",true,false,"💘 你受到 @1 的攻击 (HP-@2000)","5000000"]);
2021-11-09T19:44:46 点赞:0