Game Development Community

iT2D 1.5 BUG: White lines appear when loading a level (SOLVED)

by Conor O'Kane · in iTorque 2D · 02/02/2012 (9:32 pm) · 3 replies

Platform: iPad 1st generation.
Version: 1.5 (this bug was not present in previous versions)

Description: Sometimes when loading a level a 1 pixel white line is seen on the right and bottom of the screen. This issue is intermittent and doesn't always appear.

To see an example of this bug, download this game:
itunes.apple.com/us/app/the-last-flight-of-the-bumble/id491848947?ls=1&mt=8
and play it on an iPad.

This is the script I'm using to load the level:

sceneWindow2D.loadLevel(expandFileName("~/../data/levels/BeeGameTitle.t2d"));

Which is the same as I've always used in previous versions of Torque, but this is the first version where I've seen these white lines.

#1
02/03/2012 (11:02 am)
Odd, never ran into that during testing but I am seeing here on my iPad. I'll have to get Mich try it a bit later to see if it happens on the iPad 2 at all.

Could be something related to an empty scenegraph being rendered during the loading.
#2
02/05/2012 (9:45 am)
I found this and it's not a bug.

Go into your profiles.cs and change the border to false and/or borderColor for your GuiControlProfile or GuiDefaultProfile. This line was never visible for me while doing regular iPhone but it showed up on iPad and iPhone4 retina. Let me know if you can't find the right one - I'll go back and comb the git log a bit finer.
#3
02/05/2012 (4:41 pm)
Joe - that's great news, thanks for the solution!