How are retina assets handled?

Hey everyone,

I have a quick question: how are retina assets (@2x, @3x) handled on both iOS and other targets?
Is this automatic? Do I have to create and import assets at the maximum resolution and then these will get resized to create different ones?

Thanks,
Gianmichele

I would guess that is not something Defold handles differently, since it uses OpenGL to render and not iOS layouts and widgets. If you import a sprite that looks good on a @3x device, then the renderer should pick the most appropriate size if you have mipmaps enabled for that sprite texture.

At least that’s my theory :slight_smile:

3 Likes