猫史档案馆


一勺小汤_纪念号

一勺小汤_纪念号

Lv.1

一个住在box3的屑一勺小汤,已经退岛退喵

获赞:44收藏:0浏览:347作品收藏:2
回复帖子评论
上一页13 页 / 共 22下一页

求助。。。。。。 中回复

想问MC还是MN?一般都会被删帖,严重封号,慎重询问,最好不要问

2022-04-15T09:50:08 点赞:0

谁能解释一下?这是什么鬼???编程猫站出来! 中回复

《关于神岛官方不叫吉吉喵这件事》

2022-04-15T11:00:49 点赞:0

哇!吉吉喵! 中回复

《很正常啊,不然他怎么审核啊》

2022-04-15T14:16:22 点赞:0

为什么啊啊 中回复

回不去了

2022-04-17T18:17:13 点赞:0

关于新手的心理阴影面积 中回复

《你可以直接抄(bushi)》 推荐网站:box3.gitee.io/blockly/

2022-04-17T18:48:51 点赞:1

【岛3】我的岛3发展史 中回复

我2020上的

2022-04-17T18:58:51 点赞:0

关于神奇代码岛的公告 中回复

岛三渐渐商业化,岛民也是越来越多的XXS了,我也希望能越来越好吧

2022-06-17T15:30:47 点赞:4

神岛历代特性 中回复

对,从岛三到神岛,这些BUG一直没有管。我作为2020年上的岛,每天能做的只是玩玩地图,看着神岛的岛民越来越少……

2022-06-17T15:37:48 点赞:0

【代码岛3.0奇妙城市惊现黑客!】有人控制他们说话,1秒内说话超过21句! 中回复

坟贴,挖坟

2022-06-17T15:41:47 点赞:0

【岛3更新!】增加碰撞过滤器API!重要问题修复 中回复

考古

2022-06-17T15:44:40 点赞:0

岛3你陪我天空 中回复

岛三这个新的天空真的很一言难尽啊,比原来的卡通了很多但是有的地图的玩法就在于昼夜更替,玩家要很认真的去分辨夜晚imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"

2022-06-17T15:48:49 点赞:0

这评论,不要也罢(悲) 中回复

怎么哪里都有Homo,这里都有(喜)

2022-08-19T17:14:51 点赞:0

编程猫.. 中回复

那都是过去了,现在BOX3编程猫社区彻彻底底被XXS攻破了imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E6%90%93%E5%A4%B4.gif"alt="emotion_编程猫_搓头"

2022-10-12T22:21:40 点赞:1

消息栏99+的消息怎么去掉? 中回复

老BUG了

2022-10-12T22:23:38 点赞:0

【高能】哈哈农场的一些不为人知的故事!! 中回复

我也经历过那时候,在春天砍好木材,在冬天的2服便可以双倍价钱,而且数据还互通(可惜现在没了)

2023-01-16T17:01:38 点赞:0

来谈谈你认为春晚最尬的节目(勿删) 中回复

照相馆,莫名其妙的音乐一伤感就伤感了,还有相声。相声不用我说了,各位自行讨论

2023-01-25T21:32:42 点赞:2

【BOX2.0】代码岛2.0正式上线啦! 中回复

今夕是何年?2018年emotion_编程猫_搓头

2023-01-25T21:38:43 点赞:0

【岛3公告】别慌!关于《一起跑酷》《逃离巨人屋》等地图暂时下架的公告 中回复

巨人屋(暂时下架)

6

2023-01-25T22:28:10 点赞:1

【代码岛3.0内测第6弹!】探秘故宫!庆祝祖国70周年 中回复

考古

不过现在链接又进的去了

2023-01-25T22:30:43 点赞:0

【BOX2.0】代码岛2.0正式上线啦! 中回复

考古,

2023-01-28T14:07:36 点赞:0

咋还不审核成功!? 中回复

6,吉的审核速度一流好吧

2023-01-29T09:51:05 点赞:0

猜猜这是什么衣服 中回复

1.20新快照的更新

2023-01-29T09:53:25 点赞:0

吉吉四天没审核模型了 中回复

我更新个地图修复个BUG,他一直不审核。前天的地图还是“最新”不审核干脆别审了,直接让我们发布吧

2023-01-29T19:19:06 点赞:0

【BOX】az岛三准备更新的玩意()? 中回复

众所周知,那两个是个摆设,当时内测时就有了,就当看个笑话,公测后正式版上线吉吉就给两项开发中换了个字体emotion_编程猫_搓头

2023-01-29T20:45:35 点赞:1

【最新】社区遇到问题&工具使用问题与建议~欢迎反馈给官方 中回复

麻烦智子打开昵称修改入口就好

2023-01-29T21:10:29 点赞:0

awawawawa 中回复

网易语:

你不要再*****了,听君一席话,如*****

2023-01-29T22:54:27 点赞:0

吉吉为啥审核变慢了 中回复

他摆烂不是很早就有了吗,我都等了4天了emotion_编程猫_搓头

 

2023-01-30T10:27:05 点赞:1

[求助]神奇代码岛之存档代码 中回复

c喵t SpawnPoint = new Box3Vector3(29,8,60);
c喵t points = world.querySelectorAll('.存档点');
c喵t INIT = {
    hp: 100,
    maxHp: 100,
    enableDamage: true,
    x: SpawnPoint.x,
    y: SpawnPoint.y,
    z: SpawnPoint.z,
    qx: SpawnPoint.x,
    qy: SpawnPoint.y,
    qz: SpawnPoint.z,
    jumpcounttime: 2,
    level: 0,
}
db.sql`CREATE TABLE IF NOT EXISTS leaderboard(
    id CHAR(16) NOT NULL,
    record TEXT NOT NULL
)`
world.addCollisionFilter('player','player');
world.onPlayerJoin(async({entity})=>{
    function init(){
        Object.assign(entity,INIT);
    }
    if(entity.player.userKey){
        c喵t rows = await db.sql`SELECT * FROM leaderboard WHERE id = ${entity.player.userKey}`;
        if(rows && !rows.length){
            init();
            db.sql`INSERT INTO leaderboard VALUES(${entity.player.userKey},${getRecord.call(entity)})`;
        }else{
            Object.assign(entity,JSON.parse(rows[0].record));
        }
    }else init();
    entity.position.set(entity.x,entity.y,entity.z);
    entity.player.spawnPoint.set(entity.qx,entity.qy,entity.qz);
    Object.assign(entity.player,{
        scale: 0.7,
        jumpPower: 0.5,
        doubleJumpPower: 0.4,
        runSpeed: 0.3,
    })
    entity.player.onPress(async({button})=>{
        if(button === Box3ButtonType.ACTION0){
            entity.hurt(100);
        }else if(button === Box3ButtonType.ACTION1){
            c喵t result = await entity.player.dialog({
                type: Box3DialogType.SELECT,
                title: '控制面板',
                content: '加油',
                opti喵: ['重新开始','切换视角',`可跳关次数:${entity.jumpcounttime}`,'取消'],
            })
            if(!result)return;
            switch(result.index){
                case 0:
                    Object.assign(entity,INIT);
                    entity.position.set(entity.x,entity.y,entity.z);
                    entity.player.spawnPoint.set(entity.qx,entity.qy,entity.qz);
                    update.call(entity);
                    break;
                case 1:
                    if(entity.player.cameraMode === 'follow'){
                        entity.player.cameraMode = 'fps';
                    }else{
                        entity.player.cameraMode = 'follow';
                    }
                    break;
                case 2:
                    entity.player.cancelDialogs();
                    if(entity.jumpcounttime){
                        let found = false;
                        points.forEach((e)=>{
                            if(found)return;
                            if(e.level === entity.level + 1){
                                found = true;
                                entity.position = e.position.add({x: 0,y: 3,z: 0});
                                entity.player.spawnPoint.copy(entity.position);
                                entity.level = e.level;
                                entity.jumpcounttime--;
                            }
                        })
                        if(!found){
                            entity.player.dialog({
                                type: Box3DialogType.TEXT,
                                title: '跳关失败',
                                content: '没有可跳过的关卡',
                            })
                        }
                    }else{
                        entity.player.dialog({
                            type: Box3DialogType.TEXT,
                            title: '跳关失败',
                            content: '你已没有了跳关次数',
                        })
                    }
                    break;
                default:
                    return;
            }
        }
    })
})
world.onDie(({entity})=>{
    if(entity.isPlayer){
        entity.player.forceRespawn();
    }
})
points.forEach((e)=>{
    e.level = Number(e.tags()[0]);
    e.onEntityContact(({other})=>{
        c喵t spawnPoint = e.position.add({x: 0,y: 2.5,z: 0});
        if(spawnPoint.equals(other.player.spawnPoint))return;
        other.player.spawnPoint = spawnPoint;
        other.player.directMessage('存档成功!');
        other.level = e.level;
        update.call(other);
    })
})
function getRecord(){
    c喵t result = {};
    Object.keys(INIT).forEach((e)=>{
        result[e] = this[e];
    })  
    return JSON.stringify(result);
}
function update(){
    if(!this.player.userKey)return;
    this.x = this.position.x;
    this.y = this.position.y;
    this.z = this.position.z;
    this.qx = this.player.spawnPoint.x;
    this.qy = this.player.spawnPoint.y;
    this.qz = this.player.spawnPoint.z;
    db.sql`UPDATE leaderboard SET record = ${getRecord.call(this)} WHERE id = ${this.player.userKey}`;
}
world.onPlayerLeave(({entity})=>{
    update.call(entity);
})

2023-01-30T14:58:57 点赞:0

【捕 挂】现在开 挂的人“防范意识”这么低的吗() 中回复

6,突然有点心动(bushi开个玩笑,我们要做守法的岛民emotion_编程猫_冷漠

2023-01-30T18:41:13 点赞:1

【纯属娱乐,请勿当真】高冷吉吉喵 中回复

有没有一种可能 他就是上了B站,也不会看信息emotion_编程猫_冷漠

2023-01-30T19:06:19 点赞:0