Giter VIP home page Giter VIP logo

lizard-pet's Introduction

蜥蜴桌宠

更新日志

飞龙的样子

使用 LÖVE 游戏引擎编写的桌宠,使用了动态生成的动画,用 FABRIK 反向动力学算法模拟龙的骨架运动,并根据骨架绘制出样貌。比起常见的用贴图的桌宠更灵动,比 live2d 实现的人物动物角色更灵活,但是没有那么好看。

项目的契机:https://scratch.mit.edu/projects/687027232 参考:

展示视频

运行方式

Windows x86-64 位可以下载 Release 中构建好的版本。

其他系统运行请先下载对应系统的 LÖVE,再下载 Release 中扩展名为 .love 的文件,使用 LÖVE 打开该文件即可。其他系统可能不支持透明窗口等功能,如果有能力也可以帮忙移植。

也可以直接 clone 本项目,或下载 zip 压缩档,使用 LÖVE 运行。

操作

目前,飞龙只会跟随鼠标运动,随后会添加更多行为方式。

Ctrl + Alt + 鼠标右键打开菜单,菜单中各个选项和功能分别为:

菜单

  • Show Logs: 显示运行日志
  • OS config: 系统相关配置
    • Top/Bottom: 切换窗口置顶/置底/自由
    • Transparent/Click through/Hide taskbar: 分别为使窗口透明、鼠标点击穿透、隐藏任务栏图标
    • Display: 切换显示器
    • Window position: 设置窗口的位置和大小,按 Change position 按钮应用设置。如果需要横跨多显示器,可以在此调整,先选择基准的显示器,再按你的显示器排列方式,调整窗口大小
  • Quit: 退出程序

启用鼠标点击穿透时,不能向输入框中输入,需要先把点击穿透和隐藏任务栏图标关闭,才能输入。点击穿透关闭后,可以直接按右键打开菜单。

如果要排查错误或向作者报告错误,可以在 AppData/Roaming/LOVE 目录中找到日志文件。日志也会输出到控制台,如果要打开控制台显示,可以解包游戏以后在 conf.lua 中修改 t.console = falset.console = true

构建

构建脚本为 build.sh,使用 bash 运行 在 Windows 下,推荐使用 MSYS2 bash 环境,或者 Git Bash,或者 WSL,反正构建脚本也很简单。目前只能生成 Windows x86-64 版本。

构建会在 build 目录下生成 Windows 系统的可执行文件和依赖。

构建需要设置环境变量:

VERSION: 版本 LOVE_DIR: LÖVE 主程序所在的目录

lizard-pet's People

Contributors

geezmolycos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

lizard-pet's Issues

腿部消失BUG反馈&强烈建议可以移动/隐藏桌面按钮,还有其他的次要建议。

直接上图:
玩了一会儿不知道腿怎么没了,虽然重启一下就OK,但还是反馈一下吧。
NVIDIA_Share_oLMYcoPpWD

建议:
NVIDIA_Share_mGZpN8cJ4T - 副本
就是桌面右上角这个框起来的按钮,希望可以把隐藏到任务栏托盘,或者移动位置也可以。

更多建议:
希望后期可以修改飞龙的大小还有颜色,如果有黑色的和我的壁纸还挺搭。
另外可选择在不同的windows虚拟桌面上是否显示,前几天我在第一个视频评论区提到过。
还是没实现,我的电脑上两个桌面都能看到哦。就不另外放图了。

两个视频都三连了,代码仓库标星了,release1.0.0目前唯一一个赞也是我点的,真的很喜欢这个桌宠,期待下一个版本。XD

新功能建议

非常有意思的应用,感谢分享。建议增加一个小功能:鼠标左键把桌宠拽起来,放到其他位置。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.