
Lv.1
我爱摸鱼摸鱼使我快乐
在 【教程贴】超时空独家代码竟被盗取(bushi 中回复
附件:轰炸代码
(模型请自己找)
async function awa(mesh, y) {
var h = world.createEntity({
mesh: mesh,
scale: new Box3Vector3(0.5, 0.5, 0.5),
collides: true,
gravity: true,
position: {
x: Math.random() * 126,
y: y,
z: Math.random() * 126,
},
})
h.addTag('穿地弹')
await sleep(30000)
h.destroy()
}//增加一个空袭,来测试修复建筑功能
async function game() {
while (1) {
awa('mesh/核弹.vb', 140)
await sleep(2000)
}
} game()//不停生成导弹,用于摧毁地图建筑
world.onVoxelContact(({ entity }) => {
if (entity.hasTag('穿地弹')) {
voxer(entity)
}//导弹的摧毁特效
})
function voxer(shell) {//感谢尹子提供的特效代码)
var p = new Box3Vector3(Math.round(shell.position.x), Math.round(shell.position.y), Math.round(shell.position.z))
console.log("-------")
var r = 5;
for (let x = p.x - r; x <= p.x + r; x++) {
for (let y = p.y - r; y <= p.y + r; y++) {
for (let z = p.z - r; z <= p.z + r; z++) {
var dis = Math.round(new Box3Vector3(x, y, z).distance(p));
if (voxels.getVoxel(x, y, z) != 0 && dis <= r) {
var vox = voxels.getVoxel(x, y, z);
if (dis == r) {
voxels.setVoxel(x, y, z, "lava02");
} else {
voxels.setVoxel(x, y, z, "air");
}
}
}
}
}
}2023-01-04T10:21:37 点赞:1
在 ↓【惊艳】岛三出积木转代码的工具了?!(链接在下方,贴里的内容挺有意思的的,可以先看看贴里的内容) 中回复
我敢说,你在拖动积木的过程中
我已经肝出了一个星空之城()()
2023-01-04T10:41:31 点赞:4
在 吉吉来查个插件 中回复
我虽然保持中立,但是我还是想讲两句
不要没事就开全皮,那样不会显得你很牛 逼,大家只会把你当猴耍
我不希望岛三充满着开全皮刷存在感的人
这些皮肤都是我们用努力换来的成果
我不希望你们开着全皮到处炫耀,那会玷污它们的
(只针对经常开全皮的人)
(纯属个人看法,不喜勿喷)
2023-01-05T20:02:01 点赞:0