How do I make a hole in objects in front of my player?

0 favourites
  • 4 posts
From the Asset Store
Players follower. use it for anything which follows the player
  • Hello, I'm trying to make an effect that will cut hole through objects that are in front of my character. The idea is to have the player go behind a wall and still see the player and some stuff around. A similar effect to what I'm looking for is like the original Fallout, where the ceiling and walls get "cut through" by a bubble of sorts.

    Like this ^

    Hope I explained exactly what I'm looking for, I'd appreciate any help you could give me! :)

    Tagged:

  • You can do this with blend modes:

    https://editor.construct.net/#open=blend-modes
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • HA, not even 10 minutes late and I figured it out. You need to make a sprite shaped in how you want to cut the hole. Set the blend mode to destination out. Finally, set the sprite's z order above the objects you are trying to cut through. Anything you don't want to cut through needs to be below the sprite.

    Hope this helps you.

  • You can do this with blend modes:

    > https://editor.construct.net/#open=blend-modes
    

    Dang, just figured it out too. I knew I had to use blend modes, but I wasn't sure exactly what to use.

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