Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Downloads

  • SpriteMaskController.cs

Missing 1 full-res photo, 1 file, as this post has not yet been imported.

Content

Hey!

In this tutorial we will use Sprite Mask to make the player visible when behind obstacles.

You can find the script that we use in the attachment :)

I hope that you will find this tutorial useful!

-Peter

Files

Previews only

See the player behind objects in Unity 2D

In this video we will use Sprite Mask component to make the player visible when behind other objects. We will also ensure that we can see the mask only when the player is actually behind an object instead of constantly. Learn more about creating 2D games in Unity: https://courses.sunnyvalleystudio.com/ How to sort sprites using Y axis blog: https://www.sunnyvalleystudio.com/blog/how-to-sort-sprites-in-unity Patreon script link: https://www.patreon.com/posts/tutorial-project-72584271 𝗛𝗮𝘃𝗲 𝗮𝗻𝘆 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀? 𝗝𝗼𝗶𝗻 𝘁𝗵𝗲 𝗱𝗶𝘀𝗰𝗼𝗿𝗱! https://discord.gg/RQEtYHz 𝗣𝗟𝗘𝗔𝗦𝗘 support the channel: https://www.patreon.com/sunnyvalleystudio 00:00 Introduction #unity3d #gamedev #sunnyvalleystudio

Comments

No comments found for this post.