猫史档案馆


浮生awa

浮生awa

Lv.1

()

获赞:20收藏:4浏览:151作品收藏:5

签名:写代码()()() 玩起床()()() 什(

回复帖子评论
上一页8 页 / 共 21下一页

【box3】模型生成器教程!(@建模师必看!) 中回复

为什么我的这个模型生成器网页没有提交文件的那一行蓝色框()

2022-05-02T17:17:31 点赞:0

【神奇代码岛】当你用另一种眼光去看待神岛 中回复

管这个干嘛()正好拿他们刷流量,别跟他们一样就完了

2022-05-03T18:20:51 点赞:1

【车】车为什么不能平移? 中回复

挖挖挖

2022-05-04T17:53:31 点赞:0

【代码岛3.0超级干货】区块整体移动,大陆漂移和大陆下沉 中回复

顶顶顶·

2022-05-04T18:10:53 点赞:0

小说《浮生事》2022.5.3发布第一章 中回复

()()()

2022-05-08T09:06:02 点赞:0

【教程贴子】跑酷必备代码 中回复

加个计时器emotion_doge(doge)

2022-05-08T14:36:51 点赞:0

【神岛创作节】叠buff时间到! 中回复

前排。。

2022-05-10T15:17:24 点赞:0

【神岛创作节】地图提名名单及模型获奖者名单出炉! 中回复

前排

2022-05-12T14:29:07 点赞:0

无奖脑筋急转弯:你知道这串乱码的真实含义么? 中回复

这是乱码吧,改成utf-8试试emotion_doge

2022-05-13T08:45:12 点赞:1

【box3】神岛出现新bug? 中回复

看Q群啊

2022-05-13T16:30:57 点赞:0

【box3】神岛出现新bug? 中回复

笑死,你图变成这样,我图直接没了(60秒创作端)center_image

2022-05-13T16:34:05 点赞:0

夺笋!就无语 中回复

挖挖挖

2022-05-13T22:29:40 点赞:0

贝奇以后の违背祖宗の决定 中回复

前排(?

2022-05-20T17:53:35 点赞:0

求助,这个正则表达式是什么含义,在线等,急 中回复

挖?(

2022-05-20T22:20:31 点赞:0

【云猫小课堂】第二节:变量数组,偶可兼得;用好变量,效果更好!!! 中回复

前排

2022-05-21T13:57:46 点赞:0

【氵】一点反思。 中回复

沙发

2022-05-21T14:15:09 点赞:1

【云猫小课堂】第二节:变量数组,偶可兼得;用好变量,效果更好!!! 中回复

下期建议讲一讲正则表达式(bushi

2022-05-21T20:50:54 点赞:2

【BOX3求助】为什么控制台弹出了红色字体,但没有报错 中回复

确实没报错

2022-05-22T16:10:17 点赞:0

【神岛】不同人看代码会怎么样 中回复

就不明白了,这些帖都很正常的,为什么这么多人喷啊……

2022-05-29T10:22:12 点赞:3

【教程】背包教程(自带SQL) 中回复

constInitCap = 10; db.sql`CREATETABLEIFNOTEXISTSbag( idCHAR(16)NOTNULL, recordTEXTNOTNULL )` world.onPlayerJoin(async ({ entity }) => {
    functioninit(){
    entity.bag = newBag(en
tity, {}, InitCap);
    } if (entity.player.userKey) {
        constrows = awaitdb.sql`SELECT*FROMbagWHEREid=${entity.player.userKey}`; if (rows && !rows.length) {
            init(); db.sql`IN
ERTINTObagVALUES(${entity.player.userKey},${getRecord.call(entity)})`;
        } else {
            constnow = JSON.parse(rows[0].record); now entity.bag = newBag(entity, now.thing, now.capacity);
        }
    } elseinit();
}) world.onPlayerLeave(({ entity }) => { entity.bag.save(); }) classBag{
    constructor(owner = newBox3Entity, thing = {}, capacity = 0){
    this.owner = owner; this.thin
        g = thing; this.capacity = capacity; this.now = 0; for (constiofObject.keys(this.thing)) {
        this.now += this.thing[i]; this.saveObject = {
            thing: this.thing, capacity: this.cap
 acity
        }
        } save(){
            if (!this.owner.player.userKey) return; db.sql`UPDATEbagSETrecord=${JSON.stringify(this.saveObject)}WHEREid=${this.owner.player.userKey}`;
        } add(item = '', num = 1){
            if (this.now + num > this.capacity) returnundefined; undefined if (!!this.thing[item]) {
            this.thing[item] += num; this.saveObject.thing[item] += num
                ;
            } else { this.thing[item] = num; this.saveObject.thing[item] = num; } this.now += num; returnthis.thing[item];
        } del(item = '', num = 1){
            if (!this.thing[item]) returnNaN;
            if (this.thing[item] < num) returnundef
            ined; undefuned this.thing[item] -= num; this.saveObject.thing[item] -= num; this.now -= num; returnthis.thing[item];
        } setCap(cap = 0){
            if (cap < this.now) returnundefined;
            this.capacity = cap; returnthis.capacity;
        } asyncshow(){
            varop = []; for (constiofObject.keys(this.thing)) { op.push(`${i}×${this.thing[i]}`); }
            constp = awaitthis.owner.player.dialog({ type: Box3DialogType.SELECT, title: '背包', content: '以下是你的背包', options: op, }); returnthis.thing[Object.keys(t
  his.thing)[op.indexOf(p)]];
        }
    }

2022-06-02T20:21:01 点赞:0

【教程】椭球速建 中回复

萌新大佬nb,反正比我强多了

2022-06-03T20:23:01 点赞:0

如何玩代码岛2的游戏 中回复

点个赞

2022-06-04T06:39:03 点赞:0

【岛3大新闻】报!搬砖喵和美术喵打起来了! 中回复

挖挖挖

2022-06-04T07:27:01 点赞:0

如图,请问这是什么编程语言? 中回复

离谱,c++和js、html的结合

2022-06-05T20:17:01 点赞:1

BOX3神器代码岛首页关闭后给萌新的贴心网址 中回复

az,https://box3.cod喵这个链接还弄用

2022-06-10T19:55:43 点赞:0

岛三?创作平台×!摸鱼平台√! 中回复

笑死,能不能仔细想想再发贴,拿火山哥哥来说,人家就和吉吉喵合个作,做个地图走人,你觉得他们会和我们一样一直在代码岛里?

2022-06-10T19:58:57 点赞:4

神岛box.fun的奇怪的东西() 中回复

tiger含泪怒炸神岛总部emotion_doge

2022-06-12T14:30:57 点赞:1

【神岛】把这个乱码放到地图,会怎样? 中回复

真的实用!!!!!!我把这些代码放代码里,一运行,就突然发现地图非常流畅,一点都不卡!再也没有人太多导致很卡的烦恼了!

2022-06-18T12:33:24 点赞:1

开放垃圾桶(什) 中回复

我死学不会蹲起搭,我就是个fw@¥#%¥%……#¥%……*&*%&…………&……&%%……&@#

2022-06-24T20:34:58 点赞:0

【代码岛3.0】超大地图测试!!夜游黄鹤楼,你来吗? 中回复

挖挖

2022-06-26T17:19:30 点赞:1