Create rounded slider?

0 favourites
  • 4 posts
From the Asset Store
slide the tiles to fill the board.60 awesome levels.
  • Can anyone offer a suggestion for masking a set of objects or a layer?

    I'm trying to set up a rounded slider control shown in the screenshot. I need to make the rounded corners of the mask object (9-patch) transparent while at the same time masking the slider objects so the slider thumb appears rounded. I've tried dozens of blending combinations and enabling "Force own texture" of the layer, but I can't find the right combination of settings to get this to work.

    Any suggestions?

  • 3 sprites all on 1 layer. Set this layer to Force own texture.

    Essentially 2 edges, one that's long & can cover bar - fill them a solid color. Set Destination out for the 2 edges.

    blue bar is just a bar no special settings.

    This will explain it in more details:

    Subscribe to Construct videos now
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • winstreak Thanks so much. Assigning the Destination Out blend mode to the mask and making the mask the top-most object on the layer was the solution. I went through all the blend modes a thousand times, not sure why I didn't stumble upon that result. Thank you.

    FWIW, I only need to use a single mask object in my case, since the top edge of the slider thumb object is flat (not rounded). Tracking touch to change the height of the thumb works well.

  • Glad it worked for ya ;D

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)