Fog of War

Hey guys,

how can I create a dark background with the gameobject graphics with some holes (circles) inside?
Like https://samme.github.io/phaser-examples-mirror/bitmapdata/fog%20of%20war.html

display/masks/BitmapMask Alpha

You would mask the background and any other objects as well.

Hey, I just found a really nice post about Fog of War with Phaser 3

1 Like