Masking LIne Art

0 favourites
  • 1 posts
From the Asset Store
solution for games like "fruit ninja" and drawing applications
  • I have a game that uses line art kittens, which means that their interiors have no fill. I am making a whack-a-mole type game where you whack the kittens as they pop up. Te game is designed to be played within an iframe with transparency, so that it looks like line art on the parent page on which it is loaded. Because I have no fill, I am running into two problems:

    1. I can see the cats that pop up behind other cats.

    2. I can whack the cats in the back(lower layer order) from inside the cats in the front(higher layer order.)

    I know that I could fix this by simply adding a fill, but I want the final game to look like hand drawn art on the page. Is there a way to give each cat a mask that hides whatever is behind it (or is lower in the layers panel)?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)