Partial transparency, chromakey, and opacity!


This update brings a lot of novelties!

  • There is now a function that enables per-pixel partial transparency!
    The GIF that you should be seeing above uses it to create a stylized character that can walk around on your desktop. “desktop_friend.zip” is the executable for it and “desktop_friend.yyz” is the source code.
    Shoutout to Penzilla for the character sprite. Kind of hard to find a neat non-pixelart character for this sort of showcase, believe it or not.
  • There is now a function for chromakey transparency!
    It’s a cheap, simple option to complex shapes with sharp edges.
  • There is now a function to adjust window alpha!
    This is a simple multiplier that works with other functions.

Files

window_shape_demo.zip 2.4 MB
Version 1.1 Jun 05, 2024
desktop_friend.yyz 467 kB
Version 1.1 Jun 05, 2024
desktop_friend_demo.zip 2.5 MB
Version 1.1 Jun 05, 2024
window_shape (for GMS2.3 and GM2022+).yymps 31 kB
Version 1.1 Jun 05, 2024
window_shape_demo.zip 2.4 MB
Version 1.1 Jun 05, 2024
desktop_friend.yyz 467 kB
Version 1.1 Jun 05, 2024
desktop_friend_demo.zip 2.5 MB
Version 1.1 Jun 05, 2024
window_shape (for GMS2.2).yymp 28 kB
Version 1.1 Jun 05, 2024
window_shape (for GMS1.4).gmez 22 kB
Version 1.1 Jun 05, 2024

Get window_shape for GameMaker

Buy Now$4.95 USD or more

Comments

Log in with itch.io to leave a comment.

(2 edits)

I was just about to ask if we can draw effects where it's transparent, aka there's "No Window", then i seen this... Great Work Man!
How exactly does the per-pixel transparency work?
Say for example I wanted to use Fluid Dynamics
WhAT EXTRA STEPS if any are there?
(NOTE2selfBUY WHEN I HAVE MUNNY )

(+1)

I explain the caveats in the documentation - you can do whatever you want so long as you draw things correctly (if you don’t, it’ll still work, but the edges will look funny).

brill, i'ma see what i can make with it..