i have a little game running with some gameobjects.
I want to add a semi-transparent layer over all content while placing moving circular “cutouts” in which the content can be seen without overlay.
I think i need to solve this with masks. Unfortunately I am totally new to game development and do not know how to apply them.
While demos like this look promising,
I fail to adapt it to my situation.
- Outside of the mask, I need semi-transparency. Does this need i have to create a full screen mask with “grey” values and a black circle? How would I do this?
- The mask is only being applied to a single game object. Does this mean I have to add the mask to every single of my objects? Or maybe in a container? What would the performance indication of something like this be?
- Is it possible to create the Circle as shown with phaser shapes or is the “gradient edge” not arcivable?
Whats the simplest and especially most performant way to get my “overlay with holes”.