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 小時 42 分鐘
30 天內合併 PR
271

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

GCWing/OpenBitFun 的其他 Issue

查看 GCWing/OpenBitFun 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。