Hi,
I know this has probably been discussed before but I can't seem to find the post, I have these adjacent textures, and sometimes black lines show between them. How do I remove them?
--
MI
A fast, easy to use, free, and community supported 2D game engine
Hi,
I know this has probably been discussed before but I can't seem to find the post, I have these adjacent textures, and sometimes black lines show between them. How do I remove them?
--
MI
Hmm do you mean like 2 images scrolling background?
If yes, and say these two images are 320x480 scrolling from top to bottom, just make both images 320x482.
I'm sorry if I didn't quite understand what you are looking for, please elaborate.
no no, I have a game whose background is generated through code using
different tiles (no scrolling background). and I can see some black lines
between some of the tiles, how do I remove them.
--
Ishaq
http://blogs.kahaf.com/ishaq
- Programming can be fun, so can be cryptography, however they should not be
combined ...
On Tue, Jul 21, 2009 at 3:37 PM, <cocos2d-iphone-discuss@gamesforfood.cl>wrote:
> natanavra says:
>
> Hmm do you mean like 2 images scrolling background?
> If yes, and say these two images are 320x480 scrolling from top to bottom,
> just make both images 320x482.
>
> I'm sorry if I didn't quite understand what you are looking for, please
> elaborate.
> Read the whole thread<http://www.cocos2d-iphone.org/forum/topic/796#post-4742>.
>
no no, I have a game whose background is generated through code using different tiles (no scrolling background). and I can see some black lines between some of the tiles, how do I remove them.<br clear="all">--
Ishaq
- Programming can be fun, so can be cryptography, however they should not be combined ...
<div class="gmail_quote">On Tue, Jul 21, 2009 at 3:37 PM, <span dir="ltr"><cocos2d-iphone-discuss@gamesforfood.cl></span> wrote:
</div>natanavra says:
<p>Hmm do you mean like 2 images scrolling background?
If yes, and say these two images are 320x480 scrolling from top to bottom, just make both images 320x482.</p>
<p>I'm sorry if I didn't quite understand what you are looking for, please elaborate.
</p>Read the whole thread.
http://www.cocos2d-iphone.org/wiki/doku.php/tips:generic#tilemapatlas_gaps_between_tiles
That should be what you're after.
If not, searches for "tilemap","gaps" and "artifacts" might help.
Also, enabling 2d projection might fix it.
Thanks, this is exactly what I was looking for, but search for black border, black seam, lines in adjacent tiles didn't yield anything ;)
--
MI
Malik, does this thread answer your question:
http://www.cocos2d-iphone.org/forum/topic/751
which version of cocos are you using?
hi codemattic,
may be I didn't make myself clear in previous post, the problem has been solved, I only mentioned the (wrong) tags I was using to search (which I have added to this post)
--
MI
me and my poor reading comprehension, sorry ;)
You must log in to post.