Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

If it's really just constant transparency (not a mask or gradient or anything), a pair of WinAPI functions can be utilized. I wrote a mini-post on the matter:

https://yal.cc/unity3d-window-alpha/


what about with game maker?

As far as I’m aware, no one has made a DLL to do this in GameMaker yet, but I could do one if you’ve got $20 or so.

i could absolutely pay for that. Im looking to replace the game maker window with a transparent character that can run around the screen. Is that doable?

That’s a different thing, which I already made.

cool! bought it. Is it graphically efficient to be changing the screen shape every frame?

If you create your polygon shapes in advance (e.g. using window_shape_create_polygon_from_path) and use window_shape_set_nc, the underlying Windows functionality is pretty performant - in my test with flipping between two different dinosaur-based shapes the operation takes between 0.5-1ms on average, which is more than enough to do this at 60fps.

so like if i had a surface it was using, it'd be okay?

Depends on what you mean by that