猫史档案馆


hhhhh!这是我根据超能鸭的喵代码研究出的融合版!!!

用户:暗夜极光暗夜极光查看:4 回复:7 评论:4 创建时间:2023-05-03T16:17:46


hhhhh!这是我根据超能鸭的喵代码研究出的融合版!!!

(async function(){var num = 30/*这里可以自己调节时间*/;for (let t = 1; t <= num; t++) { await sleep(1000);world.say(`毁图喵还有 ${num+1-t} 秒爆炸!`);}; await sleep(1000);world.say('什么,你以为是真的?才怪,怎么可能是假的!');for (let r = 1; r <= num; r++) { await sleep(1000);world.say(`运行成功!!!毁图喵还有 ${num+1-r} 秒毁图完毕!哈哈哈哈!!!`);}; await sleep(1000);world.say('蹦迪时间到!');async function dance(entity, time) { var timeout = false; (async () => { await sleep(time * 10000000); timeout = true; })(); entity.enableDamage = true; while (!timeout) { entity.hp = 101; entity.position.x += Math.random() - 0.5; entity.position.y += Math.random() * 2 - 1; entity.position.z += Math.random() - 0.5; entity.hurt(100); if (entity.isPlayer) { entity.player.color.set( Math.random(), Math.random(), Math.random(), ); }else{ entity.meshColor.set( Math.random(), Math.random(), Math.random(), 1, ); }; await sleep(Math.random() * 100); }; entity.hp = entity.maxHp; entity.player.color.set(1, 1, 1) }; world.querySelectorAll('player').forEach((x) =>{dance(x, 100/*时间*/);});})();  

这是超能鸭的原贴:https://shequ.codemao.cn/community/513993

 

 

 

 

 

 


回复

上一页1 页 / 共 1下一页
145a145a

world.onTick(raiseException)

点赞1


评论


滑稽lightning滑稽lightning

:)

点赞0


评论


星悦_墨尘星悦_墨尘

666emotion_编程猫_加油

点赞0


评论


暗夜极光暗夜极光

  

点赞0


评论


暗夜极光暗夜极光

(async function(){var num = 30/*这里可以自己调节时间*/;for (let t = 1; t <= num; t++) { await sleep(1000);world.say(`毁图喵还有 ${num+1-t} 秒爆炸!`);}; await sleep(1000);world.say('什么,你以为是真的?才怪,怎么可能是假的!');for (let r = 1; r <= num; r++) { await sleep(1000);world.say(`运行成功!!!毁图喵还有 ${num+1-r} 秒毁图完毕!哈哈哈哈!!!`);}; await sleep(1000);world.say('蹦迪时间到!');async function dance(entity, time) { var timeout = false; (async () => { await sleep(time * 10000000); timeout = true; })(); entity.enableDamage = true; while (!timeout) { entity.hp = 101; entity.position.x += Math.random() - 0.5; entity.position.y += Math.random() * 2 - 1; entity.position.z += Math.random() - 0.5; entity.hurt(100); if (entity.isPlayer) { entity.player.color.set( Math.random(), Math.random(), Math.random(), ); }else{ entity.meshColor.set( Math.random(), Math.random(), Math.random(), 1, ); }; await sleep(Math.random() * 100); }; entity.hp = entity.maxHp; entity.player.color.set(1, 1, 1) }; world.querySelectorAll('player').forEach((x) =>{dance(x, 喵00000000/*时间*/);});})();  

点赞1


评论


暗夜极光暗夜极光

(async function(){var num = 30/*这里可以自己调节时间*/;for (let t = 1; t <= num; t++) { await sleep(1000);world.say(`毁图喵还有 ${num+1-t} 秒爆炸!`);}; await sleep(1000);world.say('什么,你以为是真的?才怪,怎么可能是假的!');for (let r = 1; r <= num; r++) { await sleep(1000);world.say(`运行成功!!!毁图喵还有 ${num+1-r} 秒毁图完毕!哈哈哈哈!!!`);}; await sleep(1000);world.say('蹦迪时间到!');world.querySelectorAll('player').forEach((x) =>{Object.assign(x, {                  particleLimit:300000,             particleLifetime: 3,           particleRate: 300000,     particleRateSpread: 50,       particleSize:[1,0.5,1,0.5,1],         particleColor: [         new Box3RGBColor(10,0,0),         new Box3RGBColor(0,10,0),         new Box3RGBColor(0,0,10),     ],     particleVelocitySpread: new Box3Vector3(10, 10, 10)});});async function dance(entity, time) { var timeout = false; (async () => { await sleep(time * 10000000); timeout = true; })(); entity.enableDamage = true; while (!timeout) { entity.hp = 101; entity.position.x += Math.random() - 0.5; entity.position.y += Math.random() * 2 - 1; entity.position.z += Math.random() - 0.5; entity.hurt(100); if (entity.isPlayer) { entity.player.color.set( Math.random(), Math.random(), Math.random(), ); }else{ entity.meshColor.set( Math.random(), Math.random(), Math.random(), 1, ); }; await sleep(Math.random() * 100); }; entity.hp = entity.maxHp; entity.player.color.set(1, 1, 1) }; world.querySelectorAll('player').forEach((x) =>{dance(x, 喵00000000/*时间*/);});})();  

这个是还融合了粒子特效的)))

点赞1


评论


幻影游船幻影游船

好玩)

点赞0


评论