Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by carlos_moreira

Hello,

I am having some problems with my tile-sets in weltmeister.

I have create an image, (Found an image) and moved things around in photoshop to my liking in a 16x16 Grid.

When I click on a tile to start "Painting", for some reason the tile I clicked moves to the left. Like it thinks I clicked a different tile.

I've added an image to try and explain better what I mean.

The "Green" is what is already selected and used for painting and the orange is what I am hovering over. But how does it move 1/2 a block? Sometimes even more.

/>			</div>
		</div>
			<div class=

1 decade ago by dominic

I suspect the tileset image is not a multiple of 16!? Please post the tileset image and I'll have a look.

1 decade ago by carlos_moreira

Thanks allot.

Graphics are not my strong side. I just open Photoshop and i'm lost.

http://www.geekifymycode.com/img/tilesettest.png

1 decade ago by dominic

Well, the image is 150x150px and the tilesize seems to be 20px not, 16px. It's all a bit blurred, somehow. Maybe you scaled it up by accident?

Make sure the tilesize is correct and the image width and height are a multiple of the tilesize (no extra pixels at the edges).
Page 1 of 1
« first « previous next › last »