Game Development Community

Disappearing scene object when center of screen 0_0???

by Jereis Zaatri · in iTorque 2D · 09/04/2010 (7:37 pm) · 3 replies

For some odd reason there's a scene object that I'm using for the background that keeps disappearing every time the camera is center of it and I'm pulling my hair out trying to figure out why. To test the glitch, I set the camera to pan left to right and only once the camera is center to the image, the image dissappears and returns once the camera is off center again. The image is a png file that's 512x352. It is just a plain scene object with no scripting tied to it.

Does this sound familiar to anyone?

Here's the image:
https://docs.google.com/leaf?id=0B-Pc7rf6DeuhZDNhNWI4YmEtZWVlZS00MjU3LWFhMWQtMTA2Y2Y3YTVmODk0&hl=en&authkey=CP7ApqML

#1
09/04/2010 (10:14 pm)
I have had an object return no position in my level.t2d when it was at "0 0". Try moving it to "0.001 0.001" just slightly off. It may need to be told to be at 0 0 or just slightly off to register.
#2
09/04/2010 (11:08 pm)
I tried doing that, it didn't help. In the end I just recreated the image with a different resolution and file name and the problem went away and now I'm having a problem with the physics now. -_- .... iTGB is starting to become a headache...
#3
09/04/2010 (11:58 pm)
Yah I have run into a few kinks myself but I far from pulling the plug yet.