Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[反馈] 桌面伙伴建议支持尺寸调节;动画为差分切图,动作偏僵硬

未关闭
#3,415 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
css, rust
领域
desktop, frontend

调研方向

Start with the hard-coded 96px sprite size in the --openbitfun-agent-companion-pet-width and --openbitfun-agent-companion-pet-height CSS variables, and with the resize_agent_companion_desktop_pet call that sets the window size from content. Then find the desktop companion settings under Settings → Apps → Desktop Companion and the right-click menu. Done means a persisted scale option whose sprite, speech bubble and click hit area all move together. The animation smoothing part is a separate request and should be split out.

由索引模型根据 Issue 内容生成。

描述

环境:OpenBitFun 1.0.5,Windows 桌面端,1920×1080 / 缩放 100%;角色为内置 Petdex 角色

  1. 桌面伙伴无法调节大小--Petdex 自家的桌面应用(Petdex Desktop)设置里就有一项Appearance → Scale the sprite(精灵缩放)
    •现象:找不到任何放大/缩小伙伴的入口,只能忍受默认尺寸。
    •已排查:窗口没有可缩放边框(不含 WS_THICKFRAME),拖不了;窗口宽度由内容计算(纯宠物态 96×110,带气泡最宽到 360),页面自己调用 resize_agent_companion_desktop_pet 回设尺寸;宠物精灵是硬编码的 96px(CSS 变量 --openbitfun-agent-companion-pet-width/height);右键菜单只有「切换角色」「关闭伙伴」;设置 → 应用 → 桌面伙伴 只有启用开关和角色选择。
    •期望:提供尺寸/缩放选项(小/中/大 或滑杆,支持 Ctrl+滚轮更佳),并持久化;缩放后气泡位置与点击命中区域要跟着走。
  2. 动画偏僵硬
    •现象:角色是差分帧切图(spritesheet),帧与帧之间没有补间,动作起止是硬切,呼吸、眨眼、尾巴摆动看起来一顿一顿的。
    •期望:关键动作加过渡(补间/easing),循环动作做插值或提高帧率/补帧;另外,若 Petdex 角色包能声明缩放倍率或多分辨率图集,社区角色放大后也不会糊——这点和第 1 条是连着的。
主要语言
Rust
星标
2.3k
派生
236
平均合并
3 小时 47 分钟
30 天内合并 PR
264

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GCWing/OpenBitFun 的其他 Issue

查看 GCWing/OpenBitFun 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。