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

Some bundled smooth art has no @2x version and looks soft at 1.5x and 2x

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

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
lua

调研方向

Start by locating the listed panels/__default assets, the Modern default stage background.png, and the named [email protected] sheets; check how the game loads and scales these images. Add the suggested higher-resolution versions at twice their drawn dimensions, then verify they appear sharp at 1.5x and 2x window sizes.

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

描述

Some bundled art that isn't pixel art has only one image pixel per canvas pixel. In a window larger than 1280x720, such as 1920x1080 (1.5x) or 2560x1440 (2x), the game enlarges it and it looks softer than art that has a high-resolution @2x version.

Affected art

Art File size Drawn at Image pixels per canvas pixel
Panel Attack Classic panels (panels/__default): 57 panel images, garbage flash, 3 metal pieces 48x48, metals 24x48 same as file size 1
Panel Attack Modern default stage background.png 1280x720 1280x720 1
[email protected] for __default, Esme, Madam Q, Magellan and Rattles 96x96 per frame 96x96 per frame 1

The fade sheets are named @2x, but fade is drawn at 96x96 per frame (two panels), so they are 1x for what they draw. They need 192x192 frames to be sharp at 2x.

Already fine

  • The Modern combo and chain cards: 96x96 files drawn at 48x48.
  • The default telegraph images: 144x96 files drawn at 72x48.
  • Pixel art that is half its drawn size or smaller: it uses nearest filtering and stays crisp at any size.

Suggested fix
Add @2x versions at twice the drawn size: 96x96 panels and garbage flash, 48x96 metal pieces, a 2560x1440 background, and 192x192 fade frames.

Found while working on #768.

主要语言
Lua
星标
30
派生
20
平均合并
3 天 16 小时
30 天内合并 PR
14

环境准备

从这里开始

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

panel-attack/panel-game 的其他 Issue

查看 panel-attack/panel-game 的全部 Issue

相似的 Issue

更多 Lua Issue

把新 issue 发到你的邮箱

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