Example Project has been tested and works as is on the following platforms:

  • PC
  • Mac
  • HTML5
  • Android

Example project is littered with comments, but if you have any questions, leave a comment or shoot me a message on Discord.

If there are enough questions, I'll come back here and put up a FAQ / Tutorial.  For now, hopefully the example project is self explanatory enough.

Rated 5.0 out of 5 stars
(3 total ratings)
AuthorPixelated Pope
Made withGameMaker
TagsGameMaker, Shaders, silhouette


Download NowName your own price

Click download now to get access to the following files:

DepthSortedSilhouettes.yyz 203 kB


Log in with itch.io to leave a comment.

You are a life saver 🙏

what happen if you use a texture instead of coloring the silhouette? i mean, with a different sprite like a bayer one?

I'm not sure what a "bayer" is, but you could probably make it work. You have full control over how the silhouettes draw to the screen. It doesn't even have to be the same sprite if you don't want. Right now it just calls draw_self() for those objects, but you could make it run any code.

Is there a way to do this with both objects and layers? Or, would it just be better to stick with objects?

It would be EXTREMELY difficult to do this with layers.  Anything is possible, but if it were me, I would do everything in my power to only use objects.

I figured as much. Thanks for the quick reply!


This is awesome!!