Game Development Community

Scrolling image problem

by Steven Hine · in Torque Game Builder · 04/19/2008 (9:18 am) · 2 replies

This may have been asked before, but GG's search is not the best so here's my question...

When I scroll an image there is a white spot before it repeats. How do I get rid of this?

TIA,
Steve

P.S. Because images are saved in memory in a effecient way, the white space is probably the extra memory used when loading image. I think that istead of scroling just image, tgb is scrolling memory of image. Any other ideas??

#1
04/19/2008 (1:59 pm)
The dimensions of a scroller must be in powers of two and can have different X, Y values (i.e. 256 x 512, 1024 x 2048).
#2
04/19/2008 (6:08 pm)
Ah, thanks. I changed my images to squares by 2's and they worked just like you said.

Steve