Search Unity

Question 2D Custom Tiled-Sprite Shaping

Discussion in '2D' started by bensearle103, Aug 18, 2020.

  1. bensearle103

    bensearle103

    Joined:
    Aug 18, 2020
    Posts:
    3
    Hello, any help with my problem would be appreciated:

    In my (2D) game I have need for a dynamically-made, shaped trigger area, with a tiled sprite filling its background. The shape of these triggers/colliders will not necessarily be box-like, they can be polygons of any kind.

    I need to tile a sprite neatly within the trigger area, and then add a boarder to this area if possible.

    I've photoshopped an example of what I'm aiming for:
    https://imgur.com/F4LZl2Q
    spritetileexample.png

    Much obliged.