Lv.1
Error: Cannot get property "个性签名" of undefined.
签名:开心中
在 【神奇代码岛】用安全的方式在聊天区执行js 中回复
要抄直接抄吧()
world.onChat(event => {
if (event.message.indexOf("$") == 0) {
var code_exec = new Function(event.message.slice(1));
try{
world.say('~>' + code_exec());
}catch(err){
world.say(err);
}
}
})
不知道为什么我的排版发出去全没了
2022-08-13T19:08:03 点赞:2
在 代码师的定义标准[我的,觉得有问题下方留言] 中回复
不过我觉得会SQL不能说是中上,SQL就像JS也是个语言,得单独再来(比如:会sql基础语法是入门
2022-12-25T14:09:21 点赞:1
在 代码师的定义标准[我的,觉得有问题下方留言] 中回复
我说下我主观的吧(害怕
------------------------------------------------------------------------
入门代码师:
会js的基本语句,包括class、for在内。
初级代码师:
会抄api文档并做有用的修改,会基本的函数,多维数组,熟练数组、字符串、对象的使用方法等。
普通代码师:
能自己看api文档并自己找出错误。
中级代码师:
自己在做图时有清晰的逻辑,又能帮助别人找出问题。
高级代码师
他人看自己代码的时候基本能看懂游戏运行逻辑(对方为普通代码师),善用api,代码不写乱不写复杂不故意炫技。
大佬
能把萌新教到普通代码师级别。
2022-12-25T14:20:43 点赞:1
在 我不会玩电脑┭┮﹏┭┮ 中回复
Dear Friend,
Learning that you are troubled by the method to use the computer and post message,I am writing to offer you my sincere help.
To begin with,a personal computer is usually composed with several user input components,such as a keyboard,a screen,a mouse,and so on.I will give you some practical suggesti喵 on controlling the computer system and send posts.
In the following parts,I will give examples of the usage of the laptop.
First,you can find there is a key with a pattern of electron.Click it and wait for the system starting.Then,move your mouse to a pattern with a letter "e" named Internet Explorer and click it with your left key of mouse.After that you will discover that you have already opened the internet explorer that can help you surf the Internet.
To send posts on the Codemao community,you should do some extra works.You should move your cursor to the upside bar of the explorer and input a net address,"https://shequ.codemao.cn/community/".You need to log in your Codemao account to send a post.Then you can click the button named "Send Posts" which is located in the upper right corner of the website page.You will see a window ejects,and input your text in the bar.After that,click the "Send Post" button,and you will see your post on the community.
That's all.Hopefully my suggesti喵 can help you.
30.12.22 Seikuu Hyoukai.
2022-12-30T10:54:38 点赞:0
在 突发!神奇代码岛官方回应,或将优化移动设备体验!用移动设备的必看 中回复
我们这个压缩毛巾体积小方便携带,拆开一包,色香味俱全,不怕被泥搞脏,一打开,方圆二百里都亮了,速度快,还无污染,听不到声音,续航也高,内含作家亲笔签名,夏天穿不冷不热刚刚好,配上42号混凝土再也合适不过了
2023-01-03T14:33:02 点赞:1
在 【神奇代码岛】称号代码教程 中回复
这是改进
// 金币数量 : 称号
var gold_rank_map = {
0: "[初入茅庐]",
500: "[有点财富]",
1000: "[丰衣足食]",
2000: "[琼浆玉露]",
5000: "[哦]",
};
// 创世神
var creators = ["ray_crazy", "xxx"];
// 获取称号
function getRank(name, gold) {
// 如果是创世神就直接返回
if (creators.includes(name)) return "[创世神](制作团队)";
// 获取称号
var rank = "";
// 遍历gold_rank_map
for (const needGold in gold_rank_map) {
// 记住就行,防止遍历到js自带的数据
if (Object.hasOwnProperty.call(gold_rank_map, needGold)) {
// 金币足够就设置rank为遍历到的值
if (gold >= needGold) rank = gold_rank_map[needGold];
// 不够的话就返回,及时止损
if (gold < needGold) return rank;
}
}
// (啊?)
return "";
}
setInterval(
() => {
world.querySelectorAll("player").forEach(({ entity }) => {
entity.interactHint =
getRank(entity.player.name, entity.gold) + entity.player.name;
});
},
// 1秒一次就行
1000
);
2023-05-23T19:30:15 点赞:1