You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Ok, so I guess my question then is: do you mean to pre-create 3x sprites? If so, where do we draw the line, given that Android has higher ratios as well as non-integer ratios?
@kkaefer Hmm how much of a code size burden will SVG + AGG be?
But I do aggree vector sprites is the correct way to future proof this. I would not be surprised sooner or later a 4x phone will come out with a 4k screen or something crazy.
Activity
incanus commentedon Mar 17, 2015
IIRC from chat, we want to scale these up on the fly from 2x, right?
kkaefer commentedon Mar 17, 2015
We are currently doing this, but they're, well, scaled up.
incanus commentedon Mar 17, 2015
Ok, so I guess my question then is: do you mean to pre-create 3x sprites? If so, where do we draw the line, given that Android has higher ratios as well as non-integer ratios?
friedbunny commentedon Mar 17, 2015
In the long term, it seems like moving to vectorized sprites is the way to fix this. SVG, fonts, PaintCode-esque procedural generation...
In the short term, it appears the official Android guidance is to have up to
xxhdpi(@3x) assets:Of course, there's a ton more complexity than "just use 3x!" when it comes to Android screens, but that looks adequate for now?
kkaefer commentedon Mar 17, 2015
Agree that we should use vector spirits and rasterize on the CPU, eg. With a stripped down version of agg
ljbade commentedon Mar 18, 2015
My HTC One and Sony Xperia Z3 both use pixel ratios of 3
ljbade commentedon Mar 18, 2015
@kkaefer Hmm how much of a code size burden will SVG + AGG be?
But I do aggree vector sprites is the correct way to future proof this. I would not be surprised sooner or later a 4x phone will come out with a 4k screen or something crazy.
stale commentedon Nov 25, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
friedbunny commentedon May 29, 2019
On the iOS side, it appears that roughly 30-40% of devices in use are
@3x, while four (of seven) of the iPhones that Apple currently sells are@3x.stale commentedon Nov 25, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon May 24, 2020
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.