
Lv.1
玩魔法觉醒,id 我叫zzt 看小破站,id 魔杖飞来
签名:在想你💭~●~●~●biu~
在 【教程】如何做一个带粒子效果的火车 中回复
for(let i=0;i<15;i++){//火车向前加速
world.querySelectorAll(".gb2").forEach((entity)=>{
entity.velocity.z+=0.1; })
然后保持47秒
await sleep(20) } await sleep(4500)//行驶中
再减速
for(let i=0;i<15;i++){//火车向前减速
world.querySelectorAll(".gb2").forEach((entity)=>{
entity.velocity.z-=0.1;
})
await sleep(20) }
到站了~
await sleep(6000)//停站中
回去用脚吧~
不要打了,告诉你们!
for(let i=0;i<15;i++){//火车向后加速
world.querySelectorAll(".gb2").forEach((entity)=>{
entity.velocity.z-=0.1;
})
await sleep(20) }
await sleep(4500)//行驶中
for(let i=0;i<15;i++){//火车向后减速
world.querySelectorAll(".gb2").forEach((entity)=>{
entity.velocity.z+=0.1;
}) await sleep(20) }
await sleep(6000)//停站中 } })();
然后就是粒子效果
world.querySelectorAll('.gb2').forEach((p) => {
Object.assign(p, {
particleRate: 220,
particleSize: [2, 2, 2, 2, 2],
particleColor: [
new Box3RGBColor(50, 50, 50),
new Box3RGBColor(5, 0.25, 0.1),
new Box3RGBColor(3, 0.05, 0.05),
new Box3RGBColor(0, 0, 0),
new Box3RGBColor(0, 0, 0), ],
particleLifetime: 1,
particleVelocitySpread: new Box3Vector3(2, 2, 2), }); });
合起来~
(async function(){ while (true) { for(let i=0;i<15;i++){//火车向前加速 world.querySelectorAll(".gb2").forEach((entity)=>{ entity.velocity.z+=0.1; }) await sleep(20) } await sleep(4500)//行驶中 for(let i=0;i<15;i++){//火车向前减速 world.querySelectorAll(".gb2").forEach((entity)=>{ entity.velocity.z-=0.1; }) await sleep(20) } await sleep(6000)//停站中 for(let i=0;i<15;i++){//火车向后加速 world.querySelectorAll(".gb2").forEach((entity)=>{ entity.velocity.z-=0.1; }) await sleep(20) } await sleep(4500)//行驶中 for(let i=0;i<15;i++){//火车向后减速 world.querySelectorAll(".gb2").forEach((entity)=>{ entity.velocity.z+=0.1; }) await sleep(20) } await sleep(6000)//停站中 } })(); world.querySelectorAll('.gb2').forEach((p) => { Object.assign(p, { particleRate: 220, particleSize: [2, 2, 2, 2, 2], particleColor: [ new Box3RGBColor(50, 50, 50), new Box3RGBColor(5, 0.25, 0.1), new Box3RGBColor(3, 0.05, 0.05), new Box3RGBColor(0, 0, 0), new Box3RGBColor(0, 0, 0), ], particleLifetime: 1, particleVelocitySpread: new Box3Vector3(2, 2, 2), }); }); 2020-06-11T13:04:55 点赞:0
在 绾兮建筑大改造! 中回复
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
https://box3create.codemao.cn/games/c0a099be8eff1a4da468
2020-06-11T18:10:39 点赞:0
在 【父亲节活动】狂甩一波彩虹屁,夸一夸我爸! 中回复
不会录音··············································
2020-06-16T18:14:34 点赞:0
在 制作一个超级二段跳!box3 中回复
world.onVoxelContact(({entity, voxel}) => { const stone = voxels.id('stone') if (voxel===stone){ entity.velocity.y = 2; setTimeout(function(){ entity.velocity.y = 3; }, 1500); } }) 然后我作死把TimeOut换成Interval2020-06-16T18:17:30 点赞:0
在 Box3地图招人中 中回复
建筑··············································································吧·
2020-06-16T18:19:37 点赞:0