Graphical issue with tile seams
by Mark J A Smith · in Torque Game Builder · 03/14/2008 (2:50 pm) · 3 replies
I hope this is the right place to post this problem I'm having! If not, feel free to move it where it should be, thanks! Now on to the problem...
Note: I'm using TGB 1.6
I've got some tiles that represent the grass for my game, and I've arranged them in a .png that is 3 tiles wide, and 4 tiles high. Each tile is 100 x 100 pixels, for a total image size of 300x400. When I create a tile layer in the editor, and place multiple solid green grass tiles beside one another, I get a horizontal darker green line at the seams where the tiles join. Here's an example:

For some reason that dark line is showing up between solid green tiles. The original tilemap image (.png) looks like this:

Is there something wrong with a blending mode, or should I not arrange the tiles like that, or is it something else entirely? The solid grass tile is the one in the lower left of the image.
I'm trying to get past this problem before I bother creating all my other tilesets, because I don't want them to have similar problems. Thanks for any advice that anyone can offer. If it would be helpful for me to post the project itself so that someone can download it and have a look, just let me know. Thanks!
Note: I'm using TGB 1.6
I've got some tiles that represent the grass for my game, and I've arranged them in a .png that is 3 tiles wide, and 4 tiles high. Each tile is 100 x 100 pixels, for a total image size of 300x400. When I create a tile layer in the editor, and place multiple solid green grass tiles beside one another, I get a horizontal darker green line at the seams where the tiles join. Here's an example:

For some reason that dark line is showing up between solid green tiles. The original tilemap image (.png) looks like this:

Is there something wrong with a blending mode, or should I not arrange the tiles like that, or is it something else entirely? The solid grass tile is the one in the lower left of the image.
I'm trying to get past this problem before I bother creating all my other tilesets, because I don't want them to have similar problems. Thanks for any advice that anyone can offer. If it would be helpful for me to post the project itself so that someone can download it and have a look, just let me know. Thanks!
#2
11/01/2008 (11:17 pm)
I also have this problem and I'm using TGB 1.7.4 but I don't see anywhere in the roll outs that I can specify the tile size. Is there a place in script that I should be defining the tile size?
#3
11/02/2008 (1:05 am)
When you import the full image and change it into cells, you can specify the size of each cell.
Torque Owner Stephen Howe
a) I specified a tile to big/small by one pixel.
b) had padding turned on.
BTW, you have a line in your "original" map too.
so you could have the set of tilemaps shifted by 1 pixel in the original file & that could be throwing it off.
(edited to put yellow in background to make error easier to see)