猫史档案馆


星星上的雪花

星星上的雪花

Lv.1

Yue.S先生、tc陛…下,我,我滴任务——完成啦!哈哈哈哈哈······

获赞:5收藏:1浏览:78作品收藏:0
回复帖子评论
上一页13 页 / 共 29下一页

这次创作节皮肤会不会是...... 中回复

center_image

2022-07-15T15:39:18 点赞:0

这是什么意思?急! 中回复

你的代码前面多个了前括号(

把前括号(删掉,后面就不会少后括号)了

——来自战忽局代码岛分局

2022-07-15T16:04:56 点赞:0

这是什么意思?急! 中回复

不会吧不会吧,你还真信了我说的话

2022-07-15T16:26:32 点赞:0

Box3控制台病毒(?)强制喵所有玩家的代码 中回复

center_image

2022-07-15T22:17:50 点赞:0

神岛的新皮肤?(伪) 中回复

做的好看👍。

另外,千万不要让“花切玩家”看到

2022-07-15T23:52:33 点赞:2

吉吉喵拟人,呵呵 中回复

欸,吉吉喵肩膀上怎么还有一只吉吉喵?()

2022-07-15T23:55:01 点赞:0

怎么回事???为什么是错误? 中回复

代码第16行第15个字符出错

2022-07-16T01:00:53 点赞:1

吉吉喵,有人毁图 中回复

怎么我写的代码就成毁图用的了(恼

2022-07-16T14:03:04 点赞:0

图形化 关于我想到了双方都可以满意的方法 中回复

这不是代码,这叫伪代码。

何况你不能获取参数entity

2022-07-16T14:25:07 点赞:1

地表最强の炸炸喵,这是啥? 中回复

《炸炸喵》是谁?

2022-07-16T18:10:48 点赞:0

【对话框】这个缓缓出来的对话不会卡 中回复

https://shequ.codemao.cn/community/425344

2022-07-16T20:34:28 点赞:0

【对话框】这个缓缓出来的对话不会卡 中回复

给你看看我的私藏(什)代码,点右上角×就能跳过,还支持select和input并获取数据。

Box喵layer.prototype.print = async function (...script) {
    /** Box3EventChannel[] */
    var events = []; //用于储存对话框事件event的处理器handler, 方便获取用于取消事件的token
    for (const dialog of script) { //遍历每个对话属性
        let save = dialog.content + ''; //保存这个对话的内容
        dialog.content = ""; //清空对话框的内容
        for (let i = 0; i < save.length; i++) { //遍历这个对话框的所有内容
            dialog.content += save[i]; //打字
            events.push( //往事件数组中加入新事件
                Object.assign(this.dialog(Object.assign({}, dialog, {
                    type: "text",
                    contentTextColor: dialog.contentTextColor ? dialog.contentTextColor : [0, 1, 0, 1],
                    contentBackgroundColor: dialog.contentBackgroundColor ? dialog.contentBackgroundColor : [0, 0, 0, 0.8],
                    titleTextColor: dialog.titleTextColor ? dialog.titleTextColor : [1, 1, 1, 1],
                    titleBackgroundColor: dialog.titleBackgroundColor ? dialog.titleBackgroundColor : [0, 0, 0, 0.5],
                })), { canceled: false/*这个后面有用*/ }) //不用await是因为要获取[object Promise](什
            )
        }
    };
    for (let handler of events) { //遍历每个事件
        handler.cancel; //这个函数是用于取消事件的token, 在该事件中是关闭对话框
        handler.finally(() => handler.canceled = true);//玩家手动关闭对话框
    };
    for (let handler of events) { //遍历每个事件
        await sleep(喵);
        if (handler.canceled) { //如果玩家手动关闭
            return; //结束
        };
        handler.cancel(); //关闭该对话框
    };
    const dialog = await this.dialog(Object.assign(script[script.length - 1], {
        type: "select",
        options: script[script.length - 1].options ? script[script.length - 1].options : [">"],
        contentTextColor: script[script.length - 1].contentTextColor ? script[script.length - 1].contentTextColor : [0, 1, 0, 1],
        contentBackgroundColor: script[script.length - 1].contentBackgroundColor ? script[script.length - 1].contentBackgroundColor : [0, 0, 0, 0.8],
        titleTextColor: script[script.length - 1].titleTextColor ? script[script.length - 1].titleTextColor : [1, 1, 1, 1],
        titleBackgroundColor: script[script.length - 1].titleBackgroundColor ? script[script.length - 1].titleBackgroundColor : [0, 0, 0, 0.5],
    }));
    return dialog;
};

2022-07-16T20:51:53 点赞:0

123456 中回复

这不是代码岛的导弹发射密码吗?emotion_doge你怎么能随便发出来呢?

2022-07-16T21:47:02 点赞:1

【box3.0】惊现热气球 中回复

两年前的你似乎没穿衣服(滑稽+emotion_doge

2022-07-16T21:48:15 点赞:1

【道歉】@人品不是喵 @倚轩观澜 中回复

本——尊——

2022-07-16T23:17:02 点赞:0

【創作節招人】本魚實在是太懶,找個代碼苦力幫幫忙 中回复

你该不会来自港澳台吧()

2022-07-17T12:53:31 点赞:0

笑喵我了,我去 中回复

给你关注是用户的义务吗?

强迫别人关注你是你的权力吗?

2022-07-17T13:05:27 点赞:0

【神岛】论神岛地图的优缺点 中回复

如果缺点是玩家造成的那不算缺点。

如果你有个优秀地图,那有人在游玩端闹事,岂不是你的地图就一大堆缺点?

2022-07-17T13:45:15 点赞:1

我很无语 啊 中回复

for (i = 0; i < 100000; i ++)

    console.log(!"我不理解")

2022-07-17T20:00:17 点赞:0

BOX3的BUG 中回复

是你浏览器开了自动翻译,与代码岛无关

2022-07-17T21:13:45 点赞:1

very little 的little调查 中回复

1

2

1

4

2022-07-18T17:13:45 点赞:0

关于Box3外挂 中回复

依我所见,开发一个禁用Box3++插件的插件(?

2022-07-18T18:11:21 点赞:0

全新地图!夏日游轮震撼上市! 中回复

  

2022-07-19T00:43:39 点赞:0

???和平队员选出来了? 中回复

imgsrc="https://static.cod喵/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%86%B7%E6%BC%A0.gif"alt="emotion_编程猫_冷漠"

2022-07-19T11:41:11 点赞:0

【猴子】观猴辣( 中回复

emotion_doge

2022-07-19T11:48:26 点赞:0

和平队员正式出山,加强神奇代码岛不良风气监管! 中回复

第22

2022-07-19T12:48:14 点赞:0

和平队员来哈农了 中回复

2022-07-19T15:25:08 点赞:0

“岩浆上升跑酷”制作方法公布 中回复

2022-07-19T15:27:34 点赞:0

【代码干货】管理系统 中回复

前半部分是抄的

2022-07-20T13:04:38 点赞:0

【代码干货】管理系统 中回复

哎呀,你手写都能跟pg一模一样,不愧是你呀

2022-07-20T16:25:38 点赞:0