Jump to content

Change the type of terrain made around tiles.

Recommended Posts

If I lay down certain tiles it'll have this brown ground box around it so it blends into the ground. Other ones have the light blue around it to blend into the water. I want to be able to control what terrain surrounds each tile, cause I have these ice tiles I made but every time they go into the game they get those brown boxes around them that make them look like ground and not floating ice.


Help would be appreciated.

Edited by coolcatkim22

Share this post

Link to post
Share on other sites

That's a feature called 'autotiles'. Unfortunately it dosn't quite work in the way you might want it too. Autotiles don't really care what tile they are surrounded with, they only care if it's the same autotile or not. You can't have one autotile that blends into multible tiles. Though I think there might be some weird exceptions where two autotiles are counted as the same so they will never blend into each other, but I am not sure. Autotiles have some weird hardcoded behavior sometimes, so I wouldn't be surprised.


The other confusing thing is there are two 'layers' that autotiles are placed on depending on the tile: One for ground tiles (like grass or water) and one for stuff that goes on top of that (like trees, fences, pits, and so on). The annoying thing is what autotile is on what layer is hardcoded. I mean, theoretically you can put any tile on any layer, but there is no way to actually do that in the editor. Since the layers don't effect each other, if you put your floating ice tile on another layer it won't cause any borders.


There is a special trick to autotiles though that can help though: The shift key can be used to mess around with how blocks effect surrounding blocks if you need to. It's kinda hard to describe how it works, but in brief: Holding shift when placing blocks or pasting will disable 'autotileing' and make it so the black you placed doesn't effect or get effected by any surrounding blocks. Holding shift while copying means it will remember exactly how the blocks connect together so that when you paste it with shift held down it will create an exact copy of the region you pasted without changing how blocks connect. This means you can totally screw around and make crap like this:




I know it looks simple but it's totally impossible to have that kind of layered patterns without shift clicking.

Edited by Kayzee

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.