GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Shape Painter does not work on mobile devices if using high-quality anti-aliasing

Open fizzingpop opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

Describe the bug

Shape painter objects will not show on Android devices when exported if you select high-quality anti-aliasing. However low and medium-quality and no anti-aliasing still work.

Steps to reproduce

  1. Use a shape painter
  2. Set to high-quality anti-aliasing in the object
  3. Export to Android. It will not show up.

GDevelop platform

Desktop

GDevelop version

5.3.188

Platform info

Developed on Windows 11 Exported to Android

Additional context

No response

fizzingpop avatar Jan 27 '24 05:01 fizzingpop

Oh... that's probably something of my doing i'll look into it !

Oxey405 avatar Feb 12 '24 10:02 Oxey405

Could you provide some details about the phone you tested this on ? Is it an old phone (Like 4 years) ? Because it could very well be that your phone is just too old to support such levels of Anti-aliasing. It could also be a problem with the underlying rendering engine PixiJS. And if it's a problem with PixiJS, it's not something fixable in GDevelop code...

Oxey405 avatar Feb 12 '24 11:02 Oxey405

Could you provide some details about the phone you tested this on ? Is it an old phone (Like 4 years) ? Because it could very well be that your phone is just too old to support such levels of Anti-aliasing. It could also be a problem with the underlying rendering engine PixiJS. And if it's a problem with PixiJS, it's not something fixable in GDevelop code...

Galaxy A34 running Android 14 so not an old phone at all.

fizzingpop avatar Feb 12 '24 17:02 fizzingpop

Mhh weird... Can you try using other Anti-aliasing settings ?

Oxey405 avatar Feb 12 '24 21:02 Oxey405

Mhh weird... Can you try using other Anti-aliasing settings ?

Yes low and medium work fine. Only high does not, it makes the shape painter not appear at all.

fizzingpop avatar Feb 12 '24 22:02 fizzingpop

Mhh weird... Can you try using other Anti-aliasing settings ?

Yes low and medium work fine. Only high does not, it makes the shape painter not appear at all.

Ok this really looks like a renderer issue because the code for high and any other is literally the same...

Oxey405 avatar Feb 15 '24 19:02 Oxey405