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 Ransome

Hi all, putting this here on the off chance someone else has experienced this and was able to resolve it. I loaded the forestground tilesheet from this page:

http://opengameart.org/content/the-mana-worldforest-tileset

into Weltmeister and gave it a tilesize of 32 with dimensions (32x24) (iPad). Everything looks good, I change my config file to zoom 1 because the tilesheet's a little big. But when I select a tile area and start to draw it draws from a different part of the tilesheet... so when I select a rock I get some grass. I haven't figured out the drawing pattern yet but it's bizarre. This is a fresh install of Weltmeister so if anyone could take a look who might know more than me that'd be awesome. I trimmed the blank space around the tilesheet thinking maybe that might be the cause but the issue didn't resolve. Thoughts?

1 decade ago by Hareesun

So wait a second. You’ve got a 32px sprite sheet that is 32x24? Each tile should be 32x32px and the tile-size for the layer you’re going to draw on should also be 32px. See the attached image to see it working for me.

If you can’t get it working can you look at the console in Safari or Chrome and paste that here, that might help :)

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

1 decade ago by Ransome

Thanks for taking a look Hareesun. I made a video here. In this video it seems sometimes it grabbed the correct tile and sometimes it didn't.... I'm not sure what's going on. Sorry for the large filesize.

http://www.clumsyfingers.net/misc/tiles.mov

Notice I changed the dimensions (which I thought were simply to set a boundary for the tiles, as they seem to size the white box based on the tile dimensions) but the problem still remained. :\

I think we're going to go with non-tiled backgrounds, but we may use some tilesheets for objects. I haven't played with many other tilesheets so it's possible it's just this one?

1 decade ago by Hareesun

Okay, that video kind of helped. Couldn’t see around the watermark too well ;)

Anywho, have you tried making a layer that has the dimensions 1x1 so that you can only draw one tile on it?

Otherwise, do this and paste here if there’s anything in the console.

The problem could be…
1 - Incorrect color-space (or something, it’s early (i’m tired))
2 - Some sort of crazy chrome-related bug (unlikely)
3 - Some other form of crazy misunderstanding.

We will get to the bottom of this.

1 decade ago by Ransome

Well, I didn't find anything in console and it didn't seem like 2 was very likely since this was happening on more than just Mac. After working with a couple of other tilesheets, I found that Weltmeister really really likes it when your tilesheet image size is divisible by your tilesize. Investigating the sheet in question, while the tiles themselves are 32x32 there was some transparent space off to the right that was making the image size not cleanly divisible by 32. I cropped this off and the tilesheet works beautifully now.

Thank you Hareesun for being so diligent in looking at the problem with me :)

1 decade ago by dominic

Yes, the size of your tileset image must be a multiple of your tilesize.

Sorry for not mentioning this in the docs ( I updated it now) - it's one of those things I took for granted, because I know the source in and out.
Page 1 of 1
« first « previous next › last »