Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

It would be for sure. There's currently an "erase" blend mode but it might not do everything you want it to do. I'll see if I can make that more useful!

(1 edit)

I did a quick UI mockup of how I think it could be implemented. I don't know if it's a good idea but I'll share it here anyways:

(+1)

I like it! I was thinking roughly along the same lines. Just gotta figure out how to implement the actual clipping :D

(1 edit)

Somehow I didn't notice the folder feature before and it's a gamechanger for the erase blend!!! I've just realized an inverted version of that blend called "Alpha mask" or something like that would be enough to make it more functional (and it would hopefully be easier to implement? I have no idea)

Edit: Nevermind, I thought folders would limit the layers that the erase blend would affect. I guess that would be its own request 😓

So I've been investigating SFML a bit and:

-Clipping masks have been requested for a long time and they seem to be coming to SFML3. The only workaround I found (if I'm not mistaken, It's all a bit confusing for me) is to make a custom GLSL shader. I also found this but I can't fully understand it.

-There's this tutorial that I think could be used to improve the layer blends to limit where to apply shadows, highlights, erase blend, etc. I think a checkbox for folders to turn them into groups individually would be useful.

Is any (or both) of these things possible?

Also, an unrelated request. Can we get an option to make the mouse tracking movement limits be elliptical instead of rectangular? Corners are a bit broken when using it for circular things like eyes or faces, although right now it's perfect for effects similar to SPUD tablet.

Either way, awesome job. The rate at which you add new features is awesome ^-^

(+1)

Thanks! Yeah, I can definitely do custom shaders, I've done those in SFML before. It's just a case of when I get time to implement it. Clipping layers (especially inside groups etc) will need a slight rewrite of the way layers are currently rendered.

I think I see what you mean about the mouse tracking. I'll add an elliptical option when I can!

(+1)

https://rahisaurus.itch.io/rahituber/devlog/831991/update-2024-11-11-v115-more-c...

Elliptical mouse tracking is done!