Hammerwatch

Hammerwatch

View Stats:
Taylor Nov 19, 2016 @ 7:47pm
Giving Collision to Tilemap
Is there a way to give collision to a tilemap? I'm trying to create a shoreline in my level, and I would live to give the default water tilemap collision, so players can't walk out onto the water.

I can create a water-looking doodad with collision, but the shoreline is kind of jagged and I would have to place many, many doodads (like hundreds) if I want the collision boxes to accurately reflect the shoreline. I've tried slotting in the collision code for the water tilemap and it doesn't seem to work as expected.

Any help would be appreciated.
< >
Showing 1-2 of 2 comments
hipshot  [developer] Nov 20, 2016 @ 2:49pm 
Sorry no, you can't. You need to take doodads and make them invisible. It sucks, but that's kinda how you need to do it.
Taylor Nov 21, 2016 @ 10:51am 
Originally posted by hipshot:
Sorry no, you can't. You need to take doodads and make them invisible. It sucks, but that's kinda how you need to do it.

Thanks for the information! I just wanted to make sure I exhausted all my options before I spend all this time fabricating collision with invisible doodads :P
< >
Showing 1-2 of 2 comments
Per page: 1530 50