[反馈] 桌面伙伴建议支持尺寸调节;动画为差分切图,动作偏僵硬
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
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 角色
- 桌面伙伴无法调节大小--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+滚轮更佳),并持久化;缩放后气泡位置与点击命中区域要跟着走。 - 动画偏僵硬
•现象:角色是差分帧切图(spritesheet),帧与帧之间没有补间,动作起止是硬切,呼吸、眨眼、尾巴摆动看起来一顿一顿的。
•期望:关键动作加过渡(补间/easing),循环动作做插值或提高帧率/补帧;另外,若 Petdex 角色包能声明缩放倍率或多分辨率图集,社区角色放大后也不会糊——这点和第 1 条是连着的。
- 主要语言
- Rust
- 星标
- 2.3k
- 派生
- 236
- 平均合并
- 3 小时 47 分钟
- 30 天内合并 PR
- 264
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GCWing/OpenBitFun 的其他 Issue
-
[Feature]: 模型服务表单缺少「图像生成」分类入口 —— 后端已支持 default_models.image_generation可能已有人在做 @skyfireitdiy 于 2 天前认领。 未关闭
难度 2/5 半天 新手友好度 74/100
GCWing/OpenBitFun#3279 · 1 个 reaction ·
维护者通常 1 天内回复
-
[Bug]: 界面写“敏感诊断信息默认关闭”,但后端配置当前实际默认是 true可能已有人在做 @xiechimon 于 24 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
GCWing/OpenBitFun#3213 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
GCWing/OpenBitFun#2363 ·
维护者通常 1 天内回复
-
question
难度 1/5 1 小时以内 新手友好度 78/100
GCWing/OpenBitFun#2340 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
GCWing/OpenBitFun#3435 ·
维护者通常 1 天内回复
查看 GCWing/OpenBitFun 的全部 Issue
相似的 Issue
-
bug documentation sev-0
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
dekobon/big-code-analysis#1620 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
-
bug soroban
难度 2/5 1-3 小时 新手友好度 68/100
utilityjnr1/lumena#358 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
charles-hood/DiagramCraft#63 ·