
Lv.1
原神,启动!
在 吉吉你可真逗。。。快告诉我是咋回事?! 中回复
async function create(){
await db.sql`CREATE TABLE IF NOT EXISTS "this is a table"(
"用户名" TEXT NOT NULL,
"职业" TEXT NOT NULL,
"力量" INTEGER NOT NULL,
"敏捷" INTEGER NOT NULL,
"智力" INTEGER NOT NULL,
"魅力" INTEGER NOT NULL
)`
db.sql`INSERT INTO "this is a table" VALUES('吉吉喵','吉祥物',1,1,1,999)`;
db.sql`INSERT INTO "this is a table" VALUES('吉吉喵朴实无华加强版','守护神',999,50,50,-1)`;
}
create()
2021-08-13T11:08:38 点赞:0
在 这题怎样做 中回复
function getCount(){
let sum = 5;
for(let i=6;i<20;i++){
sum *= i;
}
return sum;
}
console.log(getCount())2021-08-17T15:52:58 点赞:2
在 关于实体那些事。。。 中回复
//首先给模型加上标签:bcm
c喵t Quat = Box3Quaternion(0,0,0,1);
world.querySelectorAll('.bcm').forEach((e)=>{
e.enableInteract = true;
e.interactRadius = 3;
e.interactHint = '编程猫';
e.onInteract(({entity})=>{
c喵t direction = e.position.sub(entity.position);
e.meshOrientation = Quat.rotateY(Math.atan2(direction.z,direction.x));
})
})2021-08-20T19:48:28 点赞:0