猫史档案馆


天空与风之者

天空与风之者

Lv.1

获赞:16收藏:0浏览:33作品收藏:0
回复帖子评论
上一页1 页 / 共 1下一页

【招人】新坑 中回复

建筑

 

2022-08-04T20:59:33 点赞:0

尹子同款飞机!lolita大佬的最终级飞机代码! 中回复

怎么下飞机呢

 

2022-08-26T13:52:14 点赞:0

《天空神域》开源门禁系统 中回复

在吗

2022-08-27T16:47:05 点赞:1

《天空神域》开源门禁系统 中回复

大佬

2022-08-27T16:47:12 点赞:1

【神岛】怎么把角色的方向赋给子弹呢 中回复

https://box3.codemao.cn/e/86374c3b32be574c8447?p=deOCb3A5JhI4i3i9zAq6喵ESYnF1Jsts5PVClEwe7yA7HpoTrMMAt喵250cmlidXRvcg%3D%3D

2022-11-29T14:49:32 点赞:0

电梯代码! 中回复

就是没有用

因为如果直接复制粘贴的话

那opendoor函数和closedoor函数没有定义,不能用

 

2022-12-11T14:23:57 点赞:0

电梯代码! 中回复

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);
        }
    })
}

要加上这个开门函数

2022-12-11T14:26:30 点赞:0