2D Toolkit Forum

2D Toolkit => Support => Topic started by: Dipanker on October 25, 2013, 03:04:05 pm

Title: Larger Background
Post by: Dipanker on October 25, 2013, 03:04:05 pm
Hi
   I have an image of about 1600*5296 which I am using in my game as map user can zoom in and out scroll around the map. My problem is how to make a sprite of larger image? I tried by dividing the image 3-4 sprites, I kept the sprite in my game as map/background but when I scroll/move camera above map some sorts of line is visible which shows that sprites is joined which I don't want to be seen. So is there any possible way to keep the larger images as background/map?
   Thank you.
Title: Re: Larger Background
Post by: unikronsoftware on October 25, 2013, 03:07:19 pm
The largest texture Unity can import is 4096x4096. You will have to split it up into chunks, and make sure there is a little bit of overlap between them to reduce seams. Set the padding mode to extend to make sure its correct at the edges, but you almost certainly will need overlap.