Game Development Community

iT2D 1.5.1 preview BUG: Transparent images have a white border on retina devices

by Conor O'Kane · in iTorque 2D · 07/08/2012 (7:55 pm) · 3 replies

This is a screencap of my game's menu screen on iPad 3. Notice the indicated white lines around some images. It doesn't appear on all images. I've tried turning filter-pad on or off. I've tried moving the images by 1 or 0.5 pixels, nothing seems to get rid of these. It's particularly bad for images set to additive blending as the white lines add and become more apparent (see the bright lines on the far right, which are part of the colored glow behind the text).

i.imgur.com/BbmQ7.png
Here's another example from an older game, made with iT2D 1.3, as it appears on an iPhone 4. Notice the white line next to the word Start, this doesn't appear on iPhone 3GS.

i.imgur.com/a7UJN.png

#1
07/11/2012 (8:32 pm)
Hey Conor -

Are those gui elements or images in your level? If they're gui elements don't forget there's a strange border property you need to change in profiles.cs.
#2
07/11/2012 (9:27 pm)
Joe - these are regular t2dStaticSprites, not GUI elements.
#3
07/11/2012 (9:44 pm)
Darn, I was hoping for an easy fix :(