Device Pixel Ratio and High DPI setting

Hi! I’m starting to learn Defold and want to make my first project.
I want my game to work on any aspect ratio and resolution and scale to fit. I want a HTML5 build that can be used from desktop and ios/android

i got the scaling working and everything. But when i bundle it to html5 and use it on my iphone, its very blurry.
i can fix this the following way: Enable High DPI in game.project, and half the zoom value of my camera. then its crisp.

The issue is, on non high-dpi devices its now scaled wrong.

tl;dr
Is there a way to apply different camera zoom levels, depending on the device pixel ratio?

Did you try this settings?

It helped me to fix blurry image

since my game is not a pixel retro game, this results in very jagged edges. the core issue is the resolution/scale the sprite gets rendered on my phone.
but thanks anyway :slight_smile:

Today’s phones have high resolution and DPI. You probably have to use 2x sprites and scale them to half.

yeah, but its not only the sprites that are blurry, also the physics debug shapes and other non-sprite-visuals are low res. also the sprite is already high resolution enough for the high dpi screen