Since these tiles are modular, wouldn’t it be easier and more efficient to use tile maps? I feel like they aren’t too complicated and could be useful to learn, instead of just placing sprites everywhere.
Yeah, I made a tile map for the walls. I kept the rocks as game objects because you kinda had to use the entire thing rather than using it like a tile map. To the tile map I added:
Tilemap Collider 2D
–checked Used By Composite
Composite Collider 2D
Rigidbody 2D
–Changed to Static
I agree using a Tilemap is worth it. Enough sprites have been supplied to create a RuleTile too.
Some extra notes:
TilemapCollider2D, CompositeOperation = Merged
ComposideCollider2D, GeometryType = Polygons
Grid, Cell Size X=2, Y=2
I guess in the last two months they changed the Composite functionality away from a checkbox to a dropdown
Also default geometry is Outlines. With this coins will appear inside the walls if the OverlapCircle test is completely inside.
Grid Cell Size simply allows the default sprites to place nicely.