Announcement

Collapse
No announcement yet.

Display bug?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Display bug?


    Hello, I'm having a display problem:

    Click image for larger version

Name:	IMG_20180514_085312 - Copie.jpg
Views:	1
Size:	2.20 MB
ID:	63467

    In software :

    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	8.8 KB
ID:	63468


    My images are transparent though.

    How to make my images do not take the color of the background.

    Thank you

  • #2
    Hello,

    It isn't a display bug. Transparent images will be rendered into the background, not an object, so in your example you have a background set and then you have an object with the Ball title and then images on top of the object.

    To make this work as it is you could set the transparency colour to the colour of the background and then switch transparency on when drawing the images and then off when finished.

    Code:
    gfx_TransparentColour(0x0020);    // Set to background colour
    gfx_Transparency(ON);             
    // draw images
    gfx_Transparency(OFF);
    Best regards

    Paul

    Comment


    • #3
      Thanks you very much, that works great

      Comment

      Working...
      X