Brush size prevents Rules Tiles from working

So, as Rick suggested at the beginning, I decided to give outside assets a go for this course. Started out excited, as I really like the assets I found, but when it got to rule tiles, I noticed a glaring issue. The objects in the sprite sheets from the assets I’m using aren’t all perfect square shaped tiles; for instance one is a walkway that is 5x3 on the tilemap grid. The issue that’s resulting in is that in order to create a cohesive path, the next tile needs to be placed 3 tiles away on the grid, resulting in rules tiles failing to operate properly. I am likely just going to download the assets provided for the course and start over from the top, but I’m bummed I couldn’t get outside assets to work properly and would love to know if there’s a way I can fix the issue, maybe by increasing the brush size or something I missed.

Also, unrelated to the rules tile issue, note that the connecting pathway section that is meant to connect the support sections floats lower than the support sections. Any way to fix that?

Hi,

Given the sprites on the spritesheet were created for a square tiles, you will probably be able to solve your problem by slicing the spritesheet accordingly. In the Texture Import Settings of your spritesheet, use the “Point” filter mode.

To get your 5x3 sprite, you could define tile rules combining your single tiles/sprites.

None of that did anything, and the sprites on the spritesheet weren’t all created for square tiles. Maybe I didn’t explain it well. In the previously posted screenshot, the “bridge” piece with the supports on it, with the white square highlighted in the center, is one sprite. A 5x3 sprite, but the brush creating it is a 1x1 tile in the center of the sprite. the floating piece in between the two bridge pieces, is also one sprite. A 3x3 sprite, with the brush being 1x1 in the top middle of the 3x3 grid the sprite takes up. Due to the single brush grid in the center of the larger sprite grid, in order to line the sprites up properly the brush tiles must be 2+ grid spaces apart, making tile rules impossible as every tile is adjacent to no other tile in any direction. The floating piece also does not float on the same elevation as the bridge pieces, despite being elevated the same on the sprite sheet. Also, you say to “slice accordingly”. I’m gonna need you to elaborate on what “appropriately” means, my understanding of slicing is limited to what I was shown in the course and none of it works here. Here is a screenshot of the sprite sheet.

From what I see in your screenshot, the elements are not sliced correctly. You have to slice them like this:

image

image

Obviously, the red lines are supposed to be a sketch. You will have to slice the elements precisely. The squares must have the same size.

Given the artist worked with a grid, you should be able to slice the sprites this way. If that’s not possible, the artist didn’t intend the sprites to be used on a grid such as a tilemap grid.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms