Game Development Community

Scrolling tilemap background

by Steve Nolet · in Torque Game Builder · 05/26/2006 (11:50 am) · 5 replies

I have tgb beta4 and I don't know how I can make my tilemap scrolling and looping in background. How can I do that ? I don't want to use one big image to scrolling and looping in background.

#1
05/26/2006 (3:01 pm)
Just make the seamless image file 512x512 (Power-of-two e.g. 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096). I use png.

If you dont use power of two you will have white space in the scroll image.

Drag and drop from the Scroller section on the Create Panel.

Click Edit Tab with background selected.

Open Scroller Section and set your scroll speed.

That it. I hope this help. I know you ask about tilemap but this might help.
#2
05/26/2006 (4:23 pm)
Take a look at the scroller demo. That should contain exactly what you want.
#3
05/27/2006 (11:30 am)
Tanks, I will check that after the weekend :)
#4
06/01/2006 (10:54 am)
I have try to use a imge file 512 X 1024 and now it's work. Tanks for your help :)
#5
06/01/2006 (11:29 am)
Any thing with the power of 2 should work.