猫史档案馆


Arafel晓星

Arafel晓星

Lv.1

想了解我就去图书馆搜索《晓星の日常》

获赞:304收藏:37浏览:1902作品收藏:8

签名:寻找师傅ing~ --------------------------- 正在肝一个自己工作室社区的作品,各位麻烦点个赞~ 2025目标(()(): 点赞:692/1000 浏览:18009/20000 收藏:285/400 再创作:214/300 新作喵喵看:0/1 点猫精选:0/0() ---------------------------

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

谁帮忙写一下橙色粒子拖尾效果 中回复

我也会粒子特效

2024-01-15T09:45:21 点赞:0

招代码师啦 中回复

for (const e of world.querySelectorAll('*')) {//遍历所有实体
    if (e.id.startsWith('存档点')) {//如果当前实体名左边部分刚好是"存档点", 比如 存档点-1 存档点-2...
        e.collides = true //开启碰撞
        e.fixed = true //固定实体不被推移
        e.onEntityContact(({ other }) => { //每当存档点碰到另一个实体
            if (other.isPlayer) { //另一个实体是玩家
                if (e.position !== other.player.spawnPoint) { // 检测当前存档点是否玩家重生点, 避免反复在同一个存档点做多余的保存
                    other.player.directMessage('到达新的重生点,加油喔!!!') // 给玩家发消息
                    other.player.spawnPoint = e.position // 喵家重生点坐标设置成存档点的坐标
                }
            }
        })
    }
}
world.onPlayerJoin(({ entity }) => {
    entity.onFluidEnter(() => {//当玩家掉到水里
        entity.player.directMessage("哇!掉进水里啦!")
        entity.position.copy(entity.player.spawnPoint)
        entity.position.y += 4
    })
})

console.clear()
for (const e of world.querySelectorAll('*')) {
    if (e.id.startsWith('存档点')) {
        e.collides = true
        e.fixed = true
        e.onEntityContact(({ other }) => {
            if (other.isPlayer) {
                if (e.position !== other.player.spawnPoint) {
                    other.player.directMessage('到达新的存档点!加油,离终点更近一步啦!(>^ω^<)')//播报存档成功,内容可以调整
                    other.player.spawnPoint = e.position
                }
            }
        })
    }
}
world.onPlayerJoin(({ entity }) => {
    entity.onFluidEnter(() => {
        if (entity.f = 1) {
            entity.player.directMessage('加油!再接再厉!')//播报存档成功,内容可以调整
            entity.position.copy(entity.player.spawnPoint)
            entity.position.y += 3.3//自己调整(不能小于1,建议不超过5)
        }
    })
})

2024-01-15T13:28:03 点赞:0

大家期末考试加油啊! 中回复

沈阳人1月4号就放假了(自豪)

2024-01-20T15:54:47 点赞:0

在线招美术师啦! 中回复

我可以试试不?我晚上9点上线

2024-01-24T16:07:04 点赞:0

【灌水】词语接龙 中回复

149. 单据

2024-12-31T20:35:38 点赞:0

打出楼下首字母,然后点第一个词 中回复

原则一样

2025-01-03T16:50:32 点赞:1

Chat吉PT——懂神岛也更懂创作者的「AI睿智吉」! 中回复

emmm…………

感觉你抄袭了Open AI好吧

而且你知道吗,各位,我们也是可以用ChatGPT的。在github上,叫github copilot,是一个ChatGPT4.0

center_image

2025-01-25T12:03:05 点赞:0

一个小游戏:请打出楼下名字的第一个字和最后一个字 中回复

乔莉

2025-02-13T14:16:42 点赞:1

【图书馆】《超时空对决》一书正式复活!麻烦各位投个人设! 中回复

涵涵,要唠在这儿唠()

2026-01-05T18:26:28 点赞:0