猫史档案馆


求BOX3简易电梯代码!!!不用门的,有金币!!

用户:智编工作室官方智编工作室官方查看:0 回复:2 评论:0 创建时间:2020-07-30T18:45:22


求BOX3简易电梯代码!!!不用门的,有金币!!


回复

上一页1 页 / 共 1下一页
一勺小汤_纪念号一勺小汤_纪念号

async function openDoor(theDoor){
    world.querySelectorAll(theDoor).forEach(async(door)=>{
        for(door.time=0;door.time<31;door.time++){
            door.position.x -= 0.1;
            await sleep(50);
        }
        await sleep(5000);
        for(door.time=0;door.time<31;door.time++){
            door.position.x += 0.1;
            await sleep(50);
        }
    })
}

点赞0


评论


ZH-Y-QZH-Y-Q

amzcd.baklib.com/box3/6322

里边有 

点赞0


评论