Scroller Question
by rmullen · in Torque Game Builder · 04/04/2007 (3:17 pm) · 5 replies
Hi. There is probably a really easy solution to my problem, but i'm totally frustrated trying to figure it out. Hopefully someone can help me. Here goes:
I set a background image in my scene, its a "scroller" object. I told it to scroll vertically. It does this, but there are these huge white gaps between the instances of the image. How do i get rid of the gaps?
Thanks.
I set a background image in my scene, its a "scroller" object. I told it to scroll vertically. It does this, but there are these huge white gaps between the instances of the image. How do i get rid of the gaps?
Thanks.
About the author
#2


As you can see in the first example, the starfield background image. This is what i want to scroll vertically. But as you can see in the second image, when i tell it to scroll, there is a huge white gap. Any idea how to overcome this?
04/05/2007 (6:13 am)
I'm sorry, I don't really understand the question. Let me post some pics to show you the problem.

As you can see in the first example, the starfield background image. This is what i want to scroll vertically. But as you can see in the second image, when i tell it to scroll, there is a huge white gap. Any idea how to overcome this?
#3
Check the size of the background image.
I think that it should be power of 2 (for example, 128x128, 256x512, etc.).
Bye,
Jacopo
04/05/2007 (7:54 am)
Hi.Check the size of the background image.
I think that it should be power of 2 (for example, 128x128, 256x512, etc.).
Bye,
Jacopo
#4
04/05/2007 (9:23 am)
That did it! Thanks!
Ricardo Vladimiro
Default Studio Name