{"id":15014574,"url":"https://github.com/geezmolycos/lizard-pet","last_synced_at":"2025-04-12T08:13:36.217Z","repository":{"id":228205698,"uuid":"773399726","full_name":"geezmolycos/lizard-pet","owner":"geezmolycos","description":"love2d 编写的桌宠，目前实现了一只飞龙，使用程序动态生成的动画，自然流畅（至少希望是这样）。","archived":false,"fork":false,"pushed_at":"2024-05-16T15:33:03.000Z","size":2376,"stargazers_count":59,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T08:13:30.366Z","etag":null,"topics":["desktop-pet","inverse-kinematics","love2d","procedural-animation"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geezmolycos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-17T15:05:06.000Z","updated_at":"2025-01-07T03:44:52.000Z","dependencies_parsed_at":"2024-03-23T15:26:31.600Z","dependency_job_id":"9de6c185-7852-4b3b-a499-c319fad4145d","html_url":"https://github.com/geezmolycos/lizard-pet","commit_stats":{"total_commits":47,"total_committers":1,"mean_commits":47.0,"dds":0.0,"last_synced_commit":"7ce347a50a1fbbc0af45830f1bd694f41dcd6b88"},"previous_names":["geezmolycos/lizard-pet"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geezmolycos%2Flizard-pet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geezmolycos%2Flizard-pet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geezmolycos%2Flizard-pet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geezmolycos%2Flizard-pet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geezmolycos","download_url":"https://codeload.github.com/geezmolycos/lizard-pet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537144,"owners_count":21120711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop-pet","inverse-kinematics","love2d","procedural-animation"],"created_at":"2024-09-24T19:45:47.579Z","updated_at":"2025-04-12T08:13:36.192Z","avatar_url":"https://github.com/geezmolycos.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 蜥蜴桌宠\n\n[更新日志](./CHANGELOG.md) | [项目文档](https://geezmolycos.github.io/lizard-pet/)\n\n![飞龙的样子](./images/dragon-main.png)\n\n使用 [LÖVE](https://love2d.org/) 游戏引擎编写的桌宠，使用了动态生成的动画，用 FABRIK 反向动力学算法模拟龙的骨架运动，并根据骨架绘制出样貌。比起常见的用贴图的桌宠更灵动，比 live2d 实现的人物动物角色更灵活，但是没有那么好看。\n\n项目的契机：\u003chttps://scratch.mit.edu/projects/687027232\u003e\n参考：\n- \u003chttps://twitter.com/TheRujiK\u003e\n- \u003chttps://github.com/lincerely/gecko\u003e\n\n[展示视频](https://www.bilibili.com/video/BV1Ei421Z75n)\n\n## 运行方式\n\nWindows x86-64 位可以下载 Release 中构建好的版本。\n\n其他系统运行请先下载对应系统的 LÖVE，再下载 Release 中扩展名为 .love 的文件，使用 LÖVE 打开该文件即可。其他系统可能不支持透明窗口等功能，如果有能力也可以帮忙移植。\n\n也可以直接 clone 本项目，或下载 zip 压缩档，使用 LÖVE 运行。\n\n## 操作\n\n目前，飞龙只会跟随鼠标运动，随后会添加更多行为方式。\n\n按 \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003eAlt\u003c/kbd\u003e + 鼠标右键打开菜单，菜单中各个选项和功能分别为：\n\n![菜单](./images/menu.png)\n\n- **Show Logs**: 显示运行日志\n- **OS config**: 系统相关配置\n  - **Top/Bottom**: 切换窗口置顶/置底/自由\n  - **Transparent/Click through/Hide taskbar**: 分别为使窗口透明、鼠标点击穿透、隐藏任务栏图标\n  - **Display**: 切换显示器\n  - **Window position**: 设置窗口的位置和大小，按 `Change position` 按钮应用设置。如果需要横跨多显示器，可以在此调整，先选择基准的显示器，再按你的显示器排列方式，调整窗口大小\n- **Quit**: 退出程序\n\n启用鼠标点击穿透时，不能向输入框中输入，需要先把点击穿透和隐藏任务栏图标关闭，才能输入。点击穿透关闭后，可以直接按右键打开菜单。\n\n如果要排查错误或向作者报告错误，可以在 `AppData/Roaming/LOVE` 目录中找到日志文件。日志也会输出到控制台，如果要打开控制台显示，可以解包游戏以后在 `conf.lua` 中修改 `t.console = false` 为 `t.console = true`。\n\n## 构建\n\n构建脚本为 build.sh，使用 bash 运行 在 Windows 下，推荐使用 MSYS2 bash 环境，或者 Git Bash，或者 WSL，反正构建脚本也很简单。目前只能生成 Windows x86-64 版本。\n\n构建会在 build 目录下生成 Windows 系统的可执行文件和依赖。\n\n构建需要设置环境变量：\n\nVERSION: 版本\nLOVE_DIR: LÖVE 主程序所在的目录\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeezmolycos%2Flizard-pet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeezmolycos%2Flizard-pet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeezmolycos%2Flizard-pet/lists"}